Author |
Message
|
SphereOfLove |
Posted: Mon Aug 25, 2014 8:28 am Post subject: DFDL Serialize Error |
|
|
Apprentice
Joined: 13 May 2014 Posts: 38
|
I have created a DFDL Model for Fixed length records, and able to parse it correctly, but when it parsed, it shows the following content which contains some unreadable characters where it found spaces or blank data in the input file.
-------Also when i serialize the data it gives me the Following Error
"Aug 25, 2014, 9:26:15 AM info: The default value of '%LF;' was assigned to variable 'outputNewLine' in namespace 'http://www.ogf.org/dfdl/dfdl-1.0/'.
[dfdl = /MeezanMCommLib/CommonModels/RGFTReqMsg.xsd, scd = , 133]
Aug 25, 2014, 9:26:15 AM info: Offset: 0. Starting to process the DFDL info set.
"
Thanks |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Aug 25, 2014 12:02 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
??
Your log does not show any error information. Only informational output.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
SphereOfLove |
Posted: Mon Aug 25, 2014 9:26 pm Post subject: |
|
|
Apprentice
Joined: 13 May 2014 Posts: 38
|
fjb_saper wrote: |
??
Your log does not show any error information. Only informational output.  |
That is true, but when i 'Click' Test Serialize Model, it fails and in addition to that when i use that model in 'TCPIP' Input node, the message routes to the Catch terminal with the following Error.
========================2014-08-25 06:54:27.783406===============
( ['MQROOT' : 0x1c7d2f0]
(0x01000000:Name):RecoverableException = (
(0x03000000:NameValue):File = 'F:\build\slot1\S900_P\src\DataFlowEngine\TemplateNodes\ImbOutputTemplateNode.cpp' (CHARACTER)
(0x03000000:NameValue):Line = 326 (INTEGER)
(0x03000000:NameValue):Function = 'ImbOutputTemplateNode::processMessageAssemblyToFailure' (CHARACTER)
(0x03000000:NameValue):Type = 'ComIbmTCPIPClientOutputNode' (CHARACTER)
(0x03000000:NameValue):Name = 'balanceEnquiryMsgFl#FCMComposite_1_5' (CHARACTER)
(0x03000000:NameValue):Label = 'balanceEnquiryMsgFl.TCPIP Client Output' (CHARACTER)
(0x03000000:NameValue):Catalog = 'BIPmsgs' (CHARACTER)
(0x03000000:NameValue):Severity = 3 (INTEGER)
(0x03000000:NameValue):Number = 2230 (INTEGER)
(0x03000000:NameValue):Text = 'Caught exception and rethrowing' (CHARACTER)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 14 (INTEGER)
(0x03000000:NameValue):Text = 'balanceEnquiryMsgFl.TCPIP Client Output' (CHARACTER)
)
(0x01000000:Name ):ParserException = (
(0x03000000:NameValue):File = 'F:\build\slot1\S900_P\src\MTI\MTIforBroker\DfdlParser\ImbDFDLErrorHandler.cpp' (CHARACTER)
(0x03000000:NameValue):Line = 314 (INTEGER)
(0x03000000:NameValue):Function = 'ImbDFDLErrorHandler::handleSerializerErrors' (CHARACTER)
(0x03000000:NameValue):Type = 'ComIbmTCPIPClientInputNode' (CHARACTER)
(0x03000000:NameValue):Name = 'balanceEnquiryMsgFl#FCMComposite_1_1' (CHARACTER)
(0x03000000:NameValue):Label = 'balanceEnquiryMsgFl.TCPIP Client Input' (CHARACTER)
(0x03000000:NameValue):Catalog = 'BIPmsgs' (CHARACTER)
(0x03000000:NameValue):Severity = 3 (INTEGER)
(0x03000000:NameValue):Number = 5831 (INTEGER)
(0x03000000:NameValue):Text = 'An error occurred whilst serializing with DFDL' (CHARACTER)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 5 (INTEGER)
(0x03000000:NameValue):Text = 'CTDU4076E: The DFDL serializer cannot output the text representation of element '#xscd(/schemaElement::testModel/type::0/model::sequence/schemaElement::PAN)'. The serialized string value '' with length '0' is less than the declared length '25'' (CHARACTER)
)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 5 (INTEGER)
(0x03000000:NameValue):Text = '/DFDL/testModel/PAN' (CHARACTER)
)
)
)
) |
|
Back to top |
|
 |
smdavies99 |
Posted: Mon Aug 25, 2014 9:59 pm Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
The error here seems remarkably familiar.
how does this post differ from your previous one?
here --> http://www.mqseries.net/phpBB2/viewtopic.php?t=68273
Have you searched this forum for other similar posts? I seem to recall that termination characters have been the subject of a few threads. _________________ 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 |
|
 |
SphereOfLove |
Posted: Wed Aug 27, 2014 2:43 am Post subject: |
|
|
Apprentice
Joined: 13 May 2014 Posts: 38
|
smdavies99 wrote: |
The error here seems remarkably familiar.
how does this post differ from your previous one?
here --> http://www.mqseries.net/phpBB2/viewtopic.php?t=68273
Have you searched this forum for other similar posts? I seem to recall that termination characters have been the subject of a few threads. |
The problem has not been resolved, but i can send message through a message Flow. I can pass the message which goes to out terminal of TCPIP node, but still through error to the Catch terminal.
Any sugession? |
|
Back to top |
|
 |
smdavies99 |
Posted: Wed Aug 27, 2014 3:10 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
What errors are you getting when a message is output?
Perhaps there is another issue? _________________ 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 |
|
 |
fjb_saper |
Posted: Wed Aug 27, 2014 4:17 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Locked the other thread and repeating my question:
What is the padding information in the schema on element PAN.
See pad-kind etc...
The error points to your schema. You did not tell it how to handle a field with a null string and a size of 25.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|