camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From contactreji <contactr...@gmail.com>
Subject WSDL2Java error in Camel Project
Date Mon, 04 Aug 2014 10:40:03 GMT
Hi Guys

I just tried creating web service using WSDL first approach. I have created
wsdl successfully but while i import the same into my camel project and try
to generate classes using wsdl2java plugin, I get following errors.
*
Execution generate-sources of goal
org.apache.cxf:cxf-codegen-plugin:2.6.0.fuse-71-047:wsdl2java failed:
file:/C:/Users/re267981/Training/stub-mes-bw-WaterConsumption/src/main/resources/wsdl/SyncSupplierPartyMaster.wsdl
[3879,7]: Property "Type" is already defined. Use &lt;jaxb:property> to
resolve this conflict.
file:/C:/Users/re267981/Training/stub-mes-bw-WaterConsumption/src/main/resources/wsdl/SyncSupplierPartyMaster.wsdl
[3914,6]: The following location is relevant to the above error
file:/C:/Users/re267981/Training/stub-mes-bw-WaterConsumption/src/main/resources/wsdl/SyncSupplierPartyMaster.wsdl
[3598,6]: Property "Type" is already defined. Use &lt;jaxb:property> to
resolve this conflict.
file:/C:/Users/re267981/Training/stub-mes-bw-WaterConsumption/src/main/resources/wsdl/SyncSupplierPartyMaster.wsdl
[3693,5]: The following location is relevant to the above error
file:/C:/Users/re267981/Training/stub-mes-bw-WaterConsumption/src/main/resources/wsdl/SyncSupplierPartyMaster.wsdl
[3453,6]: Property "Type" is already defined. Use &lt;jaxb:property> to
resolve this conflict.
file:/C:/Users/re267981/Training/stub-mes-bw-WaterConsumption/src/main/resources/wsdl/SyncSupplierPartyMaster.wsdl
[3472,5]: The following location is relevant to the above error

(org.apache.cxf:cxf-codegen-plugin:2.6.0.fuse-71-047:wsdl2java:generate-sources:generate-sources)*


Attaching WSDL file for your reference.

SyncSupplierPartyMaster.wsdl
<http://camel.465427.n5.nabble.com/file/n5754764/SyncSupplierPartyMaster.wsdl>  



This WSDL is created by a OAGIS open standards schema defined for
Manufacturing Domain. Its a widely used set of schemas in production
environment around the globe by various manufacturing companies.

Any ideas would be helpful

Cheers
Reji



--
View this message in context: http://camel.465427.n5.nabble.com/WSDL2Java-error-in-Camel-Project-tp5754764.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message