wsdl2js

  1,355 downloads
0.1 GPL (GNU General Public License)    
  n/a
wsdl2js is a tool that generates JavaScript code for invoking a Web service's methods according to a WSDL description.

description

download

specifications

wsdl2js project can generate JavaScript code for invoking a Web service's methods according to a WSDL description.

Wsdl2js generates javascript code according the WSDL of web service. This tool is developed by java language. It is platform-independent.

Wsdl2js is a CLI(Command Line Interface) tool. You press command to run the tool.

Requirements:

J2SE 5.0

Installation:

On unix platform, the installation package of wsdl2js is gz file. Using the following steps to install wsdl2js on unix.

Step1: download installation package file.
Step2: create a directory naming wsdl in /usr/local. Copy installation package file into /usr/local/wsdl directory.
Step3: use the following command to extract installation package file:

gzip -d wsdl2js-0.1.tar.gz
tar -xvf wsdl2js-0.1.tar

Usage:

The command file name is wsdl2js.bat(windows platform) or wsdl2js.sh(unix platform). The following examples run on windows platform. The wsdl2js.bat is in WSDL2JS_HOMEbin directory, WSDL2JS_HOME is the installation directory of wsdl2js.

Entry WSDL2JS_HOMEbin, press the following command to get usage information of wsdl2js.

wsdl2js -h

Assume a web service exists at http://localhost/WebService/service1.asmx. The following command will generate file wsproxy.js on c:, soap protocol be used to transmit message between javascript-end and web service.

wsdl2js -p soap -o c:wsproxy.js -u http://localhost/WebService/service1.asmx?WSDL
READ MORE   
Last updated on February 16th, 2006

0 User reviews so far.

SUBMIT