|
August 3, 2002 Creating a Proxy for IsPrime Tips: August 2002
Yehuda Shiran, Ph.D.
|
|
Creating a proxy for a Web service 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. Open a Command Prompt window and cd (change directory) to your working directory, d:\aspDemo for example. 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: |