ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » XML Message Validation with DTD in MRM domain

Post new topic  Reply to topic
 XML Message Validation with DTD in MRM domain « View previous topic :: View next topic » 
Author Message
asamanta
PostPosted: Thu Oct 16, 2003 5:30 am    Post subject: XML Message Validation with DTD in MRM domain Reply with quote

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
View user's profile Send private message
kimbert
PostPosted: Fri Oct 17, 2003 4:40 am    Post subject: Reply with quote

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
View user's profile Send private message
asamanta
PostPosted: Fri Oct 17, 2003 5:43 am    Post subject: Reply with quote

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
View user's profile Send private message
kimbert
PostPosted: Tue Oct 21, 2003 3:15 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » XML Message Validation with DTD in MRM domain
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.