In any language in order to access a web service you can generate autiomatically a proxy class from wsdl.
In .Net you can use WSDL.exe located in C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin
to generate a Proxy class to call methods in web services.
If you want to run wsdl.exe from anywhere, add
C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin
in your PATH in system variable.
In order to create a client proxy class in c# for an XML web service located at a specified URL at some location run the following command:
$wsdl /out:ClientProxyClass.cs http://servername/WebserviceRoot/SomeWebservice?WSDL
See more documentation about this at http://msdn.microsoft.com/en-us/library/7h3ystb6%28VS.71%29.aspx
In .Net you can use WSDL.exe located in C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin
to generate a Proxy class to call methods in web services.
If you want to run wsdl.exe from anywhere, add
C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin
in your PATH in system variable.
In order to create a client proxy class in c# for an XML web service located at a specified URL at some location run the following command:
$wsdl /out:ClientProxyClass.cs http://servername/WebserviceRoot/SomeWebservice?WSDL
See more documentation about this at http://msdn.microsoft.com/en-us/library/7h3ystb6%28VS.71%29.aspx
No comments:
Post a Comment