SaxParser异常内容无法延长,Axis1.4 webservices客户端 [英] SaxParser Exception content cannot prolong ,Axis1.4 webservices client

查看:73
本文介绍了SaxParser异常内容无法延长,Axis1.4 webservices客户端的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我们使用jax-ws annoatation开发了Web服务并部署在Tomcat6.0服务器中。



我使用wsdl Axis1.4在eclipse中创建了Web Services客户端独立项目,并且在尝试调用Web服务时我遇到了异常。



Prolog SAXParserException中不允许使用内容





但是当我使用jax-ws wsimport工具创建Web服务客户端时,我可以调用。



请帮我解决这个问题。





谢谢

Raja

Hi all,

We have developed web services using jax-ws annoatation and deployed in Tomcat6.0 server.

I have created web Services client stand alone project in eclipse using wsdl Axis1.4 and while try to invoke web service I am getting below exception.

Content is not allowed in Prolog SAXParserException


But same I can invoke when I create web service client using jax-ws wsimport tool.

Please help me resolve the issue.


Thanks
Raja

推荐答案

请检查您的标签是否正确,打开标签和结束标签

ex:< webservice>,标签异常基本上是sax解析器异常上升
Please check u r tags are correct or not, open tags and closing tags
ex: <webservice>, basically sax parser exception rise for tag exceptions


这篇关于SaxParser异常内容无法延长,Axis1.4 webservices客户端的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆