Hello, I am reading and trying the web service of ECS WebService 10. I can see all the wsdls all right, and got errors when I tried to generate proxy stubs with following: (However, the proxy stubs were properly generated if I dont specify "-p" option). Please advise.
wsimport -verbose -p com.my.package -s x1 http://localhost:38080/les-services/services/DocumentManagement?wsdl
The errors are:
[ERROR] A class/interface with the same name "com.my.package.ServiceDataObject" is already in use. Use a class customization to resolve this conflict.
line 28 of http://localhost:38080/les-services/services/DocumentManagement?xsd=2
[ERROR] (Relevant to above error) another "ServiceDataObject" is generated from here.
line 15 of http://localhost:38080/les-services/services/DocumentManagement?xsd=1
[ERROR] Two declarations cause a collision in the ObjectFactory class.
line 15 of http://localhost:38080/les-services/services/DocumentManagement?xsd=1
[ERROR] (Related to above error) This is the other declaration.
line 28 of http://localhost:38080/les-services/services/DocumentManagement?xsd=2
Thank you,
---Yang