Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
4 replies Latest Post - ‏2012-01-22T03:30:40Z by Jaango
Arvindks7
Arvindks7
3 Posts
ACCEPTED ANSWER

Pinned topic Which one is better option for xml to nonxml conversion, WTX or FFD?

‏2012-01-19T08:16:57Z |
Hello All,
Could anyone can provide give some comparison between WTX and FFD performance in datapower?
Thanks
Arvind Singh
Updated on 2012-01-22T03:30:40Z at 2012-01-22T03:30:40Z by Jaango
  • irazabal
    irazabal
    218 Posts
    ACCEPTED ANSWER

    Re: Which one is better option for xml to nonxml conversion, WTX or FFD?

    ‏2012-01-19T13:42:52Z  in response to Arvindks7
    well, I don't think you'll get many volunteers for this question: FFD is not really supported. It's legacy and it has its uses, but it is NOT intended as a replacement for WTX - only simple things like wrapping a text string with tags. So a comparison between the two is like comparing apples and oranges...
    • Jaango
      Jaango
      266 Posts
      ACCEPTED ANSWER

      Re: Which one is better option for xml to nonxml conversion, WTX or FFD?

      ‏2012-01-21T08:18:03Z  in response to irazabal
      Hi Alex

      > FFD is not really supported.
      Does it mean that
      1)The support is only for FFD's that are used, built in within datapower appliance? Referring to the ffds which are in store/// folder like pkcs7-*.ffd files
      2)The support is for the ffds which are built like the above plus ffds, which are crafted from the Contivo analyst tool(not handcrafted)
      • HermannSW
        HermannSW
        4512 Posts
        ACCEPTED ANSWER

        Re: Which one is better option for xml to nonxml conversion, WTX or FFD?

        ‏2012-01-21T10:23:52Z  in response to Jaango
        Maneesh,

        Alex's statements were not completely correct.

        Both, WTX maps and Contivo FFDs, are supported by DataPower.
        Until 2007 Contivo Analyst was the Binary mapping tool for DataPower.
        Since 2007 WTX (WebSphere Transformation Extender Design Studio) is the strategic Binary Mapping tool for DataPower.
        But both were supported and are supported, which means that you can raise PMRs in case of problems.

        If you have a problem with a WTX mapping on DataPower you raise a single PMR at IBM.
        For Contivo FFD mapping problems you might have to interface between IBM and Liason (the company who owns Contivo Analyst).
        I worked on many FFD PMRs and sometimes the XSLTs generated with Contivo Analyst were wrong.
        In those cases customer had to go to Liason to get Contivo Analyst fixed.
        (see XSL-list posting [xsl] questions on "number('+5')"
        http://www.biglist.com/lists/lists.mulberrytech.com/xsl-list/archives/201008/msg00359.html )

        Another major difference is that (with one exception) no new features for FFD-type binary mappings have been implemented.
        (In 4.0.2.0 18-digit precision has been implemented, see 4.0.2.0 Release Notes)
        So new developments are based on WTX binary mappings since 2007.

        Back to the implications on how to do Binary Mappings with DataPower:
        • WTX maps: you need WebSphere Transformation Extender Design Studio
        • Contivo FFDs: you need Contivo Analyst product
        • no handcrafted FFDs are supported (you cannot raise PMRs against handmade FFDs)
        • there are 4 exceptional, simple FFDs that are supported, see the WebCasts on basics and advanced techniques

        Non-XML data processing in DataPower Stylesheets (2/2), advanced
        (presentation, audio and sample files of this presentation):
        http://www.ibm.com/support/docview.wss?uid=swg27022979
        Previous webcast (1/2, presentation, audio and sample files):
        http://www.ibm.com/support/docview.wss?uid=swg27022977

        I always made heavy use of these simple FFDs for solving all kinds of problems (eg. "how to deal with broken Webservice responses"):
        WebSphere DataPower SOA Appliances and XSLT (Part 1 and Part 2)
        http://www-01.ibm.com/support/docview.wss?uid=swg27019118
        http://www-01.ibm.com/support/docview.wss?uid=swg27019119

        I personally like to make use of store:///pkcs7-convert-input.ffd which is shipped with the product (XI50, XB60, XM70, XG45+DIM).
        Despite its name it can be used for input and output and provides (nearly) anything needed:
        http://www-01.ibm.com/support/docview.wss?uid=swg27022977&aid=3#page=13

        Only in case you need to deal with (non-XML) text consisting of XML characters in an encoding different to UTF-8 you need one of the other FFD types.
        Or if you want to process EBCDIC-encoded XML:
        http://www-01.ibm.com/support/docview.wss?uid=swg27022979&aid=3#page=14

        All of the above statements were wrt usability of tools or support.
        For performance you need to do measurements to decide on which solution you want to use, if you have the option.

         
        Hermann<myXsltBlog/>
        • Jaango
          Jaango
          266 Posts
          ACCEPTED ANSWER

          Re: Which one is better option for xml to nonxml conversion, WTX or FFD?

          ‏2012-01-22T03:30:40Z  in response to HermannSW
          Awesome :) Thanks, Hermann