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 » Is is possible to validate XML in WMQI 2.1?

Post new topic  Reply to topic
 Is is possible to validate XML in WMQI 2.1? « View previous topic :: View next topic » 
Author Message
kwelch
PostPosted: Thu Jul 10, 2003 7:07 am    Post subject: Is is possible to validate XML in WMQI 2.1? Reply with quote

Master

Joined: 16 May 2001
Posts: 255

Hi,

There were two opposing opinions on this in another post of mine. I am wondering if anyone knows for sure. So far I have not been able to get it to validate, but I don't really understand DTD's and how they should be defined in the control center for validation. I imported it and left all the settings as they were imported and checked the validate box on the input node. When I leave off a required field(or at least I think it's required, not sure how to read a DTD), it does not error. I have looked in the manuals but am still unclear on this issue. Can anyone provide some insight? Thanks!

Karen(DTD and XML challenged!)
Back to top
View user's profile Send private message Send e-mail
Craig B
PostPosted: Thu Jul 10, 2003 7:27 am    Post subject: Reply with quote

Partisan

Joined: 18 Jun 2003
Posts: 316
Location: UK

Hi Karen,

You can validate XML against a DTD in WMQI V2.1. However this can only be done using MRM-XML and not the generic XML domain. You use the DTD to create an MRM messageSet and then parse the XML against this messageSet definition. You must remember to create the XML layer in the MessageSet before importing the DTD.

The validation is NOT driven from the old "validate" option on the MQInput node. In WMQI V2.1 CSD03, a new validation tab was introduced on both the MQInput node and the Compute node. This node is used to select the validation type required and the timing and scope of the validation (Deferred, Immediate, Complete).

If you do not have the validation tab on the MQInput node, then either you do not have CSD03 or above installed, or you have not deleted and recreated your configMgr since installing CSD03 or above. If you only have CSD02 or below, then you need to move to CSD03 or above to use message validation. If your configMgr was created before CSD02, and you are on CSD03 or above then you need delete and recreate your configMgr. The delete needs to be done with no options so that it preserves your existing tables and queue manager information. Then when you recreate the configMgr specify the same options as was used in the original creation.

However, if you are on CSD04 or above, before you do this, make sure none of your flows have the old "validate" option ticked, or this could cause you problems when you delete and recreate your configMgr.

Hope this makes it a little clearer.
_________________
Regards
Craig
Back to top
View user's profile Send private message
kwelch
PostPosted: Thu Jul 10, 2003 8:33 am    Post subject: Reply with quote

Master

Joined: 16 May 2001
Posts: 255

Craig,

Thank you so much! I did import it correctly and have it defined as MRM-XML. However, we are at CSD02, so that explains why we don't have the validate tabs and are unable to get it to work. Thanks for clearing that up and saving me hours of research and testing.

Karen
Back to top
View user's profile Send private message Send e-mail
kwelch
PostPosted: Thu Aug 07, 2003 10:26 am    Post subject: Reply with quote

Master

Joined: 16 May 2001
Posts: 255

Hi Craig,

They just installed CSD04 and we did not get the new validate tabs. After reading your post it sounds as though the configmgr needs to be deleted for CSD03 and higher. My MQ techies said there was no mention of having to delete the configmgr for CSD04 in the readme file. Can you tell me does it definitely have to be deleted for CSD04? Thanks for clarifying this point.

Karen
Back to top
View user's profile Send private message Send e-mail
kirani
PostPosted: Thu Aug 07, 2003 11:55 am    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

I think it is mentioned in the readme.txt file. Anyhow, since you are directly migrating from CSD2 to CSD4 you need to delete and re-create the config mgr.
_________________
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
View user's profile Send private message Visit poster's website
kwelch
PostPosted: Fri Aug 08, 2003 5:30 am    Post subject: Reply with quote

Master

Joined: 16 May 2001
Posts: 255

Thanks Kirani!

I will pass that information along.

Karen
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Is is possible to validate XML in WMQI 2.1?
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.