Synopsis
 
Description
wsld2js takes a WSDL document and generates Javascript code from which to implement a service. The WSDL document must have a valid portType element, but it does not need to contain a binding element or a service element. 
Examples
wsdl2js hello_world.js
wsdl2js -wv 1.2 hello_world12.wsdl
wsdl2js -d javascript hello_world.wsdl
Arguments
The arguments used to manage the code generation process are reviewed in the following table.
| Option | Description | 
| -? | Displays the online help for this utility. | 
| -help | 
| -h | 
| -wv | Specifies the WSDL version the tool expects. The default is WSDL 1.1. The tool can also use WSDL 1.2. | 
| -p | Specifies a mapping between the namespaces used in the WSDL document and the prefixes used in the generated Javascript. This argument can be used more than once. | 
| -catalog | Specifies the URL of an XML catalog to use for resolving imported schemas and WSDL documents. | 
| -d | Specifies the directory into which the generated code is written. | 
| -validate | Instructs the tool to validate the WSDL document before attempting to generate any code. | 
| -v | Displays the version number for the tool. | 
| -verbose | Displays comments during the code generation process. | 
| -quiet | Suppresses comments during the code generation process. | 
| wsdlUrl | Specifies the location of the WSDL document from which the code is generated. |