Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
sumatheja dasararaju
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic