Take some action when message is received by client in webform

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




I have written soap server and soap client using SoapSender and
SoapReceiver class of WSE2.0. The soap server in console application
while the soap client is in web application. The client requests the
server. When the server replies some message to the client. This
message is received in the client portion ie in the function Receive.

protected override void Receive(SoapEnvelope env)
{

}

Now the problem is, if i write some code inside the Receive function
protected override void Receive(SoapEnvelope env)
{
//some code to extract message from the soapenvelope
WewForm1 wf=new WebForm1();
wr.Response.Redirect("WebForm2.aspx");


}
It won't redirect to page WebForm2.aspx. My objective is to take some
action (either redirect to another page or just display the message
received in the current page) when the message is received.

Could somebody tell me how to do this?

Thanks in advance.

.



Relevant Pages

  • cant load xml containing an encoded control code
    ... In the string structure is a vertical tab. ... The soap server converts the tab to ... the client receives this document and throws the exception ...
    (microsoft.public.dotnet.xml)
  • JBossWS SOAP Server Cant Interprete PHP Arrays
    ... Arrays should be transfered from my PHP client to my Java ... Server, it doesn't seem to be working properly, my Java SOAP server ...
    (alt.php)
  • JBossWS Server Cant Interprete PHP Array
    ... Arrays should be transfered from my PHP client to my Java ... Server, it doesn't seem to be working properly, my Java SOAP server ...
    (comp.lang.java.programmer)
  • Re: Web application
    ... and build yourself a soap server. ... easy to do and you can test it by building a simple client application. ... you have the flexibility to use any web front end that can make ... There is so much in Delphi 2005 I don't know where to begin. ...
    (borland.public.delphi.non-technical)
  • Re: How to intercept error when httpRuntime maxRequestLength is ex
    ... Jos's comments of using a secondary progress window on the client to ... HttpRequest request = HttpContext.Current.Request; ... To redirect the client your server has to send back a response. ...
    (microsoft.public.dotnet.framework.aspnet)