Hi Everyone,
I am new to the group & webMethods environment. We are using webMethods for the first time in one of our pilot project.
We are developing a utility, which takes a service name as input and the data in an XML format. The Utility constructs the NSName, input IData and Invokes the service by calling Service.doInvoke. IData is a document contains collection of various objects or string.
My job is to construct the appropriate document from the given XML. I can pull the elements and its value from the XML. The document element names are exactly same as XML element names, but I do not know the data type of the document element.
For example: If one of the elements of the document is Date object and the name is TodayDate. The XML has TodayDate element with a value 2006-01-30. I need to convert this to java.util.Date object and assign to the document element, TodayDate… I do not know the element data type of the document; the client is not providing the document info. Is there any way to find what type of input the service takes before invoking the Service.doInvoke. Please help me.
Thanks
Neel
#webMethods#Flow-and-Java-services#Integration-Server-and-ESB