views:

269

answers:

2

I'm really confused about how to create a SOAP client in C# using .NET. I have found this page which looks really promising, but for the life of me I can't find Microsoft.Web.Services2. Also most information I find about SOAP with C#/.NET are about creating web services in ASP.NET and that's not what I want to do.

Basically what I want to do is implement a SOAP client in C# in a Windows Mobile application.

A: 

Microsoft.Web.Services2.dll belongs to Web Services Enhancements 2.0 for Microsoft .NET Framework. First you have to download Web Services Enhancements (WSE) 2.0 SP2 for Microsoft .NET from following link

http://www.microsoft.com/downloads/details.aspx?FamilyId=FC5F06C5-821F-41D3-A4FE-6C7B56423841&displaylang=en

and then simply add a reference of Microsoft.Web.Services2 from C:\Program Files\Microsoft\WSE\v2.0\Microsoft.Web.Services2.dll

VMAtm
He's asking specifically for Windown Mobile, and the WSE download from Microsoft doesn't have anything for Compact Framework.
ctacke
A: 

Download the old OpenNETCF.Web.Services2 source code (in the deprecated source downloads at the bottom of the page). Depending on your exact needs, this will probably provide the WSE classes you need.

ctacke