简体   繁体   English

生成的wsdl缺少类型定义weblogic 12c

[英]Generated wsdl missing types definition weblogic 12c

When I deploy a web service to weblogic 12c, some types are missing in the generated wsdl (I check the XSDs in the imports). 当我将Web服务部署到weblogic 12c时,生成的wsdl中缺少某些类型(我检查了导入中的XSD)。

I didn't have this issue on weblogic 11, is this linked to differences in jax-ws implementation ? 我在weblogic 11上没有这个问题,这是否与jax-ws实现的差异有关?

I finally found a workaround : 我终于找到了解决方法:

You can configure JAXB providers at application-Level instead of depending on your application server. 您可以在应用程序级别配置JAXB提供程序,而不必取决于您的应用程序服务器。

Check Oracle documentation below : 查看以下Oracle文档:

http://docs.oracle.com/cd/E24329_01/web.1211/e24964/data_types.htm#WSGET347 http://docs.oracle.com/cd/E24329_01/web.1211/e24964/data_types.htm#WSGET347

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM