WSDL Utility


Generating WebService Proxy class for Different Technologies like java to .net using wsdl.exe

The Web Services Description Language tool generates code for XML Web services and XML Web service clients from WSDL Files

The Syntax is


wsdl /language:VB /out:myProxyClass.vb http://hostServer/WebserviceRoot/WebServiceName.asmx?WSDL


Sample

Go to Visual Studio .NET corresponding version Command Prompt,

Example

wsdl /language:VB /out:D:\CoreJavaProxyClass.vb http://WSR2k:10080/CoreJava/CoreJavaService?WSDL


After generating Proxy Class, You can add existing item class file. then we can use the file in our code.

Here, Small Step we need to do. For our development purposes, we'll use on webservice url. and later at the time of deployment, the webservice url will change. So, we can use dynamic url.

Reference: http://msdn.microsoft.com/en-us/library/7h3ystb6(VS.80).aspx


Comments

No responses found. Be the first to comment...


  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: