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

what's difference between context.invoke and com.wm.app.b2b.server.Service.doInvoke

  • 1.  what's difference between context.invoke and com.wm.app.b2b.server.Service.doInvoke

    Posted Fri May 16, 2014 05:43 PM

    I saw these two kinds of invoking flow services at difference places. My guess is context.invoke is used for clients outside of webMethods. and Service.doInvoke is used for building webMethod java services. Is my guessing right?


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


  • 2.  RE: what's difference between context.invoke and com.wm.app.b2b.server.Service.doInvoke

    Posted Sat May 17, 2014 01:24 AM

    Service.doInvoke can be used to call a flow service within a java service

    For eg:, Service.doInvoke(“pub.flow”,“debugLog”, input);

    context.invoke - I will check and tell you what it is :slight_smile:

    For more information refer webMethods JAVA API.

    -HTH


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


  • 3.  RE: what's difference between context.invoke and com.wm.app.b2b.server.Service.doInvoke

    Posted Sat September 27, 2014 11:55 AM

    The context class requires you to establish a connection to webMethods server before invoking the invoke method. Also the services called from context.invoke are not submitted from webMethods guaranteed delivery


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