|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
XML Message Validation with DTD in MRM domain |
« View previous topic :: View next topic » |
Author |
Message
|
asamanta |
Posted: Thu Oct 16, 2003 5:30 am Post subject: XML Message Validation with DTD in MRM domain |
|
|
Novice
Joined: 20 Aug 2003 Posts: 18
|
Two XML messages are like this:
1st XML:
<fsxml>
<item1>
<ardh>vbn</ardh>
<bas>dfdf</bas>
</item1>
</fsxml>
2nd XML:
<fsxml>
<item2>
<ardh>vbn</ardh>
<bas>dfdf</bas>
</item2>
</fsxml>
I have the respective DTD using XMLSpy. As both the message having the same initial tag i,e <fsxml>, how i will create two messages under one message Set, which in turn help me to use same element repeatedly.
Can i create two messages under one Message Set, otherwise i need to create individual Message Set for each Mesasge.
Anybody please have any idea???
Cheers!!
sam |
|
Back to top |
|
 |
kimbert |
Posted: Fri Oct 17, 2003 4:40 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Sam,
Try setting the message property 'Root Tag Name' to 'fsxml'. (its on the XML properties for a message). This will cause the <fsxml> element to be ignored when the messages are parsed.
If all the messages in your message set have the same root tag, you can set the root tag for the whole message set. Its on the XML properties for a message set. |
|
Back to top |
|
 |
asamanta |
Posted: Fri Oct 17, 2003 5:43 am Post subject: |
|
|
Novice
Joined: 20 Aug 2003 Posts: 18
|
HI Kim,
without changing root to tag- property to 'fsxml' , it parses with below found error in trace file:-
In debug mode, it is making MRM tree but instead of going to output queue, it is going to DLQ from failure of input queue.
It is parsing but getting this error in trace file
BIP5354E: MTI internal error: diagnostic information 'Unexpected actualType for Element'
Please share your expertise..
Thanks for your time
sam |
|
Back to top |
|
 |
kimbert |
Posted: Tue Oct 21, 2003 3:15 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Sam,
1. Can you show me the DTD which you are using. It may help with the diagnosis.
2. I assume that the input message is the same as the one you posted before.
3. From your last post, I was not sure whether you are using 'Root Tag Name' or not - can you clarify that.
4. Finally, could you cut and paste the message tree from the trace file, so that I can inspect some of the details.
thanks,
Tim Kimber |
|
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
|
|
|
|