473,387 Members | 1,641 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Consume .NET Web Service with HTTP-POST/GET

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.

Jul 23 '05 #1
2 2198
VK

M B HONG 20 wrote:
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.


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()

Jul 23 '05 #2


M B HONG 20 wrote:
So I thought that accessing the web service with
HTTP-POST or some other javascript method might alleviate this problem.
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.
Can anyone show me another method, or tell me what is wrong with my
SOAP calls?


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/
Jul 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Michael Hatmaker | last post by:
I have begun experimenting with web services, and I created some simple web services in C# and was able to install them with IIS and create an equally simple C# client to consume them. My next...
2
by: Abeslom via .NET 247 | last post by:
Hi, I am trying to create a simple .NET http-Get client that willconsume a java webservice on a mainframe. If I type the URL forthe webservice in the Browser, the service works and I get theexpected...
2
by: Abeslom via .NET 247 | last post by:
Hi, I am trying to create a simple .NET http-Get client that willconsume a java webservice on a mainframe. If I type the URL forthe webservice in the Browser, the service works and I get theexpected...
0
by: leslie_tighe | last post by:
Hello, I have a set of web services running on Java server that are exposed through axis 1.2.1. I can invoke these services in browser and through a java test client. However, when I try to...
3
by: frustratedcoder | last post by:
I need to consume a web service written in Perl but there is no wsdl file for this service. The perl soap client that can call and consume this web service looks like this (if it helps) #!perl...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.