Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Problem: ASP.NET/C# Console Client calls Perl Web Service (Invoke - returns NULL)

Reply
Thread Tools

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

 
 
Zean Smith
Guest
Posts: n/a
 
      04-25-2006
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


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem: My web service calls only open a single connection to the web service machine Scott Baierl ASP .Net Web Services 1 07-29-2006 01:16 AM
Calling Web Service that calls other Web Service with Windows Authentication manuelserpabrandao@gmail.com ASP .Net Web Services 3 06-17-2006 08:14 AM
Calling Web Service that calls other Web Service with Windows Authentication manuelserpabrandao@gmail.com ASP .Net Security 1 06-14-2006 08:55 PM
Multiple web service calls from web service oljeg.popovic@gmail.com ASP .Net Web Services 1 01-09-2006 09:53 AM
Web Service that calls an external Web Service Isaias Formacio Serna ASP .Net Security 5 02-02-2004 07:38 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57