-
April 11th, 2014, 10:24 AM
#1
SOAP Messaging in WebSevice using HTTP
I am new to SOAP and i have already done message based communication in WindowsFromApplication where both can send and receive SoapEnvalope using TCP. But Now i am facing a problem where one Side is in WindowsFormApplication and other is in ASP.NET and i want to communicate in save way.(creating a Listeners on both application and send envelops) here is my code can u please help me, i have confusions that how to make a receiver and secondly should i add a web service (asmx) in my asp.net project or not? and i want to communicate using HTTP
here is my code.
Code:
SoapEnvalopeReceiver receiver = new SoapEnvalopeReceiver();
receiver.throwEnvalopeEvent += receiver_throwEnvalopeEvent;
Uri listeningURL = new Uri(textBoxReceiveAt.Text);
EndpointReference erpReceive = new EndpointReference(listeningURL);
SoapReceivers.Add(erpReceive, receiver);
labelStatus.Text = "Connected";
labelStatus.Visible = true;
-
April 11th, 2014, 08:58 PM
#2
Re: SOAP Messaging in WebSevice using HTTP
Can you clarify if you want to have two-way communication between a windows form app and an asp.net site?
-
April 12th, 2014, 02:59 AM
#3
Re: SOAP Messaging in WebSevice using HTTP
yes i want to have listeners in both sides and i can initiate where ever i want. i-e either from client or server
-
April 12th, 2014, 03:02 AM
#4
Re: SOAP Messaging in WebSevice using HTTP
Mistake in line 3 (Communicate in same way)
-
April 12th, 2014, 11:04 AM
#5
Re: SOAP Messaging in WebSevice using HTTP
In that case, I suggest using SignalR.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|