Posted: Thu Jan 12, 2006 9:09 pm Post subject: XML Interface cannot handle Data Container Arrays ??
Novice
Joined: 14 Dec 2004 Posts: 11
The first activity of my process template expects an input data structure which has few of the members as arrays (each is an array of sub-datastructures). Following is the structure of the complete data structure.
The process fails to instantiate. Inside the same above message if I repeat the following tag twice, it works !!!
<ECOSupporter>
<ECOSupporterId>FTLSUPPORTER1</ECOSupporterId>
</ECOSupporter>
If I send only one ECOSupporter, MQ Workflow is not able to map it to the input container of process and the process does not start. Is that how MQWorkflow is expected to behave ?? Is it necessary for me to send atleast two tags for any data container member which is an array ???
Posted: Fri Jan 13, 2006 11:07 pm Post subject: XML Interface cannot handle Data Container Arrays ??
Novice
Joined: 14 Dec 2004 Posts: 11
Thanks a lot for your response.
Is there a better solution to the problem then. I am finding it difficult to put in a restriction on the XML sender to mandatorily send atleast 2 tags.
Can I set up the input data container in any way to be able to handle one tag also? Is it possible to make changes in the Workflow model or the Data structures in any way such that the XML sender can send one or more tags.
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
If he is taking trouble to form an XML that complies to Workflow standard then why can't he do just the extra step. It is well documented in the workflow programming manual.
Ask the sender to put it on a different queue and you write a program to change the xml and put it to EXEXMLINPUTQ.
If not ask the person putting to change his program.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum