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.  Calling a Java service

    Posted 04/23/10 10:59 AM

    Hi

    How to call a my own java service with in another java service? :confused:

    Thanks in advance


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


  • 2.  RE: Calling a Java service

    Posted 04/24/10 12:30 AM


  • 3.  RE: Calling a Java service

    Posted 04/27/10 11:09 AM

    If your java services are in the same directory you can call them directly with their name and with an iData in parameter.

    ex:
    with a java service named java1
    with a java service named java2

    inside java1 just call

    java2(pipeline);

    but not sure it’s a good practice.


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


  • 4.  RE: Calling a Java service

    Posted 04/27/10 01:22 PM

    Service.doInvoke() which is present in the package com.wm.app.b2b.server.Service
    please see the API to use this method doInvoke()

    wM pros please correct me if I am wrong


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


  • 5.  RE: Calling a Java service

    Posted 04/28/10 02:48 AM

    Yes, you are correct, doInvoke() will invoke any service with the given input parameaters, which is published to the server.


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