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.  wmPRT

    Posted Wed January 06, 2010 12:12 PM

    Hi,

    What is use of pub.prt.correlate.establishCorrelation service?


    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: wmPRT

    Posted Wed January 06, 2010 12:30 PM

    Hi,

    If you have two action model ie. if you are receiving a document from partner and sending back the response to trading partner, so you will send the original document received from partner to backend systems through model actions and then wait for response from backend systems to come, so that you can correlate the response document with the already running instance.
    Here you will need the correlation service where you will constitute the logic so that the same document will be linked to already running instance, as a result the response document will be processed and sent to trading partner.

    Hope it helps, let me know if you need more clarifications.

    cheers!
    nD


    #webMethods-General
    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: wmPRT

    Posted Wed January 06, 2010 12:55 PM

    In addition to above comment, one action model which is having acknowledement part also have establishCorrelation to join into right process instance.

    One Action Model/process:
    Sender send document to Receiver
    Receiver send acknowledgment back to Sender

    Two Action model/Process:
    Sender send request document to Receiver
    Receiver send acknowledgment back to Sender for request document
    Sender send response doc to Receiver in the same process
    Receiver send acknowledgment back to Sender for response document


    #webMethods
    #webMethods-General
    #Integration-Server-and-ESB


  • 4.  RE: wmPRT

    Posted Wed January 06, 2010 03:11 PM

    Hi ,
    the severvice mentioned above is we are using in process model step.Input to this step we are giving one document.out put of this step we are giving many steps.as per your responce you explianed like Trading partners.we are not using here Trading partners.how it works in case of processmodels?please explain me clearly.


    #webMethods-General
    #Integration-Server-and-ESB
    #webMethods


  • 5.  RE: wmPRT

    Posted Wed January 06, 2010 08:38 PM

    If you are not using TN processing/Partners then select MappingType:IS and later if any document is joining in the middle/any point in the process (PID) thats part of pub.prt:processData it gets associated/correlated.

    pub.prt.correlate.establishCorrelation
    What the service does is:
    Sets up a correlation between a correlation ID and a process ID or between a conversation ID (for a Trading Networks document) and a process ID.

    HTH
    RMG


    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB