SOAP: looks like we got no XML document

前端 未结 10 1432
日久生厌
日久生厌 2021-01-11 11:41

I\'m trying to create a web service but before I do I\'m trying to get a simple example that I found on the internet to work first but I keep getting the following error:

10条回答
  •  我在风中等你
    2021-01-11 12:01

    A bit late, but this kinda error is often caused by server-side (SOAP sense) problem :

    • print/echo content
    • rik's answer too
    • mistake (eg I was currently having this error because of a miswritten filename in an include, generating an include error instead of executing the script...)
    • bad parameter in SOAP server
    • not the same compression level both sides (if compression used)

    This message just inform you that the SOAP client did not receive well-formatted XML (eg. an error message instead of XML).

提交回复
热议问题