...
Enable the Debug Mode to for troubleshooting purpose. In the server's console, one will see the returned formatted data as the following.
Code Block |
---|
INFO 07 Jun 2013 10:54:37 SoapTool - |
<ns1 <ns1:GetGeoIPResult xmlns:ns1="http://www.webservicex.net/" |
><
ns1ReturnCode>1<ReturnCode><
ns1:IP
>8ReturnCode><ns1:IP>8.8.8.8</ |
IP><
ns1:ReturnCodeDetails
>Success<IP><ns1:ReturnCodeDetails>Success</ns1: |
ReturnCodeDetails><
ns1:CountryName
>United ReturnCodeDetails><ns1:CountryName>United States</ns1: |
CountryName><
ns1:CountryCode
>USA<CountryName><ns1:CountryCode>USA</ns1: |
CountryCode><
INFO 07 Jun 2013 10:54:37 SoapTool - {"GetGeoIPResult":{"CountryName":"United States","ReturnCodeDetails":"Success","ReturnCode":"1","IP":"8.8.8.8", |
In the example above, we are making a webservice call to http://www.webservicex.net/geoipservice.asmx, calling the method GetGeoIP.
...