Issues with adding a web reference using WSDL.exe
-
Hello guys, I needed to create a proxy by adding a web reference into my C# class library project, but there's been some issues configuring the thrid party product and the webservice they expose....so I have manually downloaded the WSDL file (its not asmx, its actually java/ibm web service). Anyways, since i can't use the add web reference wizard from Visual studio anymore, I'd like to know how to I create a porxy (Reference.cs) file in my project using the WSDL file located on my C drive. Can anyone point me to the right direction, I treid looking into Wsdl.exe but looks like it only support a URL and not a local path, if it does can someone point me to the right command syntax? I'd appreciate your help. Thanks Tina
-
Hello guys, I needed to create a proxy by adding a web reference into my C# class library project, but there's been some issues configuring the thrid party product and the webservice they expose....so I have manually downloaded the WSDL file (its not asmx, its actually java/ibm web service). Anyways, since i can't use the add web reference wizard from Visual studio anymore, I'd like to know how to I create a porxy (Reference.cs) file in my project using the WSDL file located on my C drive. Can anyone point me to the right direction, I treid looking into Wsdl.exe but looks like it only support a URL and not a local path, if it does can someone point me to the right command syntax? I'd appreciate your help. Thanks Tina
I use
svcutil.exe
[^] to manually generate WCF proxies. /raviMy new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com
-
I use
svcutil.exe
[^] to manually generate WCF proxies. /raviMy new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com
-
Hello Ravi, thanks for the response...but I should have mentioned, I'm using VS 2005 framework 2.0. Can you tell me how do i do that in this environment? Thanks
Run the
svcutil.exe
command line app located in your VS2005 installation folder hierarchy. See the online docs for the app's command line args.svcutil.exe
is what runs when you doAdd | Service Reference
from the VS200x GUI. /raviMy new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com