Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

IIS 6.0 Web Services KSOAP, wsdl2objc And sc-status 500 (null parameters)

$
0
0

Hello!

He are experiencing some issues with our site. 

 

Here you have the server configuration: Server IIS 6.0 Windows Server 2003, .NET 2.0

 

After some time working well, we start to receive error 500 with:

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>Server was unable to process request. ---&gt; Object reference not set to an instance of an object.</faultstring><detail /></soap:Fault></soap:Body></soap:Envelope>

At this moment we start to search more deep, and we found that all the Parameters to our WS are NULLS, that why the error!

How to solve it? well we call our main service from a Web Explorer www.abc.com/WebService/Services.asmx

and the system return to work properly...

 

Check this log:

 

192.168.1.20 - - [19/Sep/2012:10:00:33 +0200] "POST /WebService/Services.asmx HTTP/1.1" 200 1035 "-" "wsdl2objc" <-- Iphone
192.168.1.21 - - [19/Sep/2012:11:32:29 +0200] "POST /WebService/Services.asmx HTTP/1.1" 200 1028 "-" "ksoap2-android/2.6.0+"  <-- Android
192.168.1.22 - - [19/Sep/2012:14:23:32 +0200] "POST /WebService/Services.asmx HTTP/1.1" 500 3379 "-" "Apache CXF 2.2.9" <-- Server
....
192.168.1.22 - - [19/Sep/2012:14:40:34 +0200] "POST /WebService/Services.asmx HTTP/1.1" 500 898 "-" "Apache CXF 2.2.9" <-- Server
192.168.1.23 - - [19/Sep/2012:14:49:13 +0200] "POST /WebService/Services.asmx HTTP/1.1" 500 3379 "-" "Jakarta Commons-HttpClient/3.1" <-- SOAPUI

Solution ! call  http://www.abc.com/WebService/Services.asmx

192.168.1.23 - - [19/Sep/2012:14:49:47 +0200] "GET /WebService/Services.asmx HTTP/1.1" 200 22689 "-" "Mozilla/5.0 (Windows NT 6.0; rv:15.0) Gecko/20100101 Firefox/15.0.1"" <-- Firefox
192.168.1.23 - - [19/Sep/2012:14:49:48 +0200] "GET /WebService/WebServiceDocumentation.css HTTP/1.1" 200 5989 "http://www.abc.com/WebService/Services.asmx" "Mozilla/5.0 (Windows NT 6.0; rv:15.0) Gecko/20100101 Firefox/15.0.1" " <-- Firefox

192.168.1.23 - - [19/Sep/2012:14:50:01 +0200] "POST /WebService/Services.asmx HTTP/1.1" 200 863 "-" "Jakarta Commons-HttpClient/3.1" <-- SOAPUI
192.168.1.23 - - [19/Sep/2012:14:50:40 +0200] "POST /WebService/Services.asmx HTTP/1.1" 200 741 "-" "Jakarta Commons-HttpClient/3.1" <-- SOAPUI
 

 We start to experimenting the issues after we start ti test our ANDROID mobile App ("ksoap2-android/2.6.0+") I don't know is this have something to see with the problem


Namespace Problem? ([WebService(Namespace = "http://sample.com/")]

Serialization Problem?

 

Thanks in advance to everyone how can give us some ideas

 

 

 


Viewing all articles
Browse latest Browse all 27852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>