Skip to main content

Pass Through XML in Data Mapper


1 comment

  • David Paras

    There's two possible options for you -

    A) Context variable
    - Use a context target to store the web service response in a context variable (parametername)
    - In the data mapper use a dummy source and use context.get (global) function to obtain the context variable containing your xml web service response
    - Map that context.get result to the target field of your database schema

    B) Custom XSL
    - On the target node where you want to map the xml data, right click and select custom XSL before
    - In the window, insert the custom xsl containing your "copy-of"


    <xsl:copy-of select="e:SubmitOrderResponse/e:SubmitOrderResult/*"/>
    - save it and test it out in the debugger


Post is closed for comments.