|
July 24, 2002 Creating Web Service Proxy Namespace Tips: July 2002
Yehuda Shiran, Ph.D.
|
|
Creating a proxy for Web services is a two-step process. The first step creates the proxy code in JScript .NET and adds your class to the specified namespace. The executable that does this is wsdl.exe. Your .NET Framework should support this executable by including its directory in your path. Let's demonstrate this step with the add Web service. Open a Command Prompt window and cd (change directory) to d:\aspDemo. Type wsdl and verify you get the help for this executable. Type the full command now (in one line):
The last entry on this line is the input to the wsdl command:
which is the full path to the Web service definition. The other switches are:
The following Command Prompt window shows the content of
People who read this tip also read these tips: Look for similar tips by subject: |