469,601 Members | 2,450 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,601 developers. It's quick & easy.

Problem: ASP.NET/C# Console Client calls Perl Web Service (Invoke - returns NULL)

I am trying to get my C# client to connect to a 3rd Perl Web Service (SOAP
Lite), this is the code that fails

......
object[] results = this.Invoke("getGrossData", new object[] {week} );
return ((string)results[0]);
.......

The problem: It always return a NULL in results[0]. Why is that??

My Verficiation:
1. I have the TCP/IP Trace tool, and I can see the Perl Web Service returns
the correct data in the HTTPResponse. I just don't understand why .NET
returns NULL in result[0]
2. If I connect to my own microsoft ASMX web service on IIS, result[0]
returns what I expected
3. I even use Telnet to verify manually, I copied and pasted the request
manually and I got the expected data from the Web Service.
4. I even tried to override this and print out the HTTPResponse, and I
was able to see the HTTPResponse from Web Service
protected override WebResponse GetWebResponse(WebRequest req)

But I don't understand why .NET returns NULL in result[0]. Please help..

Zean
Apr 25 '06 #1
0 1285

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Linesh Gajera | last post: by
reply views Thread by Peter Conrey | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.