We compile and package the web service using the Apache Ant tasks wsdlc
and
jwsc
. We deploy the web service to WebLogic Server. We generate web service client files using the Apache Ant task clientgen
and subsequently test the web service using the client class. The build.xml
file generates, packages, and deploys the web service as an EAR file to the WebLogic Server. First, we need to create the build.xml
file. Select the project folder and select File | New | Other. In the New wizard select XML | XML File and click on Next. In the New XML File window specify build.xml
as File name and click on Finish, as shown in the following screenshot:
In the build.xml
file add property
elements for the properties listed in the following table:
Property |
Value |
Description |
---|---|---|
|
${basedir}/src |
Source directory |
|
${basedir}/WebContent |
Web module directory |
|
C:\Oracle\Middleware/WLS12c |
WebLogic Server install directory |
|
${weblogic... |