RMG,
We receive a xml file which has some order information. We convert that xml file into record structure based on the schema provided by the sender(Another Application). Here is the source record Structure
Header(1-infinity)/Details(1-infinity). Loop through header and map the values into the target format. The target Schema defined like this
THeader(1-infinity)/TDetails(1-infinity).
For each Header we will be creating one THeader and validate this THeader Record(not list) against the target schema if it validates then convert this into xml and send it to the target. Continue until all the Header is completed. Then the process ends.
The problem is the target schema the THeader is defined as 1-infinity so when we create the record out of Schema it creates the THeader as record List. When we loop through the Header we put the THeader in the out array so inside the loop THeader will always be a record (not list). When we do the validation for some reason the validation service throws the above exception.
Any suggestions?. please let me know if my explanation is not clear.
Thanks,
Muru.
#Flow-and-Java-services#webMethods#Integration-Server-and-ESB