Author |
Message
|
santy |
Posted: Mon Feb 04, 2013 3:37 am Post subject: WMB:v6.1.03 - FileInput Node - XMLNSC Immediate Parsing |
|
|
Centurion
Joined: 03 Nov 2006 Posts: 141
|
Hi,
I've 2 scenarios - wherein - the message flow receives a file which contains multiple XML messages with namespaces - FileInput Node picks up the messages - FileInput node uses XMLNSC parser with parsing option set to "Immediate" and validate option is set to 'Content and Value'.
If a input file contains 20 XML messages FileInput node processes the message correctly, but if file contains 30 XML messages FileInput node fails the processing of the messages.
If I use parsing option as 'On Demand' then File Input node can easily process the same file with 30 messages in it.
Please can somebody help me in understanding this reason? |
|
Back to top |
|
 |
smdavies99 |
Posted: Mon Feb 04, 2013 4:03 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
From my experience, 6.1.0.3 was pretty poor with the handling XML data in the fileinput nodes. When I used it, we had no end of problems that were cured by moving to 6.1.0.5 and then to 6.1.0.9.
Before anyone else pipes in, V6.1 goes out of support very soon. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
santy |
Posted: Mon Feb 04, 2013 4:07 am Post subject: |
|
|
Centurion
Joined: 03 Nov 2006 Posts: 141
|
Sorry my mistake I'm using toolkit version 6.1.0.4.
But still because now I'm using this flow, please can you advice about the reason why FileInput node is behaving differently for the same file when parsed option is changed from 'Immediate' to 'On Demand'. |
|
Back to top |
|
 |
smdavies99 |
Posted: Mon Feb 04, 2013 4:45 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
When it does not work what errors are produced?
Perhaps there is a max occurs limit that is being breached? _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
santy |
Posted: Mon Feb 04, 2013 4:59 am Post subject: |
|
|
Centurion
Joined: 03 Nov 2006 Posts: 141
|
It says 'XML Errors have occured'. It could have reached the maximum limit but how could I figure it out? |
|
Back to top |
|
 |
kimbert |
Posted: Mon Feb 04, 2013 5:29 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Quote: |
It says 'XML Errors have occured'. It could have reached the maximum limit but how could I figure it out? |
By using the diagnostic facilities that IBM provides with the product. What have you tried so far?
Quote: |
FileInput node uses XMLNSC parser with parsing option set to "Immediate" and validate option is set to 'Content and Value'.
If a input file contains 20 XML messages FileInput node processes the message correctly, but if file contains 30 XML messages FileInput node fails the processing of the messages. |
How large are these XML messages? How large was the message that was being parsed when it failed?
One approach would be to switch on user trace ( not service trace ) and retry the test. At least you will get to see the full text of the error message. 'XML Errors have occurred' doesn't help very much. |
|
Back to top |
|
 |
nathanw |
Posted: Mon Feb 04, 2013 5:35 am Post subject: |
|
|
 Knight
Joined: 14 Jul 2004 Posts: 550
|
your tooklit is 6.1.0.4 but what is your runtime? _________________ Who is General Failure and why is he reading my hard drive?
Artificial Intelligence stands no chance against Natural Stupidity.
Only the User Trace Speaks The Truth  |
|
Back to top |
|
 |
santy |
Posted: Tue Feb 05, 2013 3:10 am Post subject: |
|
|
Centurion
Joined: 03 Nov 2006 Posts: 141
|
|
Back to top |
|
 |
nathanw |
Posted: Tue Feb 05, 2013 4:17 am Post subject: |
|
|
 Knight
Joined: 14 Jul 2004 Posts: 550
|
I cannot see the link either I suggest you use the report function that the page takes you to to inform IBM that the link is no longer valid / broken _________________ Who is General Failure and why is he reading my hard drive?
Artificial Intelligence stands no chance against Natural Stupidity.
Only the User Trace Speaks The Truth  |
|
Back to top |
|
 |
|