Author |
Message
|
elvis_gn |
Posted: Wed May 11, 2005 3:17 am Post subject: [Solved] XML interface problem |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi,
I am using the java application (the standard one) from this site.
The output XML generated by the program is below.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<WfMessage>
<WfMessageHeader>
<ResponseRequired>Yes</ResponseRequired>
<UserContext>ERROR</UserContext>
</WfMessageHeader>
<ProcessTemplateCreateAndStartInstance>
<ProcTemplName>Test_template</ProcTemplName>
<ProcInstName>Test_template#1</ProcInstName>
<KeepName>false</KeepName><ProcInstInputData>
<TestDefinitionDS>
<Code>1ndSKU<Code>
<CUDStat>New</CUDStat>
<Status>Y</Status>
</TestDefinitionDS>
</ProcInstInputData>
</ProcessTemplateCreateAndStartInstance>
</WfMessage>
I have created a UPES with a qmgr and queue different from the FMCQM.
The XML created remains in the input queue. The error i found in the admin utility were.
FMC01101E The XML document is not a valid MQ Workflow XML document.
FMC01106E The backout count of the XML document exceeds the allowed maximu. The XML document cannot be processed.
Help......
Last edited by elvis_gn on Thu May 12, 2005 9:49 pm; edited 1 time in total |
|
Back to top |
|
 |
mqmhr |
Posted: Wed May 11, 2005 3:52 am Post subject: |
|
|
Centurion
Joined: 28 Dec 2004 Posts: 105
|
Do you notice the missing / for Code tag
Quote: |
<Code>1ndSKU<Code> |
Perhaps, you could retry after changing it to </Code> |
|
Back to top |
|
 |
elvis_gn |
Posted: Wed May 11, 2005 4:17 am Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Yes that seemed to be one of the problems. Thanks.
I got the other one fixed too. Now i am able to create the instances using the default FMCQM(queue manager) and its queues.
Is it not possible to use any other queue manager apart from the default of that of FMC.....
When i used "TESTQM" and some "QUEUE" as the UPES parameters and put the message into it, i got the error:
MQRC_UNKNOWN_REMOTE_Q_MGR in the fmcerr.log........even though qmgr exists.
am i doing something wrong?? |
|
Back to top |
|
 |
Ratan |
Posted: Wed May 11, 2005 6:02 am Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
I did not understand your question. To do a ProcessTemplateCreateandStartInstance the XML should always be put to EXEXMLINPUTQ on WF Server's QM (FMCQM, unless changed).
A UPES Queue can reside on any QM. Just join the that QM in WF QM's cluster. _________________ -Ratan |
|
Back to top |
|
 |
elvis_gn |
Posted: Wed May 11, 2005 8:54 pm Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
[color=white]To do a ProcessTemplateCreateandStartInstance the XML should always be put to EXEXMLINPUTQ on WF Server's QM (FMCQM, unless changed).
[/color]
Thats what i wanted to confirm.
So i can actually use any queue and any QM as long as its part of the FMCQM cluster ???
Am i right ??[/quote] |
|
Back to top |
|
 |
elvis_gn |
Posted: Wed May 11, 2005 10:25 pm Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi
i included my QM as a part of the cluster FMCGRP and then dumped XML messages into a queue "INPUT_Q" belonging to this QM.....
In the UPES i gave QM and INPUT_Q as the parameters.
Its not working.....workitems are not created. The error logs dont show anything. The message exists in the INPUT_Q.
Do i have to make any other changes ?? |
|
Back to top |
|
 |
jmac |
Posted: Thu May 12, 2005 5:26 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
elvis_gn wrote: |
So i can actually use any queue and any QM as long as its part of the FMCQM cluster ???
Am i right ?? |
NOPE.... you have to put to EXEXMLINPUTQ... thats the only Queue that MQWF looks at for XML input. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
|