0 Replies Latest reply on Jun 25, 2008 2:38 AM by dee_n

    Wsconsume Error - with <xs:any> elements

    dee_n

      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?