[Version 5.0.2 and later]wsdeploy command

This topic explains how to use the wsdeploy command-line tool with Web services that are based on the Web Services for J2EE specification. The wsdeploy command adds WebSphere product-specific deployment classes to a Web services compatible enterprise application enterprise archive (EAR) file or an application client Java archive (JAR) file. These classes include:

This deployment step must be performed at least once, and can be performed more than once. Deployment can be performed separately using the wsdeploy command, the Assembly Toolkit, or when the application is installed. The Assembly Toolkit replaces the Application Assembly Tool (AAT). It is one of the tools available with the Application Server Toolkit (ASTK) product. When using the wsadmin command for installation, specify the -deployws option. When using the administrative console for installation, select the Deploy Web services check box. When using the Assembly Toolkit, Right-click the module and select Web Services >Deploy Web Services from the pop-up menu.

[Version 5.0.2]For Version 5.0.2, you can download the Assembly Toolkit from the Web site

http://www-1.ibm.com/support/docview.wss?rs=180&context=SSEQTP&q=ASTK&uid=swg24005125&loc=
en_US&cs=utf-8&lang=en+en

The wsdeploy command operates as follows:

See WSDL2Java command for more information about the files that are generated for deployment.

When the generated files are compiled, they can reference application-specific classes outside the EAR or JAR file, if the EAR or JAR file is not self-contained. In this case, use either the -jardir or -cp option to specify additional JAR or zip files to be added to CLASSPATH when the generated files are compiled.

wsdeploy command syntax

The command syntax is as follows:

wsdeploy Input_filename Output_filename [options] 

Required options:

Other options:

Example

wsdeploy x.ear x_deployed.ear -trace -keep  
Processing web service module x_client.jar.   
Keeping directory: f:\temp\Base53383.tmp for module: x_client.jar.   
Parsing XML file:f:\temp\Base53383.tmp\WarDeploy.wsdl   
Generating f:\temp\Base53383.tmp\generatedSource\com\test\WarDeploy.java   
Generating f:\temp\Base53383.tmp\generatedSource\com\test\WarDeployLocator.java   
Generating f:\temp\Base53383.tmp\generatedSource\com\test\HelloWsBindingStub.java   
Compiling f:\temp\Base53383.tmp\generatedSource\com\test\WarDeploy.java.   
Compiling f:\temp\Base53383.tmp\generatedSource\com\test\WarDeployLocator.java.   
Compiling f:\temp\Base53383.tmp\generatedSource\com\test\HelloWsBindingStub.java.   
Done processing module x_client.jar.  

Messages


Related tasks
Deploying Web services based on Web Services for J2EE



Searchable topic ID:   rwbs_wsdeploy
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/ae/rwbs_wsdeploy.html

Library | Support | Terms of Use | Feedback