views:

278

answers:

4

I have to implement SOAP via HTTP, using C#. Do you know any good documents, and sample code to help?

A: 

Thanks to google, I have found the following:

http://www.w3schools.com/SOAP/soap_intro.asp - Some background

http://www.w3schools.com/soap/default.asp - Tutorials

Kyle Rozendo
+1  A: 

Most probably you won't need to handle the actual SOAP protocol. If you have access to the WSDL document, Visual Studio will automatically build a proxy for your SOAP web service.

After that, you simply access the generated object's members as if it were a local object.

Check this link for an example.

Groo
Cheers for this!
Gravitas
+1  A: 

If you're on .NET 3.0 or higher: use WCF - it's the most current, most flexible way to implement SOAP communication.

See the WCF developer center here on MSDN: http://msdn.microsoft.com/en-us/netframework/aa663324.aspx

WCF gives you plenty of options how to send messages to a remote system - be it HTTP or TCP/IP or MSMQ - you got the choice.

Marc

marc_s
A: 

Are you implementing .NET web services ? Visual Studio 2008 is a good starting point !

Preets