how to replace any namespace in XSD

1
Hi, When I import a WSDL with some attached XSD's I get the following Mendix error: Type 'http://www.egem.nl/StUF/StUF0301:AnytypeKennisgeving': 'Any' element is not supported. Type 'http://www.egem.nl/StUF/StUF0301:AnytypeOther': 'Any' element is not supported. Type 'http://www.egem.nl/StUF/StUF0301:AnytypeTarget': 'Any' element is not supported. Type 'http://www.egem.nl/StUF/StUF0301:AnytypeTargetMetEntiteittype': 'Any' element is not supported. Type 'http://www.egem.nl/StUF/StUF0301:FoutdetailsXML': 'Any' element is not supported. Can someone please tell me how I can change this part of the XSD so Mendix will accept it? Thanks! <!--definitie complexTypes --> <complexType name="AnytypeKennisgeving"> <sequence> <any namespace="##targetNamespace" minOccurs="0" maxOccurs="unbounded"/> </sequence> <attribute ref="StUF:entiteittype" use="required"/> <attributeGroup ref="StUF:entiteit"/> </complexType> <complexType name="AnytypeOther"> <sequence> <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> </sequence> </complexType> <complexType name="AnytypeTarget"> <sequence> <any namespace="##targetNamespace" minOccurs="0" maxOccurs="unbounded"/> </sequence> </complexType> <complexType name="AnytypeTargetMetEntiteittype"> <sequence> <any namespace="##targetNamespace" minOccurs="0" maxOccurs="unbounded"/> </sequence> <attribute ref="StUF:entiteittype" use="required"/> </complexType>
asked
1 answers
1

Basically the any element i.e. the part that sais <any namespace="..... means that from there on any element can be present.

This means that there is no way for Mendix to determine what it can expect and thus there is no way to (decently) map its input to mendix.

That is why the any element is not supported. 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. Without having some example messages there is no way that we can determine that for you up front.

answered