Help working with Royal Mail wsdl file

Issue adding a local wsdl file for royal mail to visual stusio 2017 in c#.
Print screen f error attached. Invalid URI.
Royal-Mail-API-Shipping-V2--28SOAP-2.zip
error.jpg
ross13Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Kyle SantosQuality AssuranceCommented:
Hi,

I am here to help you with your open question.  Do you still need help?  I have the ability to alert more experts if you still need help.

If you solved the problem on your own, would you please post the solution here in case others have the same problem?

If you need me to delete this question just say "Delete."

Thank you for using Experts Exchange.

Regards,

Kyle Santos
Customer Relations
0
ross13Author Commented:
Still needing help
0
Gary PattersonVP Technology / Senior Consultant Commented:
E:\royalmail...  is a local path or drive mapping, not a URI.  VS is expecting a reference to the location where you downloaded the wsdl.  It is going to start with http or https.
0
Omer RasheedCommented:
HI,

To create it via the command line:

Open a VS Command Prompt (Programs -> Visual Studio  -> Visual Studio Tools)
Then execute:

WSDL /verbose C:\path\to\wsdl
WSDL.exe will then output a .cs file for your consumption.

If you have other dependencies that you received with the file, such as xsd's, add those to the argument list:

WSDL /verbose C:\path\to\wsdl C:\path\to\some\xsd C:\path\to\some\xsd

If you need VB output, use /language:VB in addition to the /verbose.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C#

From novice to tech pro — start learning today.