|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Converting a delimited message to XML |
« View previous topic :: View next topic » |
Author |
Message
|
rajmq |
Posted: Sat Jan 25, 2003 4:07 am Post subject: Converting a delimited message to XML |
|
|
 Partisan
Joined: 29 Sep 2002 Posts: 331 Location: USA
|
Hi all,
I am Using WMQ5.3 and WMQI2.1 in Windows NT m/c.
Actually i created a MRM message set. I tried one example which is specifed in WebSphereMQI Deployment and Migration- chapter6. I am trying to convert CSV to XML format.
My Message Flow:
MQInputNode------->ComputeNode--------->MQOutputNode
My Input XML message is: TEST,Mr,TEST@.com,US.Trying to convert this message to XML, i am getting error like....
XML Worker: An internal error occurred .
An internal error occurred during the operation of the XML Worker.
Please contact your IBM support center.
Trace File Details:
2003-01-25 16:11:07.109000 473 UserTrace BIP4060I: Data '(
(0x1000000)Properties = (
(0x3000000)MessageSet = 'DSC743K070001'
(0x3000000)MessageType = 'TEST'
(0x3000000)MessageFormat = 'XML'
(0x3000000)Encoding = 546
(0x3000000)CodedCharSetId = 437
(0x3000000)Transactional = TRUE
(0x3000000)Persistence = FALSE
(0x3000000)CreationTime = GMTTIMESTAMP '2003-01-25 11:17:35'
(0x3000000)ExpirationTime = -1
(0x3000000)Priority = 0
(0x3000000)ReplyIdentifier = X'000000000000000000000000000000000000000000000000'
(0x3000000)ReplyProtocol = 'MQ'
(0x3000000)Topic = NULL
)
(0x1000000)MQMD = (
(0x3000000)SourceQueue = 'TEST'
(0x3000000)Transactional = TRUE
(0x3000000)Encoding = 546
(0x3000000)CodedCharSetId = 437
(0x3000000)Format = 'MQSTR '
(0x3000000)Version = 2
(0x3000000)Report = 0
(0x3000000)MsgType = 8
(0x3000000)Expiry = -1
(0x3000000)Feedback = 0
(0x3000000)Priority = 0
(0x3000000)Persistence = 0
(0x3000000)MsgId = X'414d5120514d5f4e544d45534120202068ed303e20001123'
(0x3000000)CorrelId = X'000000000000000000000000000000000000000000000000'
(0x3000000)BackoutCount = 0
(0x3000000)ReplyToQ = ' '
(0x3000000)ReplyToQMgr = 'QM_NTMESA '
(0x3000000)UserIdentifier = 'db2admin '
(0x3000000)AccountingToken = X'16010515000000fa61d12f52120822f34d0f37ea03000000000000000000000b'
(0x3000000)ApplIdentityData = ' '
(0x3000000)PutApplType = 11
(0x3000000)PutApplName = 'C:\WINNT\System32\mmc.exe '
(0x3000000)PutDate = DATE '2003-01-25'
(0x3000000)PutTime = GMTTIME '12:11:07.090'
(0x3000000)ApplOriginData = ' '
(0x3000000)GroupId = X'000000000000000000000000000000000000000000000000'
(0x3000000)MsgSeqNumber = 1
(0x3000000)Offset = 0
(0x3000000)MsgFlags = 0
(0x3000000)OriginalLength = -1
)
(0x1000008)MRM = (
(0x3000001)FIRST_NAME = 'TEST'
(0x3000001)LAST_NAME = 'Mr'
(0x3000001)EMAIL_ADDR = 'TEST@.com'
(0x3000001)LOCATION = 'US'
)
)
' from trace node 'TEST.Trace2'.
The trace node 'TEST.Trace2' has output the specified trace data.
This is an information message provided by the message flow designer. The user response will be determined by the local environment.
2003-01-25 16:11:07.109000 473 UserTrace BIP4067I: Message propagated to output terminal for trace node 'TEST.Trace2'.
The trace node 'TEST.Trace2' has received a message and is propagating it to any nodes connected to its output terminal.
No user action required.
2003-01-25 16:11:07.109000 473 Error BIP5401E: XML Worker: An internal error occurred .
An internal error occurred during the operation of the XML Worker.
Please contact your IBM support center.
2003-01-25 16:11:07.139999 473 Error BIP5286E: Message Translation Interface Writing Errors have occurred.
Errors have occurred during writing.
Review further error messages for an indication to the cause of the errors.
2003-01-25 16:11:07.139999 473 Error BIP2628E: Exception condition detected on input node 'TEST.MQInput1'.
The input node 'TEST.MQInput1' detected an error whilst processing a message. The message flow has been rolled-back and, if the message was being processed in a unit of work, it will remain on the input queue to be processed again. Following messages will indicate the cause of this exception.
Check the error messages which follow to determine why the exception was generated, and take action as described by those messages.
2003-01-25 16:11:07.139999 473 ImbMqOutputNode::evaluate
2003-01-25 16:11:07.139999 473 XMLWriter::write
2003-01-25 16:11:08.156000 473 UserTrace BIP2638I: MQPUT to queue 'SYSTEM.DEAD.LETTER.QUEUE' on queue manager 'QM_NTMESA': MQCC=0, MQRC=0; node 'TEST.MQInput1'.
The node 'TEST.MQInput1' attempted to write a message to the specified queue 'SYSTEM.DEAD.LETTER.QUEUE' connected to queue manager 'QM_NTMESA'. The MQCC was 0 and the MQRC was 0.
No user action required.
2003-01-25 16:11:08.156000 473 UserTrace BIP2615I: The MQSeries input node 'TEST.MQInput1' has backed out the message to the backout requeue or the dead letter queue.
Message backout processing has been invoked, and the message has either been backed out by being written to the backout requeue or dead letter queue, as determined by the MQSeries queue manager and queue configuration.
No user action required.
Threads encountered in this trace:
473
can anyone help me for above probs.
regs
raj |
|
Back to top |
|
 |
kirani |
Posted: Mon Jan 27, 2003 8:05 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
rajmq wrote: |
My Input XML message is: TEST,Mr,TEST@.com,US.Trying to convert this message to XML, i am getting error like....
|
Shouldn't your input message be TDS? What are the values you specified in your MQInput node for parsing input message? _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
rajmq |
Posted: Tue Jan 28, 2003 12:05 am Post subject: |
|
|
 Partisan
Joined: 29 Sep 2002 Posts: 331 Location: USA
|
Hi,
Thanks for ur Reply
Actuly i am trying this example program from sg240509.pdf(chapter6).
MQInputNode Details:
Messag Domain:MRM
Message Set:DSC743K070001
Message Type:TEST
Message Format:TDS1
regs
raj |
|
Back to top |
|
 |
zpat |
Posted: Tue Jan 28, 2003 1:49 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Download the web materials for that Redbook and use the actual flows and message sets provided (if you haven't already).
They should work. What CSD are you using? |
|
Back to top |
|
 |
rajmq |
Posted: Tue Jan 28, 2003 10:24 pm Post subject: |
|
|
 Partisan
Joined: 29 Sep 2002 Posts: 331 Location: USA
|
Hi
I am not used any CSD level.
can u give the URL path for that Webmaterials.
regds
raj |
|
Back to top |
|
 |
kirani |
Posted: Thu Jan 30, 2003 9:11 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Raj,
I'd recommend that you install latest CSD on your machine.
You can download the Redbook material from this url,
ftp://www.redbooks.ibm.com/redbooks/SG246509/ _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|