SoapFault exception: looks like we got no XML document
A SOAP request fails with this error message:
looks like we got no XML document
The error seems to indicate that although an XML document *is* sent, the XML is not valid according to the SOAP server's DTD or XML Schema.
Fortunately I have a working SOAP request, and by comparing the working request with the erroneous request, the cause appears to be a comma (,) instead of a period (.) inside an `xsd:decimal'.
In my case the WSDL shows the SOAP server is expecting an `xsd:decimal':
<xsd:element name="price" type="xsd:decimal"/>
and I'm sending a comma-separated price:
which should be period-separated:
Now the XML document is received all right :-)