There is a wsdl file from which I am trying to generate java classes using the wsimport utility. Generation fails:
[ERROR] Property "Any" is already defined. Use <jaxb:property> to resolve this conflict. The lines for which this error occurs are as follows:
<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> If you delete one of the lines with "any", then wsdl will parse, but the file will be generated incorrectly. What needs to be done to correctly generate classes without deleting rows?