SOAP Messaging in WebSevice using HTTP
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Thread: SOAP Messaging in WebSevice using HTTP

  1. #1
    Join Date
    Apr 2014
    Posts
    4

    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;

  2. #2
    Arjay's Avatar
    Arjay is offline Moderator / MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    11,358

    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?

  3. #3
    Join Date
    Apr 2014
    Posts
    4

    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

  4. #4
    Join Date
    Apr 2014
    Posts
    4

    Re: SOAP Messaging in WebSevice using HTTP

    Mistake in line 3 (Communicate in same way)

  5. #5
    Arjay's Avatar
    Arjay is offline Moderator / MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    11,358

    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
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center