【发布时间】:2013-11-27 22:22:56
【问题描述】:
我正在关注 Netbean 的 tutorial 和 eclipse 教程以从 wsdl 生成代码,但在 netbeans 中会遇到以下错误
"Two declarations cause a collision in the ObjectFactory class".
在 Eclipse 中会遇到以下错误。
"WAB0399E Error in generating Java from WSDL: java.io.IOException: Emitter failure. There is an undefined portType (I3Service) in the WSDL document http://i3-cert.vueling.com/Vueling.I3.WCF.WebService/I3Service.svc?wsdl=wsdl0.
Hint: make sure <binding type=".."> is fully qualified."
我该怎么办?
【问题讨论】:
-
那个 WSDL 不正确,有很多导入的 wsdl 和 xsd 的交叉引用和重复的元素定义。
标签: java web-services struts2 wsdl jax-ws