> I’d like to fetch a document type from the server
> and get an IData object for me to manipulate.
Hi James - By “document type”, do you mean a webMethods record structure?
If so, the problem is that an IData element represents an instantiation of a data structure – not the abstract data structure record itself. For instance, a webMethods record (or schema) may have an element whose value must be one of a pick-list. In such a case, any IData structure for this element generated must be told which value to “pick”.
If you want to just programatically inspect IData structures, try this - create a new Java service, put complex records in the input and output of the service, then click on “Compose/ Generate Code” and have developer generate the Java code for inpecting input and output. From the Java code genereated, you should get useful tips for programatically inspecting IData structures yourself.
If you want to programatically manipulate record definitions, I haven’t come across anything that does this - I think you’d need to ask webMethods.
#Flow-and-Java-services#Integration-Server-and-ESB#webMethods