The solution doesn't work for me from other links. I am consuming web services from android using Ksoap2.
Here is my problem I am getting 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 PHP client
[message:protected] => looks like we got no XML document
From android application 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 all the server. Except the one from Iran. Is there is any encoding issue?