Oxygen Editor and WSDL analyzer
Posted: Wed Nov 23, 2011 10:48 pm
Hello Oxygen, I have a curious situation with a public WSDL.
The target WSDL has been generated by a .NET WS.
The WSDL has a property attribute 'any' already defined in the same node.
Therefore when I try to run wsdl2java or wsimport to generate the Java stubs for my SOAP client I get the following error condition returned:
********************************************************
WSDLToJava Error: Thrown by JAXB:
Thrown by JAXB:
Property "Any" is already defined. Use <jaxb:property> to resolve this conflict.
at line 48 column 19 of schema http://ts2.nbs-us.com/TestWS/Service.asmx?WSDL
********************************************************
When I run the same WSDL in the WSDL Analyzer the correct SOAP request and response envelopes are generated.
The question is then: what does the WSDL analyzer do to clean the target WSDL to avoid the error?
Can what the Oxygen Editor WSDL analyzer be applied using a xsd binding?
The target WSDL has been generated by a .NET WS.
The WSDL has a property attribute 'any' already defined in the same node.
Therefore when I try to run wsdl2java or wsimport to generate the Java stubs for my SOAP client I get the following error condition returned:
********************************************************
WSDLToJava Error: Thrown by JAXB:
Thrown by JAXB:
Property "Any" is already defined. Use <jaxb:property> to resolve this conflict.
at line 48 column 19 of schema http://ts2.nbs-us.com/TestWS/Service.asmx?WSDL
********************************************************
When I run the same WSDL in the WSDL Analyzer the correct SOAP request and response envelopes are generated.
The question is then: what does the WSDL analyzer do to clean the target WSDL to avoid the error?
Can what the Oxygen Editor WSDL analyzer be applied using a xsd binding?