ServiceSpecification.xml sample (EISService Element)

This topic is a sample of the ServiceSpecification.xml. for the the EISService Element

Example of ServiceSpecification.xml for the EISService Element

<?xml version="1.0" encoding="UTF-8"?>
<EISProject xmlns="http:///com/ibm/etools/xmlent/batch/emf/BatchProcessModel.ecore" name="CICSSample">
   <!-- Use the ImportPropertyArray to override values from PlatformProperties.xml -->
   <ImportPropertyArray type="Cobol">
      <ImportProperty name="com.ibm.etools.cobol.COBOL_TRUNC" value="STD" />
      <ImportProperty name="com.ibm.etools.cobol.COBOL_NSYMBOL" value="DBCS" />
      <ImportProperty name="com.ibm.etools.cobol.COBOL_QUOTE" value="DOUBLE" />
      </ImportPropertyArray>
   <CodegenPropertyArray type="Cobol">
      <CodegenProperty name="com.ibm.etools.xmlent.ui.GEN_PROG_NAME" value="XCNV"/>
      <CodegenProperty name="com.ibm.etools.xmlent.ui.GEN_AUTH_NAME" value="WSED"/>
      <CodegenProperty name="com.ibm.etools.xmlent.ui.GEN_IN_CP_LIST" value="1140"/>
      <CodegenProperty name="com.ibm.etools.xmlent.ui.GEN_CP_LIST" value="1140"/>
      <CodegenProperty name="com.ibm.etools.xmlent.ui.GEN_OUT_CP_LIST" value="1140"/>
      <CodegenProperty name="com.ibm.etools.xmlent.ui.GEN_DEC_COMMA" value=" false"/>
      <CodegenProperty name="com.ibm.etools.xmlent.ui.GEN_FLAT_GEN" value=" false"/>
   </CodegenPropertyArray>
   <EISService name="CustomerInfo" type="CICS" 
      targetNamespace="http://cics.sample" 
      generateConverters="true" generateSeparateXSD="false" 
      generateWSDL="true" >

      <!-- Use the ConnectionPropertyArray to override values from PlatformProperties.xml -->
      <ConnectionPropertyArray>
         <ConnectionProperty name="connectionURI" 
            value="http://winmvsn0.cpit.hursley.ibm.com:
            8888/CICS/XMLS/DFHWSDSH/ACTDSOAP" />
      </ConnectionPropertyArray>

      <ServicePropertyArray>
         <ServiceProperty name="bindingName" value="myBinding" />
         <ServiceProperty name="soapTransport" 
               value="http://schemas.xmlsoap.org/soap/http" />
         <ServiceProperty name="soapBindingStyle" value="document" />
      </ServicePropertyArray>
     
      <Operation name="getCustomerInfo" type="REQUEST_RESPONSE">
         <OperationPropertyArray>
            <OperationProperty name="soapOpStyle" value="document" />
            <OperationProperty name="soapBodyUse" value="literal" />
            <OperationProperty name="soapAction" value="http://example.com/getCustomerInfo" />
         </OperationPropertyArray>

         <InputOutputMessage name="CustomerDetails" importDirectory="." importFile="DFH0ACTD.cbl" 
               nativeTypeName="DFHCOMMAREA">
            <RedefinesArray>
               <RedefineSelection redefine="name.info" useRedefinition="name.last-name"/>
               <RedefineSelection redefine="address.zip-code" useRedefinition="province"/>
            </RedefinesArray>
         </InputOutputMessage>

         <XseSpec>
            <DriverSpec fileName=""DFH0CSTDD.cbl" driverType="IMS_SOAP" 
                  programName="XCNVD" businessPgmName="Ex01" />
               <ConverterSpecIn fileName="DFH0CSTDI.cbl" overwrite="true" programName="XCNVI"/>
               <ConverterSpecOut fileName="DFH0CSTDO.cbl" overwrite="true" programName="XCNVO"/>
               <XsdSpecIn fileName="DFH0CSTDI.xsd" overwrite="true"
                     targetNamespace="http://www.DFH0CSTDI.com/schemas/DFH0CSTDIInterface"
                     xsdNamespace="http://www.w3.org/2001/XMLSchema"
                     localNamespace="http://www.DFH0CSTDI.com/schemas/DFH0CSTDIInterface"
                     xsdPrefix="cbl"
                     xsdElemName="dfhcommarea"
                     />
               <XsdSpecOut fileName="DFH0CSTDO.xsd"
                     overwrite="true"
                     targetNamespace="http://www.DFH0CSTDO.com/schemas/DFH0CSTDOInterface"
                     xsdNamespace="http://www.w3.org/2001/XMLSchema"
                     localNamespace="http://www.DFH0CSTDO.com/schemas/DFH0CSTDOInterface"
                     xsdPrefix="cbl"
                     xsdElemName="dfhcommarea"
                     />
         </XseSpec>
      </Operation>
   </EISService>
</EISProject>