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.  How to import java service programatically into IS

    Posted Thu August 30, 2007 03:51 PM

    I am creating java services to call CICS transactions on the mainframe using an IBM product called CTG. We currently have a java code generation process that exposes 500+ services implemented as CICS transactions. This generated code encapsulates the CTG and makes it pretty simple to expose these java methods as java services in IS. I have written a code generator that reflects on this generated code and creates XSD and java service code for each of these APIs. I can import my java code using jcode, but with over 500 of these to do, I would like to find some way to create the input and output documents for each of these programmatically, rather than manually importing 1000+ document types from XSD (1 request and 1 response for each service) in Developer.

    Ideally, I would like a utility like jcode to import the document types for these, but that doesn’t exist.

    Is there an API I can use to import these into IS?

    Am I left with inferring the .ndf schema and generating that?

    Or is my only option to sit down and start creating all of this manually?

    Any ideas or advise is welcome.

    ]Monty[


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


  • 2.  RE: How to import java service programatically into IS

    Posted Sat September 01, 2007 02:55 PM

    I would try to un-hide the WmRoot package and look inside there for some internal services, which might help. (There’s probably one that creates doc type.) Of course, usage of these services are not supported so experiment in a sandbox environment.
    One other thing… Try to split out the elements (java services and doc types) into multiple packages in logical manner.


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


  • 3.  RE: How to import java service programatically into IS

    Posted Wed March 16, 2011 11:55 AM

    For unhide WmRoot package we need to set the following property in extended settings

    settings.watt.server.ns.hideWmRoot=False


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