[jboss-user] [JBossWS] - Wsconsume Error - with <xs:any> elements
dee_n
do-not-reply at jboss.com
Wed Jun 25 02:38:14 EDT 2008
When I try to create client stubs from a deployed WSDL using wsconsume, I get the following error:
[ERROR] Property "Any" is already defined. Use <jaxb:property> to resolve this conflict.
line 18 of file:/C:/JBoss/jboss-4.2.2.GA/bin/gismo.wsdl
The error occurs on all the lines in the wsdl where <s:any> elements appear. Part of the wsdl is as follows:
.
.
.
<wsdl:types>
<s:element name="AddLPResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="QPResult">
<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:complexType>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
.
.
.
</wsdl:types>
Can any one please help with this?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160433#4160433
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4160433
More information about the jboss-user
mailing list