WAS v8.5 > Develop applications > Assemble applications

Generate code for web service deployment

Before deploying web services-enabled modules or any enterprise application archive (EAR) files containing web services-enabled module onto an application server, you must generate deployment code for the application.

This topic assumes we have assembled a module enabled with web services, added it to an application, saved the application, and verified the application. It also assumes that we have started and configured an assembly tool. We can use an assembly tool to generate deployment code for the web services-enabled module or for the EAR file containing the web services-enabled module.

  1. If we have turned automatic validation off, manually validate any modules that use web services with the JSR109 web services validator before generating deployment code for them. If validating your module results in compilation errors or validation errors, fix the errors before generating deployment code. However, if validating your module results in warning or information messages, we can generate deployment code.
  2. In the Project Explorer view of the assembly tool, right-click on the web services-enabled module (WAR, enterprise bean JAR, or application client JAR file) for which to generate code for deployment.

  3. Click Deploy. Alternatively, we can generate deployment code for web services-enabled modules using the deployment tool for web services (wsdeploy) from a command prompt.

  4. If messages indicate that automatic file overwriting is not enabled, click Yes to All so the generated files are added to the module.


Results

Code is generated into the folder where the web services-enable module is located. Problems with the generation of code result in a window that displays error messages.

Install the Java EE application on your server machine. We can install the application onto a server using the dmgr console. Before installing the application, we might need to set class paths.


Related concepts:

Application assembly and enterprise applications


Related


Install enterprise application files
Assemble applications


Reference:

wsdeploy command


+

Search Tips   |   Advanced Search