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
  • 1.  StateLess property of flow services

    Posted Sun September 04, 2016 01:38 AM

    Hi All,

    I need to extract stateless property of flow/java services.Do any one know what is the corresponding java API which returns the same.

    I have gone through integration server java API “http://techcommunity.softwareag.com/ecosystem/documentation/webmethods/wmsuites/wmsuite9-10/Integration_Server/9-10_Integration_Server_Java_API_Reference/index.html” but not able to get anything on this.

    Thanks
    Baharul Islam


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


  • 2.  RE: StateLess property of flow services

    Posted Sun September 04, 2016 02:56 AM

    Have you looked into WmRoot API services. This API is internal to SAG and that is why it is not exposed publicly in the Java API reference.

    Also if can you share your requirements to assist you further.


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


  • 3.  RE: StateLess property of flow services

    Posted Sun September 04, 2016 05:56 AM

    I’d use the classes Namepase, NSName and the like. They are available in the java services on IS, not on the client side, IIRC. We have once read the property “debug pipeline” this way.


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


  • 4.  RE: StateLess property of flow services

    Posted Sun September 04, 2016 06:05 AM

    I am able to get “debug pipeline” property using “getPipelineOption();” in NSName and NSService classes.But not getting any method to get stateless property.

    Hi Mahesh,
    By Wmroot Java API classes are you referring to ""Integration Server Java API Reference “” guide.Here I am not able to identify any such method to get stateless property.


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


  • 5.  RE: StateLess property of flow services

    Posted Sun September 04, 2016 07:30 AM

    Then I’d change this value and see what gets changed in node.ndf or in flow.xml. Then you’ll have a hint where to look. Some properties do not have getters or these getters are named differently from what one would expect.


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


  • 6.  RE: StateLess property of flow services

    Posted Sun September 04, 2016 07:35 AM

    I’ve found out this. You have to downcast NSService to com.wm.app.b2b.server.BaseService. Then you’ll have isStateless() available.


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