Reputation: 3451
I'm trying to add a reference to webservice in C# through graphical interface in Visual Studio 2010.
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
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