Rational Developer for System z

ServiceImplementationSpec

Use this element of the ServiceSpecification.xml document to provide information about the service implementation or, in the case of XML transformations, about the transformation artifacts.

This element must contain one and only one of the following elements:

Contained by

EISServiceImplementation

Contains

  • 1See the description of WSBindSpec earlier in this topic.
  • 2See the description of XSDBindSpec earlier in this topic.
  • 3See the description of WSDL2ELSSpec earlier in this topic.

Attributes

Fields Description

Attribute: importDirectory
Valid values: See Description
Required?: No
Default value: The input directory

Specifies the directory for the source file.

Attribute: importFile
Valid values: See Description
Required?: Yes (unless the -s command
line option is specified)
Default value: See Description

Specifies the file name that contains:
  • a Web service definition (WSDL) file

    or

  • an XML schema (XSD) file

The default value is: The name provided in the xsebatch command-line parameter -s.

Attribute: wsdlPortName
Valid values: See Description
Required?: Yes
Default value: None

Specifies the WSDL Port name for which to generate service artifacts. The Port name must exist in the WSDL otherwise an error message is displayed.

Attribute: wsdlServiceName
Valid values: See Description
Required?: Yes
Default value: None

Specifies the WSDL Service name for which to generate service artifacts. The Service name must exist in the WSDL otherwise an error message is displayed.

Examples

Figure 1. Example 1 of ServiceImplementationSpec 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 type="SERVICE_PROVIDER">
      <ServiceImplementationSpec importFile="WSAT001.wsdl" importDirectory=".">
         <LanguageStructureSpecIn fileNamePrefix="WSATPI"/>
         <LanguageStructureSpecOut fileNamePrefix="WSATPO"/>
         <WSBindSpec fileName="WSAT001P.wsbind" uri="/cics/services/calculator" 
               pgmint="1" contid="WSAT001P" logFileName="WSAT001P.log"/>
         <ApplicationTemplateSpec fileName="WSAT001P.cbl" programName="WSAT001P"/>
      </ServiceImplementationSpec>
   </EISServiceImplementation>

</EISProject>
Figure 2. Example 2 of ServiceImplementationSpec Element
<EISProject xmlns="http:///com/ibm/etools/xmlent/batch/emf/BatchProcessModel.ecore" 
         name="CICSXSDTopDownSample">

   <!-- Generate XML conversion artifacts from an XSD file -->
   <EISServiceImplementation>
      <ServiceImplementationSpec importFile="XSAT001.xsd" importDirectory=".">
         <LanguageStructureSpec fileNamePrefix="XSATPI"/>
         <XSDBindSpec fileName="XSAT001P.xsdbind" logFileName="WSAT001P.log"/>
      </ServiceImplementationSpec>
   </EISServiceImplementation>

</EISProject>

Terms of use | Feedback

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