Adobe 38000382 JRun Guide - Page 90
Using WSDL2Java, jrun_root, JRun Programmer's, Guide, Programmer's Guide
UPC - 718659575946
View all Adobe 38000382 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 90 highlights
You can also use the following syntax from the jrun_root/bin directory: %> java2wsdl [options] For information about the Java2WSDL command-line options, see JRun Programmer's Guide. Using WSDL2Java The WSDL2Java tool generates web service proxy and skeleton code based on information in a web service WSDL document. WSDL2Java generates proxies from WSDL documents that specify RPC encoded, document literal, and document encoded SOAP encoding styles. WSDL2Java is part of the org.apache.axis.wsdl package. The Java2WSDL tool uses the following syntax: The WSDL2Java tool uses the following syntax: %> java [-classpath classpath] org.apache.axis.wsdl.WSDL2Java [options] You must include the following files in your classpath: • jrun_root/lib/jrun.jar • jrun_root/lib/webservices.jar You can also use the following syntax from the jrun_root/bin directory: %> wsdl2java [options] The WSDL2Java tool includes username and password options. You can use these when the WSDL file is protected by Basic authentication using the web server and you try to access the URL in a web browser. For example: wsdl2java -U nickd -P password http://host/protected/file/here.wsdl For more information about the WSDL2Java command-line options, see JRun Programmer's Guide. 76 Chapter 7 JRun APIs