I am importing an xsd into Mendix to setup a Web Service that will import a XML file that will have an embedded pdf file in it. When I try to add the XSD to Mendix it gives me an error
Type of element 'http://tempuri.org/CREDIT_RESPONSE_v2_3_1:DOCUMENT': 'Any' element is not supported.
I searched the Mendix forums and they say if you want to add support for this xsd you will have to determine what kind of responses you expect and change the xsd accordingly.
<xs:element name="DOCUMENT">
<xs:complexType mixed="false">
<xs:sequence>
<xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any"/> <!-- Error on any -->
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="EMBEDDED_FILE">
<xs:complexType>
<xs:sequence>
<xs:element ref="DOCUMENT" />
</xs:sequence>
<xs:attribute name="_ID" type="xs:ID" />
<xs:attribute name="_Type" type="xs:string" />
<xs:attribute name="_Version" type="xs:string" />
<xs:attribute name="_Name" type="xs:string" />
<xs:attribute name="_Extension" type="xs:string" />
<xs:attribute name="_EncodingType" type="xs:string" />
<xs:attribute name="_Description" type="xs:string" />
<xs:attribute name="MIMEType" type="xs:string" />
</xs:complexType>
</xs:element>
My question is how do I find out what type of responses are valid for the any parameter?