IBM Sterling Transformation Extender

Sterling Transformation Extender

Come for answers, stay for best practices. All we're missing is you.


#Sterling
#Supplychain
 View Only
  • 1.  Problem with XML mapping.

    Posted 10/01/08 06:11 PM

    Originally posted by: muralee


    I have 2 maps and 1st map will call 2nd map through RUN function.

    The 1st map will read text data and write to XML file.
    from the output card i am calling 2nd map through RUN function and passing text data to it.

    The 2nd map will also read text file and map to XML output.

    Both the maps are working fine.but the issue is the out put from 2nd map is not in XML format.

    Expected:
    <element1> abc </element2>
    <element2> 123 </element2>

    Actual:

    <element1> abc </element1>
    <element2> abc </element2>

    If i run the 2nd map seperately,its creating the XML file.When i call the 2nd map through RUN function,its causing problem.
    Thanks
    muralee
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender
    #DataExchange


  • 2.  Re: Problem with XML mapping.

    Posted 10/02/08 03:24 AM

    Originally posted by: janhess


    You're probably sending a single occurrence to map 2 rather than a multiple occurrence.
    #DataExchange
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender


  • 3.  Re: Problem with XML mapping.

    Posted 10/02/08 10:57 AM
      |   view attached

    Originally posted by: muralee


    Sorry i wrongly posted my query

    Expected:
    <element1> abc </element2>
    <element2> 123 </element2>

    Actual:

    (<) element1 (>) abc (<) / element1 (>)
    (<) element2 (>) 123 (<) / element2 (>)

    The < and > symboles in xml file are showing as (<) and (>) respectivelly.

    if you see the actuall out xml elements in plain text(notepad) you can see that.

    Find attached xml file.
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender
    #DataExchange

    Attachment(s)



  • 4.  Re: Problem with XML mapping.

    Posted 10/02/08 11:10 AM

    Originally posted by: janhess


    Looks ok to me. No brackets that I can see.
    #IBM-Websphere-Transformation-Extender
    #DataExchange
    #IBMSterlingTransformationExtender


  • 5.  Re: Problem with XML mapping.

    Posted 10/02/08 02:14 PM
      |   view attached

    Originally posted by: muralee


    If you open the temp.xml file in notepad or in word doc,instead in internet explorer,we can not see brackets for all the elements.

    i am attaching the xml file in text mode.
    #DataExchange
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender

    Attachment(s)



  • 6.  Re: Problem with XML mapping.

    Posted 10/02/08 02:49 PM

    Originally posted by: janhess


    No brackets in the attached file.
    #DataExchange
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender


  • 7.  Re: Problem with XML mapping.

    Posted 10/03/08 02:12 PM

    Originally posted by: jvanboga


    <prap:claim xmlns:prap="http://www.hcsc.com/ClaimObjectModel">
    <prap:claimHeader>
    <prap:claimId>123</prap:claimId>
    </prap:claimHeader>
    <prap:claimDetails>
    <prap:serviceLineDetailList><serviceLineNumber> 1</serviceLineNumber>
    <serviceChargeAmount>F0</serviceChargeAmount>
    <serviceEndDate> 1</serviceEndDate>
    <unitMeasureCode>F5</unitMeasureCode>
    </prap:serviceLineDetailList>
    <prap:serviceLineDetailList><serviceLineNumber> 1</serviceLineNumber>
    <serviceChargeAmount>F0</serviceChargeAmount>
    <serviceEndDate> 1</serviceEndDate>
    <unitMeasureCode>F5</unitMeasureCode>
    </prap:serviceLineDetailList>
    <prap:serviceLineDetailList><serviceLineNumber> 1</serviceLineNumber>
    <serviceChargeAmount>F0</serviceChargeAmount>
    <serviceEndDate> 1</serviceEndDate>
    <unitMeasureCode>F5</unitMeasureCode>
    </prap:serviceLineDetailList>
    </prap:claimDetails>
    </prap:claim>

    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender
    #DataExchange


  • 8.  Re: Problem with XML mapping.

    Posted 10/04/08 04:51 AM