Connecting Tech Pros Worldwide Help | Site Map

Consume .NET Web Service with HTTP-POST/GET

  #1  
Old July 23rd, 2005, 10:34 PM
M B HONG 20
Guest
 
Posts: n/a
Hi all -

I am developing an ASP.NET web application that requires the use of
remote calls going on behind the client's page in the browser. I
successfully got the service working via SOAP (I have to use SOAP due
to the fact that I need this to be compatible with Netscape 7.0).
However, there is a memory leak in Netscape using SOAP calls, and I
can't figure out why. So I thought that accessing the web service with
HTTP-POST or some other javascript method might alleviate this problem.
Can anyone show me another method, or tell me what is wrong with my
SOAP calls? any help will be greatly appreciated thanks in advance.

  #2  
Old July 23rd, 2005, 10:34 PM
VK
Guest
 
Posts: n/a

re: Consume .NET Web Service with HTTP-POST/GET



M B HONG 20 wrote:[color=blue]
> Hi all -
>
> I am developing an ASP.NET web application that requires the use of
> remote calls going on behind the client's page in the browser. I
> successfully got the service working via SOAP (I have to use SOAP due
> to the fact that I need this to be compatible with Netscape 7.0).
> However, there is a memory leak in Netscape using SOAP calls, and I
> can't figure out why. So I thought that accessing the web service with
> HTTP-POST or some other javascript method might alleviate this problem.
> Can anyone show me another method, or tell me what is wrong with my
> SOAP calls? any help will be greatly appreciated thanks in advance.[/color]

Try to use the manual SOAP envelope instead of high level methods:

<http://support.microsoft.com/Default.aspx?id=893659>

That did the trick for me on IE (truthfully I even did not try the
SOAPCall()

  #3  
Old July 23rd, 2005, 10:34 PM
Martin Honnen
Guest
 
Posts: n/a

re: Consume .NET Web Service with HTTP-POST/GET




M B HONG 20 wrote:
[color=blue]
> So I thought that accessing the web service with
> HTTP-POST or some other javascript method might alleviate this problem.[/color]

Mozilla since 1.0 has XMLHttpRequest to make HTTP requests and receive
the response so you could try to use that, either to construct the SOAP
messages by hand and read out the SOAP response by hand or as for simple
messages .NET web services can be configured to respond to non-SOAP HTTP
GET or POST requests you could try that route.
XMLHttpRequest is documented here:
<http://unstable.elemental.com/mozilla/build/latest/mozilla/extensions/dox/interfacensIXMLHttpRequest.html>

Using XMLHttpRequest should also have the advantage of getting the code
to work with latest Opera or Safari.
[color=blue]
> Can anyone show me another method, or tell me what is wrong with my
> SOAP calls?[/color]

I made some suggestions in
<http://groups-beta.google.com/group/comp.lang.javascript/browse_frm/thread/16a95142d80c632c/f66b0fa4dbc5c988?lnk=st&q=SOAP+group:comp.lang.jav ascript&rnum=4&hl=en#f66b0fa4dbc5c988>
have you tried that?


--

Martin Honnen
http://JavaScript.FAQTs.com/
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
SAP systems consume .net Web service =?Utf-8?B?Z2FuY3k=?= answers 2 October 9th, 2007 08:35 AM
I need to consume a .NET web service in a Python client mohit answers 2 January 12th, 2007 07:35 PM
Calling a .NET web service from classic ASP Julian Hershel answers 4 November 18th, 2005 08:41 AM
consume ASP.NET web service with PHP Matt answers 3 August 8th, 2005 05:55 PM
Problems getting Python client (SOAPpy) to consume .NET web services Michael Hatmaker answers 2 July 18th, 2005 04:25 PM