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.
Note:
  1. When this element contains a WSBindSpec element, it is used to generate a set of artifacts for creating a Web services implementation.
  2. When this element contains a XSDBindSpec element, it is used to generate a set of artifacts for use in an XML transformation (Such as CICS® 4.1 XMLTRANSFORM resource). In this case, only the LanguageStructureSpec can be specified in the ServiceImplementationSpec, if any of the following are also specified they are ignored:

Contained by

EISServiceImplementation

Contains

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.

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)