Rational Developer for System z

ApplicationTemplateSpec

Use this element of the ServiceSpecification.xml document to specify properties of the new application template generated to assist in implementing a new service provider or service requester based on the web service description (WSDL).

Contained by

ServiceImplementationSpec

Contains

None

Attributes

Table 1 shows the attributes for ApplicationTemplateSpec.

Table 1. Attribute Specifications for ApplicationTemplateSpec
Fields Description

Attribute: fileName
Valid values: See Description
Required?: No
Default value: See Description

The filename of the generated application template.

The default value is: First 8 characters of the input WSDL file name

Attribute: overwrite
Valid values: true | false
Required?: No
Default value: true

Specifies whether to overwrite the output file(s) if it exists.

Attribute: programName
Valid values: See Description
Required?: No
Default value: See Description

The name of the main entry point in the generated application template.

The default value is: First 8 characters of the input WSDL file name

Example

Figure 1 is an example of ApplicationTemplateSpec element.
Figure 1. Example of ApplicationTemplateSpec Element
<EISProject xmlns="http:///com/ibm/etools/xmlent/batch/emf/BatchProcessModel.ecore" 
         name="CICSTopDownSample">

   <!-- Generate an implementation of a web service from a WSDL file -->
   <EISServiceImplementation runtime="WEB_SERVICES_CICS" type="SERVICE_PROVIDER">
      <ServiceImplementationSpec importDirectory="." importFile="ServiceDefinition.wsdl">
         <ApplicationTemplateSpec fileName="SERVPROV.cbl" programName="SERVPROV"/>
         ...
      </ServiceImplementationSpec>
   </EISServiceImplementation>

</EISProject>

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)