IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

How to convert the bizdoc obtained from tn into xml Document amp map the xml document into canon ...

  • 1.  How to convert the bizdoc obtained from tn into xml Document amp map the xml document into canon ...

    Posted Mon September 12, 2005 02:30 PM

    hi…
    I am new to webMethods… I would be obliged if anybody would tell me How to convert the bizdoc obtained from tn into xml Document & map the xml document into canonical xml form using XSLT…
    thanx


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 2.  RE: How to convert the bizdoc obtained from tn into xml Document amp map the xml document into canon ...

    Posted Mon September 12, 2005 03:42 PM

    parul,

    Basically you have set the service input signature as bizdocEnvelope(specification)this exist in WmTN Pacakge of wm.tn.doc folder and look for the above specification.So when TN rule invokes this processing service the bizdoc object will be in the pipeline then map bizdoc/content(bytes) and convert this using bytesToString(gives xmlstring).further steps are
    XMLStringToDocument(gives XML Node)
    DocumentToXMLNode(thsi parses the Node to Document(XML document)
    Map to your canonical document as per your requirement using XSLT transformation services (WmXSLT adapter) etc…

    Check the documentation for how to use of above basic services.

    HTH,
    RMG


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 3.  RE: How to convert the bizdoc obtained from tn into xml Document amp map the xml document into canon ...

    Posted Tue September 13, 2005 11:20 AM

    Thanx RMG…

    It helped me a lot… Can u help me with writing XSLT mapping rules?


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 4.  RE: How to convert the bizdoc obtained from tn into xml Document amp map the xml document into canon ...

    Posted Tue September 13, 2005 03:17 PM

    Parul,

    Did you installed WmXSLT adapter on IS?

    Please go thru the tutorials of XSLT adapter transformation services and for performing XSLT mapping you can use clients such as XMLSPY or StylusStudio…

    Also keyword search in google for XSLT functions,rules etc…it will take you to the W3c org site.

    HTH,
    RMG


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 5.  RE: How to convert the bizdoc obtained from tn into xml Document amp map the xml document into canon ...

    Posted Wed September 14, 2005 03:30 PM