Take some action when message is received by client in webform
- From: hiprakashtandukar@xxxxxxxxx
- Date: 19 Dec 2006 22:11:50 -0800
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.
.
- Prev by Date: Re: Cannot use usernameForCertificateSecurity with IIS application pool custom account
- Next by Date: Re: MTOM and WSE3
- Previous by thread: Wse3 'Add web reference' Vista 64 bit
- Next by thread: Help with Setting Policy Programmatically in WSE 3.0
- Index(es):
Relevant Pages
|