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:
WSBindSpec:
Use this element to generate a set of artifacts for a top-down development scenario for Web Services for CICS®.XSDBindSpec:
Use this element to generate a set of artifacts for use in an XML transformation, such as a CICS 4.1 XMLTRANSFORM resource.- Only the LanguageStructureSpec can be specified in the ServiceImplementationSpec.
- If any of the following elements are also specified they are ignored:
WSDL2ELSSpec:
Use this element to generate a set of artifacts for IMS and other non-CICS top-down scenarios (see WSD2ELSSpec).- ServiceImplementationSpec can also include the following
elements:
- DriverSpec
- CorrelatorSpec
- ServiceImplementationSpec can also include the following
elements:
Contained by
EISServiceImplementationContains
- ApplicationTemplateSpec
- LanguageStructureSpec
- LanguageStructureSpecIn
- LanguageStructureSpecOut
- WSBindSpec1
- XSDBindSpec2
- WSDL2ELSSpec3
- DriverSpec3
- CorrelatorSpec 3
- 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. The path can be either relative to ServiceSpecification.xml or absolute. |
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:
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
<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>
<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>