You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by nankasci <ka...@scivantage.com> on 2012/12/03 21:03:36 UTC

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

Kindly requesting help in creating binding file to resolve the issues below.
I'm trying to generate client from a remote wsdl with CXF 2.6.1 

          <xsd:element minOccurs="0" name="RepeatingList" nillable="true">
            <xsd:complexType>
              <xsd:annotation>
                <xsd:appinfo>
                  <ActualType Name="DataTable"
Namespace="http://schemas.datacontract.org/2004/07/System.Data"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/>
                </xsd:appinfo>
              </xsd:annotation>
              <xsd:sequence>
                <xsd:any minOccurs="0" maxOccurs="unbounded"
namespace="http://www.w3.org/2001/XMLSchema" processContents="lax"/>
               
              </xsd:sequence>
            </xsd:complexType>
          </xsd:element>


Thanks



--
View this message in context: http://cxf.547215.n5.nabble.com/Property-Any-is-already-defined-Use-lt-jaxb-property-to-resolve-this-conflict-tp5719590.html
Sent from the cxf-user mailing list archive at Nabble.com.

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

Posted by nankasci <ka...@scivantage.com>.
The line in question is missing from my post. Update below

  <xsd:element minOccurs="0" name="RepeatingList" nillable="true">
            <xsd:complexType>
              <xsd:annotation>
                <xsd:appinfo>
                  <ActualType Name="DataTable"
Namespace="http://schemas.datacontract.org/2004/07/System.Data"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/>
                </xsd:appinfo>
              </xsd:annotation>
              <xsd:sequence>
                <xsd:any minOccurs="0" maxOccurs="unbounded"
namespace="http://www.w3.org/2001/XMLSchema" processContents="lax"/>
               <xsd:any minOccurs="1"
namespace="urn:schemas-microsoft-com:xml-diffgram-v1"
processContents="lax"/>
              </xsd:sequence>
            </xsd:complexType>
          </xsd:element>



--
View this message in context: http://cxf.547215.n5.nabble.com/Property-Any-is-already-defined-Use-lt-jaxb-property-to-resolve-this-conflict-tp5719590p5719591.html
Sent from the cxf-user mailing list archive at Nabble.com.