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

JCode and Output document Type

  • 1.  JCode and Output document Type

    Posted Wed August 23, 2006 06:25 AM

    I have a java source file that I use JCode to import into IS. The service is created except that I haven’t been able to figure out how to specify the type of document as an output of a service.

    I have a document type, CanonicalDealer, that is based on an XSD, the following is the template that I’ve been using:

    // — <<IS-START(getDealerByPostcode)>> —
    // [i] field:0:required name
    // [o] document:0:required pub.PMAService.Schemas:CanonicalDealer
    System.out.println(“Testing”);
    // — <> —

    This creates a document output named “pub.PMAService.Schemas:CanonicalDealer” rather than based on that type. If I set it to be the document and give it another name, JCode complains about the semi-colon.


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