RRM
RRM

Reputation: 3451

Can't add webservice reference in C#. SOAP wrong?

I'm trying to add a reference to webservice in C# through graphical interface in Visual Studio 2010.enter image description here

It fails however, the error message is

VersionMismatch Service supports SOAP version 1.1.”.

What can I do now? I don't see any settings box where I could choose SOAP version which I use to connect to webservice???

Upvotes: 0

Views: 875

Answers (1)

arao6
arao6

Reputation: 3376

I had a similar problem just several days ago. Go here and click "Shipping" under "Developer APIs." Download Shipping.zip and extract it to a folder on your hard drive. Then, under the Add Service Reference window, click Advanced, click Add Web Reference, and link your WSDL file. For me, I put my files here:

C:\Libraries\AWSDLs\UPS\ShippingPACKAGE\PACKAGEWebServices\SCHEMA-WSDLs\Ship.wsdl

You may or may not need to add file:// to the beginning of the URL depending on your VS version.

Upvotes: 1

Related Questions