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

Create DocumentType from JavaService

  • 1.  Create DocumentType from JavaService

    Posted Tue April 29, 2014 08:57 AM

    Greetings,

    I’ve a ticket to create a java service that should create a document type on the integration server. Now as this is quite simple with Designer/Developer I’m interested in doing it automatically with a service. I have an object that contains properties like XMLNamespace, Required, Allow null (FieldDesc). With a FieldDesc i have a descriptor for each field, and a String doctypeName. How can I create a doctype on the server? I can create a NSNode with Namespace.current().makeNode(NSName.create(doctypeName)) but how can i put in the fields?

    Thanks,
    Jozsef


    #webMethods-General
    #Integration-Server-and-ESB
    #webMethods