BEA WebLogic Platform 7

This section briefly discusses some new tools that ship with WLS 7.0 Service Pack 1. These new tasks were already being performed as part of ServiceGen or ClientGen but are now separately executable for added flexibility. Figure 30.24 shows what they do.

Figure 30.24. Miscellaneous Ant tasks to facilitate building Web services.

The following list describes what these tasks do:

  • wsdl2Service ” Takes a WSDL file and creates a WebLogic Web service deployment descriptor file and back-end component skeletons. Use this task if you need to build a Web service based on a known WSDL description. The skeletons are Java source templates that partially implement the Web service for you to add business logic and processing to complete the service.

  • source2wsdd ” Takes your back-end Java source files and produces a Web service deployment descriptor for you to assemble a Web service manually.

  • wspackage ” Aids in assembling the many different Web service components that you may have built using other Ant tools into a WebLogic Web service (J2EE enterprise application). This task nicely obviates the need for you to know exactly where certain components are supposed to go in the EAR, or to run the jar utility.

Another versatile Ant task is autotype , for all your user -defined data type authoring needs. Figure 30.25 depicts what autotype can do.

Figure 30.25. The many capabilities of the autotype utility.

Категории