SOAP: looks like we got no XML document

前端 未结 10 1431
日久生厌
日久生厌 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:18

    The post is old, but I think it's always helpful, because I became crazy to not understand why this error appeared.

    The solution for me was here: PHP SOAP client that understands multi-part messages?.

    I had to extend the SoapClient to manage the MTOM encoding to obtain a clean XML as response.

    I hope it can help someone.

提交回复
热议问题