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.  Trouble Enabling XML Trace File

    Posted 08/26/11 11:26 AM

    Originally posted by: jlanglois


    I have a map which employs type trees that I created from a WSDL (for the input type tree) and an XML schema (created for the output card using the Xerces validation method). I am attempting to enable an XML trace file for the map while unit testing. These are the map trace settings I've specified:

    Map Trace
    Switch ON
    TraceLocation File
    Directory Map
    FileName Default
    InputContentTrace All
    RulesTrace OFF
    SummaryContentTrace ON

    However, when I run the map I'm not getting an XML trace file with the "mapname_log.xml" naming convention - only the traditional .mtr file is being created. I'm using WTX version v8.3.0.2.

    What am I missing here?
    #IBM-Websphere-Transformation-Extender
    #DataExchange
    #IBMSterlingTransformationExtender


  • 2.  Re: Trouble Enabling XML Trace File

    Posted 08/31/11 05:49 AM

    Originally posted by: TarunB


    Unless I'm missing something here, you don't get an XML trace file - you get a .mtr file which will be a trace of your XML data.

    The trace file itself will not be an XML file. Yes, you could name it *.xml, but it won't be valid XML.

    I thought at one point there was an enhancement request put in to IBM, to allow the trace file to be in XML format. Now that would be useful, if there was an associated schema provided too.
    #IBM-Websphere-Transformation-Extender
    #DataExchange
    #IBMSterlingTransformationExtender


  • 3.  Re: Trouble Enabling XML Trace File

    Posted 09/09/11 05:21 PM

    Originally posted by: Liv2luv


    For XML data, a trace is generated in XML format although the file name is named <map-name>.mtr (probably for a good reason because for flat text the trace is non-XML).

    Run the XSLT located at (C:\IBM\WebSphere Transformation Extender 8.3\xvallog.xsl) on the xml trace data. The output will be an HTML page with tabs for each input and output card. The href referred in the xml trace file is incorrect (C:\IBM\WebSphere Transformation Extender 8.3\java\bin\xvallog.xsl).

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