This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
[ERROR] http://developer.ebay.com/webservices/latest/ebaySvc.wsdl [20433:6]: Property "Any" is already defined. Use <jaxb:property> to resolve this conflict.
com.sun.istack.SAXParseException2: Property "Any" is already defined. Use <jaxb:property> to resolve this conflict. at com.sun.tools.xjc.ErrorReceiver.error(ErrorReceiver.java:82)
[ERROR] http://developer.ebay.com/webservices/latest/ebaySvc.wsdl [25817:4]: The following location is relevant to the above error
com.sun.istack.SAXParseException2: The following location is relevant to the above error
I have tried to create a binding file to fix this problem and now get error:
[INFO] --- cxf-codegen-plugin:2.7.3:wsdl2java (generate-ebay-sources) @ EBayWebService ---
[ERROR] S:\Eclipse Workspaces\MNaTStore\EBayWebService\src\main\resources\bindingFile.xml [10:64]: XPath evaluation of "wsdl:definitions/wsdl:types/xs:schema" results in empty target node com.sun.istack.SAXParseException2: XPath evaluation of "wsdl:definitions/wsdl:types/xs:schema" results in empty target node
My sample maven project consits of two files (see below).
I have not used a jaxb binding file before. I would appreciate any help I can get.
Links to documentation will be great (I have tried to read what I can but I am clearly missing something).
Pointing out my specific problem would be fantastic..
I have seen several binding file examples that reference an xsd file but in this case all of the schema's are embedded in the wsdl (please refer to wsdl link).
I could prune the wsdl... sure but using the binding file is my preferred approach... thanks again!
Eclipse Juno x64
Project is maven based
see pom for cxf versions.
Thanks in advance!
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: wsdl2java error: Property "Any" is already defined. Use <jaxb:property> to resolve this conflict.