webMethods

webMethods

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.  Querying Network Trading console

    Posted Fri June 04, 2004 12:31 AM

    Hello, I am new to webMethods and I have a hopefully easy question:

    I need to query the Network Trading Console for specific error messages that might have occurred during message processing. I’ll need to return several bits of information such as document ID, receiver, sender. I found the documentation on the Trading Networks and it appears that I would use Wm.tn.query:documentQuery. If I am on the right path then please advise. Also, anyone know where I can find some examples of these queries. In other words I want to be able to perform a query from a service/flow; of the Trading Network in much the same way as the Trading Networks Console. Thank you


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


  • 2.  RE: Querying Network Trading console

    Posted Fri June 04, 2004 02:05 PM

    You are on the right path with using Wm.tn.query:documentQuery. In order to use that service you first need to create the actual query that you wish to run using the following service: Wm.tn.query:createdocumentQuery
    You first use this service in order to specify the parameters of the query you wish to run. The output of this service will be a query object that you will then map into the Wm.tn.query:documentQuery service. Wm.tn.query:documentQuery will then based on the query you defined return a result set if any documents matched your query.


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


  • 3.  RE: Querying Network Trading console

    Posted Fri June 04, 2004 03:25 PM

    Evil,

    Please check this thread below which elaborately specified about how to use the above mentioned services with correct inputs.

    [url=“wmusers.com”]wmusers.com

    HTH,


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


  • 4.  RE: Querying Network Trading console

    Posted Tue June 08, 2004 09:49 PM

    RMG: Yes I read that thread a while back. Let me describe what I want to do in the form of an SQL query:

    SELECT * FROM <tradingnetwork> WHERE UserStatus = ‘OUT-OF-SYNCH’

    That is very simple, however I do not have any documentID, messageType etc… I just want to simply return a result set based on UserStatus column’s value.


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


  • 5.  RE: Querying Network Trading console

    Posted Tue June 08, 2004 10:52 PM

    Evil,

    Just you need to set UserStatus=‘OUT-OF-SYNCH’,timeInterval=ANYTIME in the createDocumentQuery service and select option disablePaging=true in the documenQuery service.This gives the results as expected.

    HTH,


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