Webservice request - nothing happens

I am calling a webservice with Mendix. Everything works fine but when the result is back nothing happens. The result i'm getting back is like this: <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="urn:ImportRookStopService"> <SOAP-ENV:Body> <ns1:ImportResponse xmlns:ns1="urn:ImportRookStopService"> <ImportResult xsi:type="tns:Result"> <status xsi:type="xsd:string">NOK</status> <username xsi:type="xsd:string">r</username> <errorcode xsi:type="xsd:int">402</errorcode> <errordescription xsi:type="xsd:string">Aangeleverde SOAP/XML bevat data die niet voldoet aan de gestelde eisen</errordescription> </ImportResult> </ns1:ImportResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope> When i call the webservice Mendix itself is saying that the result is a "Complex XML structure". Therefor i should use a mapping structure. But this doesn't seem to work. What else can i do to let this work. I'm not in control of the result request. When i trace the webservice the output is like this / which tells me the webservices is called. Dispite the error i'm getting back. Endelement encountered for urn:importrookstopservice:importresponse|importresult^tns:result|errordescription with content Aangeleverde SOAP/XML bevat data die niet voldoet aan de gestelde eisen (localName: errordescription) Endelement encountered for urn:importrookstopservice:importresponse|importresult^tns:result with content (localName: ImportResult) Endelement encountered for urn:importrookstopservice:importresponse with content (localName: ImportResponse) Endelement encountered for with content (localName: Body) Endelement encountered for with content (localName: Envelope)
1 answers

The error you see is generated by the application you are calling, and seems to be valid XML. So it seems that the webservice call itself works perfectly fine, but that the contents of the data you want to transfer does not make sense for the calling application.

I think you need to investigate the application that you are calling to find some more error details, why it rejected your request, maybe it logs additional information, and the meaning of 'NOK' or code '402' is probably documented somewhere.

It is a bit unclear now whether your message is not conform the XSD, or not conform the 'business' rules of the application itself. If the first scenerio is the case, i suggest filing a bug report with the complete WSDL and XSD files, if the latter is the case, you can probably fix it in the model.