Link to home
Start Free TrialLog in
Avatar of dynamk
dynamk

asked on

Access web service through code without Visual Studio project

Hi, I need to be able to access a web service through code in C#. I am unable to use the Visual Studio wizard to reference the web service with the third party app that I'm using. Can anyone tell me how to do so directly in C#. I am given the address to the asmx file but I don't know what to do from there.
Avatar of wht1986
wht1986
Flag of United States of America image

You can use disco.exe to create a WSDL file
http://msdn.microsoft.com/en-us/library/cy2a3ybs(VS.80).aspx

and then use WSDL.exe to create the classes for your code
http://msdn.microsoft.com/en-us/library/7h3ystb6(VS.80).aspx
Avatar of dynamk
dynamk

ASKER

These articles are very good. For someone who is not very experienced can an example be provided as to how to programmatically access a web service through code?
ASKER CERTIFIED SOLUTION
Avatar of wht1986
wht1986
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dynamk

ASKER

Thanks