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.  Make WTX not validate the Source XML used for mapping.

    Posted 10/15/10 12:08 PM

    Originally posted by: KSuraj


    Hi,

    We are developing a WTX Map from XML to COBOL Copybook. We have the XSD corresponding to the source XML, but the incoming XML as such doesnt refer any XSD. We realize now that the XML data that comes in has additional elements that are not defined in the XSDs. Due to this WTX throws error. These additional elements are not used in the mappings.

    We can possibly modify the XSD, but that would be trial and error and will be valid untill the next time we see a new element in the XML.
    Is there a way that we can configure WTX to accept such XMLs without throwing any errors and just do the mappings properly?

    Thanks,
    Suraj.
    #DataExchange
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender


  • 2.  Re: Make WTX not validate the Source XML used for mapping.

    Posted 10/18/10 05:12 PM

    Originally posted by: SystemAdmin


    Suraj,

    Type tree is a data structure defined. If the incoming data does not conform the structure defined, it will throw an error. One way you can deal with this is by treating the incoming data as a string and manually parse the data as required.

    But this does not turns out to be good if the incoming xml is complex structure, with nested elements, attributes.

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


  • 3.  Re: Make WTX not validate the Source XML used for mapping.

    Posted 10/25/10 07:29 AM

    Originally posted by: vijji_WTX


    Hi,

    If you see Properties in Doc level of XML, you can find Description and Location(in Intent).There you can give XSD path. Not sure this help you out. Just try
    #IBMSterlingTransformationExtender
    #DataExchange
    #IBM-Websphere-Transformation-Extender