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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  How to include Custom Attribute in TN Delivery Method url.

    Posted 12/06/12 06:01 AM

    Hi,

    we are delivering xml using Immediate delivery method in TN Profile.
    i want to add one of the attribute in the xml content to the delivery url.
    do we have any service which can be used to add the custom attributes to the delivery method url. Please help me if any one has idea about this.

    Thanks in Advance.
    Santhosh


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


  • 2.  RE: How to include Custom Attribute in TN Delivery Method url.

    Posted 12/06/12 07:49 AM

    wm.tn.docattr:add - to add an attribute to a document type
    wm.tn.doc:setAttribute - to set an attribute to a bizdoc
    wm.tn.doc:updateAttributes - to update the value of attribute assigned to a bizdoc

    HTH
    Senthil


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


  • 3.  RE: How to include Custom Attribute in TN Delivery Method url.

    Posted 12/19/12 02:27 PM

    Hi Senthil,

    Thanks for replying.

    Actually i am looking to add an attribute in the URL which is mentioned in the delivery method in partner profile. i want to extract the attribute which is already present in the xml file and add it in the URL while posting to it.


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


  • 4.  RE: How to include Custom Attribute in TN Delivery Method url.

    Posted 12/19/12 02:51 PM

    What you can do is try this logic to get the URL from the delivery method as steps below:

    tn.profile:getProfile (based on the receiver/ProfileID in the pipeline from TN)
    Loop thru profile/Delivery
    Branch on sequence
    %profile/Delivery/Protocol%==“https” || %profile/Delivery/Protocol%==“http”
    Inside this put a map step - receiverHttpURL var (setValue with substitution as
    %profile/Delivery/Protocol%://%profile/Delivery/Host%:%profile/Delivery/Port%%profile/Delivery/Location%)

    receiverHTTPURL should have the URL what you need:

    HTH,
    RMG


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