Reputation: 1155
I'm attempting to connect to a vendor's webservice (Soap 1.1), but I get this error:
line -1: Validation of SOAP-Encoded messages not supported
The vendor's support person with whom I'm communicating is using the same tool (SoapUI v4, I've tried both v4 and v5, and we've confirmed we're using identical XML), but he has no trouble, and a Google search of the error message hasn't uncovered anything helpful. Does anyone have any thoughts what the problem could be? Perhaps a program setting?
<soapenv:Envelope
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:web="http://webservice.uesas._321forms">
<soapenv:Header/>
<soapenv:Body>
<web:GetKey soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<Username xsi:type="xsd:string">[Username]</Username>
<Password xsi:type="xsd:string">[Password]</Password>
</web:GetKey>
</soapenv:Body>
</soapenv:Envelope>
Upvotes: 0
Views: 4362
Reputation: 1034
Your settings are more strict than you expect/need:
(as by my SoapUI v5.3)
So you will not get the message "Cancelled request due to invalid content." any more.
Also see this defect in SoapUI: Cancelled request due to invalid content from year 2011.
Upvotes: 1