使用 axis 在 Jboss 中调用 .NET Web 服务
我有一个调用 .NET Web 服务的 Java 程序 (.jar),它运行良好。对于另一个需求,我需要从 JBoss 中部署的 Web 应用程序调用此 Web 服务,我重新编写了之前已经测试过的相同程序,但仍然收到此错误消息:RemoteException;嵌套异常是: org.xml.sax.SAXException:SOAP 消息中不允许处理指令
知道我进行 NTLM 身份验证。
帮我
I have a Java program (.jar) that invok a .NET webservice and it works well. For another need, I need to call this webservice from a web application deployed in JBoss, I remade the same program already tested before but still I get this error message: RemoteException; nested exception is:
org.xml.sax.SAXException: Processing instructions are not Allowed Within SOAP messages
Knowing that I do NTLM authentication.
Help me
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这里没什么可说的,但如果我理解正确的话,当您使用 .NET Web 服务单独调用 JAR 时,它可以正常工作,但是当您在服务内使用它时,它可以正常工作。 > 在 JBoss 中,它不起作用。
我推测这里发生了两件事之一:
要获得更具体的帮助,请编辑您的问题并添加以下信息:
Not much to go on here, but if I understood correctly, when you use your .NET webservice invoking JAR by itself, it works fine, but when you use it inside a service in JBoss, it does not work.
I surmise one of two things is going on here:
To be of more specific help, edit your question and add this information: