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

Calling flow service from Java service

  • 1.  Calling flow service from Java service

    Posted Sun September 19, 2004 11:17 PM

    Hi,
    I would like to call a flow service from a Java service.
    Can anyone tell me how this can be done?
    How can I set the input and get the output of the flow service from within the Java service?

    Thanks
    Victor


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: Calling flow service from Java service

    Posted Mon September 20, 2004 12:22 AM

    Victor,

    Use the Search functionality provided in this site,lot of threads have been discussed on this type of question.

    Anyways Check this thread link,
    [url=“wmusers.com”]wmusers.com

    HTH,
    RMG.


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 3.  RE: Calling flow service from Java service

    Posted Wed August 06, 2008 09:06 PM

    Yes. The easiest way to do this for Integration Server:

    1. In Developer, select the service you want to call.
    2. Select Tools | Generate Code… from the menu.
    3. Select “For calling this service from another service” and click Next.
    4. Select the options desired and click Next.

    The code will be placed on the clipboard. You can paste it into your Java service.

    You mention that you’re new to Integration Server, so I’d offer that you may want to be wary of doing too much work within Java services. People new to IS tend to want to write Java services when they don’t have to. Of course there are times when Java must be used but for most integration tasks, it doesn’t.


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods