Oracle 10g - JAXB 解组未按预期工作
我们使用 Oracle 10g 应用服务器并部署了 Web 服务,并尝试部署 Web 服务客户端。服务器工作正常,即;编组工作正常。我们正确地从服务获取输出,但搜索客户端没有解组(解析)收到的响应。我们在同一名称空间下使用所有标签,因此不存在名称空间问题。 XSD 中将存在不同的集合。有人遇到过类似的问题吗?有什么解决办法吗?
谢谢桑托什
We're using Oracle 10g application server and deployed the Web service and trying to deploy the web service client. Server is working fine i.e.; marshalling is working fine. We're getting the output from the service properly but the search client is not unmarshalling (parsing) the response received. We're using all the tags under same name space so there is no name space problem. Different collections would exists in the XSD. Has anyone faced similar kind of issue? Is there any solution for this?
Thanks
Santhosh
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
嗯...问题是由于该库没有在 Java 1.5 中按预期运行。我们使用 JAX-WS 2.2 开发了 Web 服务客户端,该客户端在使用 Netbeans IDE 6.8 运行时可以正常运行,但不能在独立服务器上运行。我们已将 Netbeans 降级并将库修改为 JAX-WS 2.1。它起作用了......
很高兴知道。 JAX-WS 2.2 与 Java 1.5 不兼容
Well... the issue was due to the library which was not running as expected in Java 1.5. We've developed the web service client with JAX-WS 2.2 which was running properly when running with Netbeans IDE 6.8 but not on the standalone server. We've downgraded the Netbeans and modified the libraries to JAX-WS 2.1. It worked...
Good to know. JAX-WS 2.2 is not compatible with Java 1.5