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

How to pass inputs to custom immediate delivery service?

  • 1.  How to pass inputs to custom immediate delivery service?

    Posted Tue February 26, 2008 12:29 PM

    Hello All,

    I created an immediate delivery service (FTP) and registered it. Now in this service I want to get the FTP parameters: host, post, user, password and path when the service is invoked by TN. I am invoking this in processing rule’s Action: Deliver document by → Immediate delivery → The new delivery service I created.

    I did not get any chance to set inputs in the receive partners profile or processing rule. Can anyone tell me how I can achieve this (Similar to scheduled delivery service)?

    Cheers
    Guna


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


  • 2.  RE: How to pass inputs to custom immediate delivery service?

    Posted Tue February 26, 2008 04:43 PM

    Custom delivery services must conform to a particular service specification. When TN invokes the service, it will pass particular inputs and expect particular outputs. Nothing more, nothing less.

    If you need additional control/configuration inputs, the custom service will need to get them from somewhere. I’ve successfully used an XML formatted configuration file in past projects.


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


  • 3.  RE: How to pass inputs to custom immediate delivery service?

    Posted Wed February 27, 2008 05:12 AM

    Hi Reamon,

    Thanks. :slight_smile:

    And if I can make the delivery service much like ‘primaryHttp’ or ‘primaryFtp’ which pick destination details from receiver partner’s profile then it will be better (Atleast I need not to update the config file whenever the receive partner changes)

    Cheers
    Guna


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


  • 4.  RE: How to pass inputs to custom immediate delivery service?

    Posted Wed February 27, 2008 05:39 PM

    Exactly right. Your custom delivery service can do things exactly like the built-in services, reading from the profiles and such. In fact I forgot to mention that custom delivery services I’ve done always read partner-specific settings from the profiles–sometimes from profile extended fields.

    I use config files for protocol, non-partner specific, options.


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