Hi Nagaraja,

You can use the Microsoft WebService behavior (http://msdn.microsoft.com/library/default.asp?url=/workshop/author/webservice/using.asp) with Apache SOAP. The only thing you need to do is to replace the line in the example with a line which should be something like that : service.useService("http://localhost:8080/mywebapplication/mywebservice.wsdl","MyWebServiceAlias"). This solution may be used only if your clients are using the Microsoft IE 5.0 browser (and above). You can do the stuff you describe because the behavior is making asynchronous calls to the SOAP server. You have just to specify in your call, the callback method the behavior must use when the result is returned to the browser. You may mix the use of several services in the same time.

I've used it with IE 5.0, Tomcat 3.2.1 and Apache SOAP 2.1, Tomcat 3.2.2 and Apache SOAP 2.2 and with The Mind Electric Glue 1.1 & 1.2. It works very well for all these configurations.

Christian BERNARD

NAGORA Technologies 

-----Original Message-----
From: NagarajaRao [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 02, 2001 9:35 AM
To: [EMAIL PROTECTED]
Subject: How To Invoke a Soap Request from a browser?

 

Hi all,
 How to invoke a soap request from a browser? I want to use the browser as a client. What is the sequence of steps to do that? I have one method in mind.
When the request comes from a browser for some information, the request is processed at the web server, whose Servlet ( Assuming MVC ) will send a message a to the Soap Server , gets the information and sends back the information to the browser. Is this the right way?
Where should i give the header information in this case?
 
Please let me know
Thanks & Regards
Nagaraja Rao

Reply via email to