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
  • 1.  Extracting Content from a TN Transaction using Flow Service

    Posted Thu July 26, 2007 03:17 AM

    Hi All,

    I am new to this forum… So, first of all…Hello to you all.

    1. I am trying to use wm.tn.query.DocumentQuery in a FLOW SERVICE to query the TN transactions.

    2. Once I pull up the transactions, I want to retrieve the content part of a transaction. (The same as you can do once you double click a transaction in the transaction analysis in TN Console and then go to the content tab.) I want to achieve this in a flow service. I can extract other attributes but not the content part as a whole.

    Any suggestions as to how this can be done will be highly appreciated.

    Let me know if you need any more details.

    Thanks much


    #Integration-Server-and-ESB
    #B2B-Integration
    #webMethods


  • 2.  RE: Extracting Content from a TN Transaction using Flow Service

    Posted Thu July 26, 2007 04:02 AM

    By using the InternalId you can usel pub.tn.doc:view(set getContent=true) service to access the content and then use the query services like wm.tn.query.createDocumentQuery,wm.tn.query.documentQuery to retrieve/extract for the corresponding TN persisted documents.

    Pls take time and refer the webMethods Trading Networks Built-In Services Reference userguide for more information about these service.

    HTH,
    RMG


    #webMethods
    #B2B-Integration
    #Integration-Server-and-ESB


  • 3.  RE: Extracting Content from a TN Transaction using Flow Service

    Posted Thu July 26, 2007 06:45 PM

    Hi RMG…

    Thanks a lot for the direction. Something like pub.tn.doc:view was exactly what I needed. It solves my purpose. I already have the internal id from wm.tn.documentquery… and I can pull contents now.

    Once again, thanks very much for your time and help…


    #B2B-Integration
    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: Extracting Content from a TN Transaction using Flow Service

    Posted Thu July 26, 2007 10:40 PM

    Your welcome…and very glad to know you make it working.

    -RMG


    #Integration-Server-and-ESB
    #webMethods
    #B2B-Integration