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.  Retrieving a Trading Networks Document

    Posted Tue August 05, 2003 02:34 PM

    I want to use the following two services to retrieve a document from the Trading Networks Database:
    wm.tn.query:createDocumentQuery
    wm.tn.query:documentQuery

    I do not have the Internal Document ID but only got the Document ID that you populate when you save the record to the Database. I tried this document ID in the documentId field of the createDocumentQuery service but the service does not return any results. What do I need to fill into these services or how can I retrieve the Internal Document ID?


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


  • 2.  RE: Retrieving a Trading Networks Document

    Posted Tue August 05, 2003 02:56 PM

    Hi Rudy,

    Set the disablePaging parameter for the ‘documentQuery’ service to ‘true’. Then the records should be retrieved.

    • Rajesh Rao

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


  • 3.  RE: Retrieving a Trading Networks Document

    Posted Tue August 05, 2003 02:57 PM

    Rudi,

    Try this.
    Enter you TN Doc id (as seen on the TN console) for the documentID on wm.tn.query:createDocumentQuery
    set disable paging to true on wm.tn.query:documentQuery.
    If I remember correctly the disable paging affects the how the results are returned.

    That should do it.

    HTH


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


  • 4.  RE: Retrieving a Trading Networks Document

    Posted Tue August 05, 2003 03:06 PM

    Thanks guys, working like a bomb!

    Cheers


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


  • 5.  RE: Retrieving a Trading Networks Document

    Posted Fri August 22, 2003 11:41 PM

    Hi Rudi,

    Could you plz send me the code for retreiving documents from TN DB.

    Thankx in Advance


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


  • 6.  RE: Retrieving a Trading Networks Document

    Posted Fri November 14, 2003 07:11 PM

    Hello Rudi or Rahul,

    Could either of you guys can share the code to reterive the documents record from TN Database. Please send it to me or upload to this forum so that any one can download

    thanks
    Jay


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


  • 7.  RE: Retrieving a Trading Networks Document

    Posted Thu November 20, 2003 06:39 AM

    Hello,
    please help me urgently.
    My question is , how to retrieve a deleted query by name received(that comes with webMethods trading networks).If we cant retrieve plz also help how develop that query.
    Thank you
    Sharath


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


  • 8.  RE: Retrieving a Trading Networks Document

    Posted Wed December 03, 2003 06:09 AM

    How can you query for a document using createdocumentquery and documentquery, when all you have is the documentID and the conversationID? I have several documents in TN that have the same documentid, what make the document unique for me will be the conversationID in where the document was used. I have tried to use the attribute record as part of my search by setting the Attribute name to ConversationID, but that will result in an error, unknown attribute. Does anyone know how you can search for a document by docID and converstaionID?

    –steve


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