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.  XML well formedness no schema validation

    Posted 03/09/16 11:52 PM

    Originally posted by: infyrsp


    Hi,

     

    I am running a WTX Map in DataPower. I have a requirement to do only XML well-formed check for the input message and no schema validation. There is a requirement from consumer that new fields might get added in the XML message and WTX should just filter it out. We are doing XML to cobol transformation. So it's something similar to  writing XSL code where there in no input validation at all just well formed check. But XSL doesn't provide XML to cobol transformation capability.


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


  • 2.  Re: XML well formedness no schema validation

    Posted 03/10/16 04:45 AM
      |   view attached

    Originally posted by: paul.brett


    It is possible to build a simple Typetree / Map combination that will allow you to pick-out specific XML data, and the Typetree can cope with an XML structure change (see enclosed) but I do not believe it is possible for WTX to do Well Formed validation under these circumstances.

    Anybody else think this can be done?

    Thank-you.

    Paul.

    Follow me on Twitter


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

    Attachment(s)

    zip
    XML.zip   1 KB 1 version


  • 3.  Re: XML well formedness no schema validation

    Posted 03/14/16 08:01 AM

    Originally posted by: DennisRitche


    Can you explain more about that you have stated "There is a requirement from consumer that new fields might get added in the XML message and WTX should just filter it out"


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


  • 4.  Re: XML well formedness no schema validation

    Posted 03/15/16 12:43 AM

    Originally posted by: infyrsp


    It means that there may be new fields added in the XML message but that would not impact the mapping..since the output structure is always fixed. It means these new fields would not impact the XPath of the existing fields and also they are not required to be mapped in the output cobol structure. Hope i am able to make you understand my requirement.


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


  • 5.  Re: XML well formedness no schema validation

    Posted 03/15/16 09:11 AM

    Originally posted by: DennisRitche


    Now i got your point , In most cases this is possible by editing source schema and using any element.

    Can you provide me the samples for a clear picture.


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