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.  help with simple WTX MAP -- Adding Wrapper to input

    Posted 10/22/10 11:05 AM

    Originally posted by: samanderson


    Hi all,

    I am very new to WTX Engine. Please hlp me or throw some light on building a map like below

    Input:

    Any thing.

    eg:-

    could be soap, soap fault, xml, cobol, x12 etc... any thing

    Output :

    valid wellformed XML with wrapper element Magic

    eg:-
    <Magic>
    Input
    </Magic>
    Is it possible to do a WTX map that will accept any thing and produce <magic>wtx map input</magic>..
    How hard will it be getting this work??

    ALL I need is wrapper element added to make it xml.
    when text comes or when xml comes or soap or soapfault??
    #IBM-Websphere-Transformation-Extender
    #DataExchange
    #IBMSterlingTransformationExtender


  • 2.  Re: help with simple WTX MAP -- Adding Wrapper to input

    Posted 10/25/10 06:08 AM

    Originally posted by: vijji_WTX


    Hi,

    It is simple..in case if you straight away sending the XML to Outbound card.i have done same thing for my my project after lot of research. Create an item as Wrapper with initiator as <MAGIC> and Terminator as </Magic>. Put your output XML in this Wrapper Filed.
    You could see expected output after compiling the MAP. I repeat this should be your final output.Hope this helps.
    #DataExchange
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender


  • 3.  Re: help with simple WTX MAP -- Adding Wrapper to input

    Posted 12/07/10 11:14 AM

    Originally posted by: SystemAdmin


    If you would like to parse the input as blob ( Irrespective of structure) then it is not possible to transform the input.
    If you have certain structure to your input let us say SOAP, then you can use the structure and import a Input Type tree,
    For output, Import a type tree using the xml schema/dtd, simply drag and drop the required fields in the map rules. Hope this clarifies.
    #IBM-Websphere-Transformation-Extender
    #DataExchange
    #IBMSterlingTransformationExtender