Hello,
I am studying Webservices up and running and trying to execute the exmaples which involve Amazon's e-commerce webservice.
I am using the following command to import the wsdl:
java -Xmx1024M -cp "C:\Program Files\Java\jdk1.7.0_21\lib\tools.jar" com.sun.tools.internal.ws.WsImport -keep -p awsClient /
http://ecs.amazonaws.com/AWSECommerceService/AWSECommerceService.wsdl
but when i execute the command i get the following error:
parsing WSDL...
[ERROR] com.sun.istack.internal.SAXParseException2; ecs.amazonaws.com
Failed to read the WSDL document:
http://ecs.amazonaws.com/AWSECommerceService/A
WSECommerceService.wsdl, because 1) could not find the document; /2) the documen
t could not be read; 3) the root element of the document is not <wsdl:definition
s>.
[ERROR] duplicate "message" entity: "CreatePartyRequest"
line 232 of file:/C:/Documents%20and%20Settings/***/****/****/wsdl/Party.wsdl
This is the wsdl folder of another project on my computer.
The project is not even loaded in Eclipse when i am executing the command.
Can someone please help me to get rid of this error message.
Thanks.