Meaningless Drivel is fun!*
The moose likes Web Services and the fly likes [ERROR] Property to resolve this conflict..." title="" /> Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "[ERROR] Property "Any" is already defined. Use <jaxb:property> to resolve this conflict..." Watch "[ERROR] Property "Any" is already defined. Use <jaxb:property> to resolve this conflict..." New topic
Author

[ERROR] Property "Any" is already defined. Use <jaxb:property> to resolve this conflict...

sumatheja dasararaju
Greenhorn

Joined: May 24, 2010
Posts: 9
Hi All,
I've got a webservice exposed on .net... I want to create web service client using wsimport.bat

when i try wsimport.exe <wsdl url> I'm getting the error:

[ERROR] Property "Any" is already defined. Use <jaxb:property> to resolve this conflict...

I see the culprit as :

<s:element minOccurs="0" maxOccurs="1" name="Details">
<s:complexType>
<s:sequence>
<s:any minOccurs="0" maxOccurs="unbounded" namespace="http://www.w3.org/2001/XMLSchema" processContents="lax"/>
<s:any minOccurs="1" namespace="urn:schemas-microsoft-com:xml-diffgram-v1" processContents="lax"/>
</s:sequence>
<s:attribute fixed="http://tempuri.org/DSOrder.xsd" name="namespace"/>
<s:attribute fixed="OrderDetailsDataTable" name="tableTypeName"/>
</s:complexType>
</s:element>

but uanble to know how to fix it... I dont have the access to change the wsdl schema...Any help will be appreciated...

Thanks in advance


sumatheja
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: [ERROR] Property "Any" is already defined. Use &lt;jaxb:property> to resolve this conflict...