Home All Groups Group Topic Archive Search About

Sending/Receiving SOAP Message using VB.NET

Author
22 Feb 2006 9:38 PM
Julio Delgado
Hi,
Again sorry for my ignorance first time interfacing to a remote server that
is not a web service but it uses SOAP protocol to talk through a particular
TCP port.  I need to develop a VB.NET application to send a SOAP Message to
this remote server.  The only info they have given me is the server and port
number and they have a "ping style" msg that the server will accept a msg
and return back exactly what I send the msg has two parameters Message Id (a
number Integer) and a robot Id which is the workstation sending the msg they
say I can send any other parameter and they will send it back to me.

Any ideas how I can approach a solutions for this.

Thanks

Julio

Author
23 Feb 2006 2:20 AM
Patrick Steele [MVP]
In article <ucjXXh$NGHA.3***@tk2msftngp13.phx.gbl>, jdelgado89
@hotmail.com says...
> Hi,
> Again sorry for my ignorance first time interfacing to a remote server that
> is not a web service but it uses SOAP protocol to talk through a particular
> TCP port.  I need to develop a VB.NET application to send a SOAP Message to
> this remote server.  The only info they have given me is the server and port
> number and they have a "ping style" msg that the server will accept a msg
> and return back exactly what I send the msg has two parameters Message Id (a
> number Integer) and a robot Id which is the workstation sending the msg they
> say I can send any other parameter and they will send it back to me.
>
> Any ideas how I can approach a solutions for this.

I would look into the SoapFormatter class.  That should be able to give
you a properly formatted SOAP message and from there you could use the
network libraries (System.Net.Sockets) to send the message.

--
Patrick Steele
Microsoft .NET MVP
http://weblogs.asp.net/psteele