• 1 reply
  • Latest Post - ‏2013-05-03T01:44:35Z by myESB
38 Posts

Pinned topic EBCDIC CopyBook Transformation

‏2013-04-30T09:17:22Z |

Hi Hermann/All,

i am working on a service which does transform a SOAP messsage into copybook message (EBCDIC). i am using contivo to generate the ffd but i dont want to use contivo to create XSLs for me so i want to write my own XSL to transform incoming SOAP message to an XML conforming to FFD and then use <dp:output-mapping> for converting that XML to copybook format. i would really appreciate if someone could please explain me how do i start with. i am attaching the copybook here..if someone could please help me how FFD will help me to udnerstand that XML structure i need to write and how do i do it because contivo generated XSL is not to me liking. please please me. i have also attached the cotnivo generated request/response FFD..and the input-out SOAP messages

flow is SOAP-->copybook (request)

copybook-->SOAP (response)


  • myESB
    15 Posts

    Re: EBCDIC CopyBook Transformation


    Create an intermediate simple XML with similar structure and same tag/field names defined in the FFD. Pass this as an input to your FFD with <dp:output-mapping href="<Your Request ffd Name>.ffd" />.

    For Ex: based on your request FFD, input to the FFD should looks like below:


    <?xml version="1.0"?>

    Then XSL should be 


    <xsl:stylesheet version="1.0" extension-element-prefixes="dp xsl"
    exclude-result-prefixes="dp dpconfig xsl" xmlns:xsl=""
    xmlns:dp="" xmlns:dpconfig="">
    <dp:output-mapping href="<Give Your Request ffd Name>.ffd" />
    <xsl:template match="/">
    select="." />

    This will parse your plan xml data to ebcdic.