You need to sign in to do that
Don't have an account?
Vry Urgent: Error Consuming Partner WSDL using JAX-WS wsimport tool
Hi ,
I have run into an issue with comsuming the Partner WSDL & its critical to get this resolved because of my project timelines.
We have developed a Web Service in our Salesforce.com instance & exposed it to an external system . For logging into the Salesforce.com instance we have shared the partner wsdl to the external team. Now while consuming the partner wsdl at their end , they are facing this issue.
Wondering if anyone got through this issue . Any help to get this resolved would be highly appreciated.
Please see the error below :
Errors occurred during wsimport.
warning: src-resolve: Cannot resolve the name 'tns:ID' to a(n) 'type definition' component.
line 0 of file:/C:/Workspace/Merchant%20Site%20Int'l%20-%20Pharse%204/NGMSShr/src/com/americanexpress/services/ws/generated/client/merchantforce/patnerservice/Partner.wsdl#types?schema1
error: A class/interface with the same name "com.americanexpress.services.ws.generated.client.merchantforce.patnerservice.DescribeLayout" is already in use. Use a class customization to resolve this conflict.
line 0 of file:/C:/Workspace/Merchant%20Site%20Int'l%20-%20Pharse%204/NGMSShr/src/com/americanexpress/services/ws/generated/client/merchantforce/patnerservice/Partner.wsdl#types?schema2
error: (Relevant to above error) another "DescribeLayout" is generated from here.
line 0 of file:/C:/Workspace/Merchant%20Site%20Int'l%20-%20Pharse%204/NGMSShr/src/com/americanexpress/services/ws/generated/client/merchantforce/patnerservice/Partner.wsdl#types?schema2
error: Two declarations cause a collision in the ObjectFactory class.
line 0 of file:/C:/Workspace/Merchant%20Site%20Int'l%20-%20Pharse%204/NGMSShr/src/com/americanexpress/services/ws/generated/client/merchantforce/patnerservice/Partner.wsdl#types?schema2
error: (Related to above error) This is the other declaration.
line 0 of file:/C:/Workspace/Merchant%20Site%20Int'l%20-%20Pharse%204/NGMSShr/src/com/americanexpress/services/ws/generated/client/merchantforce/patnerservice/Partner.wsdl#types?schema2
error: com.sun.istack.SAXParseException2: (Related to above error) This is the other declaration.
com.sun.istack.SAXParseException2: (Related to above error) This is the other declaration.
Checkout the jax-ws sample on the wiki http://wiki.developerforce.com/page/JAX-WS_Integration