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
Expand all | Collapse all

Get Processing Rules from TN

  • 1.  Get Processing Rules from TN

    Posted Wed January 26, 2005 03:46 PM

    Hello,

    does anybody know how to get info about processing rules via the Developer (the same info we can see in TN)?

    thank you


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


  • 2.  RE: Get Processing Rules from TN

    Posted Wed January 26, 2005 08:11 PM

    wm.tn.route:list – try this service


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


  • 3.  RE: Get Processing Rules from TN

    Posted Thu January 27, 2005 09:12 AM

    thanks, but as a result of the service execution I get the “rule” record which contains only one object “contents”.

    Does anyone have an idea how to extract the data from this object? I didn’t find the description of the record in the docs.

    thanks


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


  • 4.  RE: Get Processing Rules from TN

    Posted Mon January 31, 2005 01:29 PM


  • 5.  RE: Get Processing Rules from TN

    Posted Fri March 11, 2005 11:10 AM

    Hi,

    Developer is not opening from trading network console.So while creating processing rule i could not select services in developer.Tell me what is wrong.

    with regards,
    venkat


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


  • 6.  RE: Get Processing Rules from TN

    Posted Fri March 11, 2005 02:16 PM

    Hi Venkata Ramana,
    Can you please upload the package that has the above java service.I need to get contact details from tn profiles in the same way.Thank you in advance.(If you cannot upload it here please mail to saritha_veturi@yahoo.com)

    Regards,
    Saritha


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


  • 7.  RE: Get Processing Rules from TN

    Posted Mon November 07, 2011 12:16 PM

    Would you please advise how to extract the data from the “contents”? thanks.


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


  • 8.  RE: Get Processing Rules from TN

    Posted Mon November 07, 2011 12:36 PM

    Do you mean, how to extract from bizdoc>contents? If so, use wm.tn.doc.xml:bizdocToRecord service. If you are referring to something else where you see the content in bytes format, use pub.string:bytesToString service

    HTH
    Senthil


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


  • 9.  RE: Get Processing Rules from TN

    Posted Tue November 08, 2011 12:57 AM

    Sorry I mean how to extract from the wm.tn.route:list output (rules/contents), it is something like [>>>BasicData:RuleID=5f031b005gvf8k3g00000012,RuleName=Process AS2 Inbound acknowledge_po_008,RuleIndex=0,Senders=[0ahoqo005drkl7li000001v6],… Thanks for reply.


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


  • 10.  RE: Get Processing Rules from TN

    Posted Thu November 10, 2011 03:49 AM

    I hope, you are looking for retrieving the processing rules from this content. I could not find any service that lists the Processing Rules. The output string from this service displays a standard ff structure (see below). This data can be made as readable IS doc by creating a ff schema to parse the structure, but it just depends on what is your exact requirement.

    BasicData:
    RuleID=518ro2006d5f46n100000006,
    RuleName=Test Rul,
    RuleIndex=0,
    Senders=null,
    Receivers=null,
    SendersGroup=null,
    ReceiversGroup=null,
    DocTypes=null,
    UserStatuses=null,
    Disabled=false,
    LastModifiedTime=2011-10-28 20:12:13.993,
    SenderNames=null,
    ReceiverNames=null,
    SendersGroupNames=null,
    ReceiversGroupNames=null,
    DocTypeNames=null,
    MwSDLSViewPrivilege=false,
    MwSDLSEditPrivilege=false
    <<<,

    HTH
    Senthil


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


  • 11.  RE: Get Processing Rules from TN

    Posted Thu November 10, 2011 03:59 AM

    Yes, i am going to retrieve the processing rule information. And I think the output object is the encoded bytes, a Java service like decode from bytes should work and I am looking for an easy way to extract the info without create a new Java service. thanks a lot for your advice.


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


  • 12.  RE: Get Processing Rules from TN

    Posted Thu November 10, 2011 04:50 AM

    Hi gordon,
    Use pub.string: objectToString service and pass the object ‘rules’ (output of wm.tn.route:list) as input. The output data is comma delimited flat file string.

    Regards
    Senthil


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


  • 13.  RE: Get Processing Rules from TN

    Posted Thu November 10, 2011 05:51 AM

    Thanks Senthil. And is there any service can decode the output of wm.tn.route:list to a IS document directly? I think it is a encoded Java object, but can’t find any service can decode it.


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


  • 14.  RE: Get Processing Rules from TN

    Posted Thu November 10, 2011 04:06 PM

    There isnt any service to parse it to IS document directly:


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