8 Generation of Web service Artifacts through SilentOdtUtility

This topic provides an overview of the generation process of Web service Artifacts through SilentOdtUtility.

To generate web service artifacts for a service, configure the property files of the utility as explained in the previous section. Following operations needs to be configured in OdtOperations.properties in the respective sequence:
  1. LOGIN
  2. SETRELEASE
  3. SXML_BULKGENERATION
Provide following values for gen parameter of SXML_BULKGENERATION IMPL_FILE, CONFIG_FILES, WSDL_FILE, XSD_FILES, GW_WS_PROP_FILES, ANT_BUILD. To generate Web service Artifacts through SilentOdtUtility, the user has to double click the batch file silentOdt.bat/sh present in the Open Development Tool source and command prompt displays.

Figure 8-1 SilentODT Sources Folder



Figure 8-2 SilentODT Running in Command Prompt



After the successful built operation, the following Service artifacts files will be generated in the destination directory specified.

Table 8-1 Service Artifacts files

Files Description
<Service Name>Src\*Impl.java IMPL files for service
<Service Name>WSDL\*.wsdl WSDL files for service
<Service Name>Config\*.xml Config files
<Service Name>XSD\*.xsd Service specific xsd’s
<Service Name>Common\*.xsd’s Common XSD’s (call forms ) part of service
  • <Service Name>\<Service Name>\META-INF\application.xml
  • <Service Name>\<Service Name>\META-INF\MANIFEST.MF
Config XML’s for building the Web service
<Service Name>\<Service Name>\commons-codec-1.2.jar Utility Jar for building the web service
<Service Name>\<Service Name>\wscommon.jar Utility Jar for building the web service
Sample Ant file For building service ear file (Can be modified by Dev team as per Folder structure)

Figure 8-3 SilentODT Generated Files Tree Structure



Log Files

  • ServiceGenerationStatus.csv

    Generation status will be saved in the above-mentioned file. This will be generated in the destination path.

  • XSDValidationErrors.csv

    XSD Validation errors, if any, will be saved in the above-mentioned file. This will be generated in the destination path.

  • Utility Log File

    Log File of the utility would be generated in the path configured in SilentOdt.properties. This can be used in case of any troubleshooting.

Proceed only if the status is Success for all services in ServiceGenerationStatus.csv and XSDValidationErrors.csv is not generated.

Figure 8-4 SilentODT Generated log Files Folder



Ant Build Scripts

The tool will generate the sample ant scripts for WebLogic and web sphere application server. Developer can write ant script based on sample ant script or same ant file can be used for building ear file.
  • WLANTBuild.xml – Ant script for web logic server
  • WASAntBuild.xml – Ant Script for web sphere server

Figure 8-5 SilentODT Generated Files Ant Build Files Folder



Gateway Property Files

Gateway property files would be generated in the GW_WS folder inside the destination folder. Generated files:
  • gw_ws_logger.properties
  • GW_WS_Prop.properties