How to track / debug this SOAP error [message: protected] => it looks like we don’t have an XML document

The solution does not work for me from other links. I am using web services from android using Ksoap2.

Here is my problem. I get this error.

Here are my server details

HTTP/1.1 500 Internal Server Error
Server: nginx
Content-Type: text/html
Content-Length: 3
Accept-Ranges: bytes
Date: Wed, 25 Nov 2015 16:01:16 GMT
X-Varnish: 1781493534
Age: 0
Via: 1.1 varnish
Connection: keep-alive
  • From a PHP client

    [message:protected] => looks like we got no XML document
    
  • From an Android app using Ksoap2

    org.xmlpull.v1.XmlPullParserException: expected: '>' actual: '' (position:END_TAG </SOAP-ENV:Envelop>@8:19 in java.io.InputStreamReader@41f06f28)
    

My code and web service work fine for the whole server. Except Iran. Are there any problems with the encoding?

+4
source share
2 answers

, - , (nginx) . . -, , . nginx , -.

+3

-. . (Magento ) Nginx, - . .

: , . , XML-.

, , . , .

EDITED [26 2016 ]

, Magento. , API XML, . fooobar.com/questions/575280/...

0

Source: https://habr.com/ru/post/1617486/


All Articles