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.  IS EJB Adapter

    Posted Sat September 21, 2002 01:36 PM

    After generating a service from an EJB method, the input for the service is disabled.


    #Integration-Server-and-ESB
    #Adapters-and-E-Standards
    #webMethods


  • 2.  RE: IS EJB Adapter

    Posted Wed October 01, 2003 02:57 PM

    Hello, I have the same dilemma. What object do I pass as the inputs to the ejb service?


    #webMethods
    #Adapters-and-E-Standards
    #Integration-Server-and-ESB


  • 3.  RE: IS EJB Adapter

    Posted Wed November 12, 2003 04:44 AM

    If the input is an object (for example: Account, Employee etc…), you need to write a Java Service to create that object instance and put in the pipeline. Map this pipeline object as the input to the generated service. You need to have the class (jar file) in the IS\lib\jars directory for the server and also in the Developer’s classpath.

    Here is an example:

    User user = new User();
    user.setUserName(“superboy”);
    user.setLocale(new java.util.Locale(“us”, “EN”));

    Object userObject = user;
    IDataCursor idPipeline = pipeline.getCursor();

    idPipeline.insertAfter(“user”, userObject);

    idPipeline.destroy();


    #Adapters-and-E-Standards
    #webMethods
    #Integration-Server-and-ESB