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 » Validation on MQInput Node

Post new topic  Reply to topic
 Validation on MQInput Node « View previous topic :: View next topic » 
Author Message
Gideon
PostPosted: Thu Jan 28, 2010 11:09 am    Post subject: Validation on MQInput Node Reply with quote

Chevalier

Joined: 18 Aug 2009
Posts: 403

I am reading the Info Center on Validation on Input nodes.

I am using WMB 7.

In the doc it discusses the Input Message Parsing, and the Validation sections of the MQInput Node.

It appears (but does not explicitly state) that if I set the the Message Domain to "XMLNSC" and the Message Set to the appropriate Set, and then set Validate to "Content and Value", the incoming XML message will be validated from the XSD upon which the Message set was created. Is taht correct ?

Also, If I set the Message Domain to "XMLNS" without a message set defined, and then set Validate to "Content and Value", exactly how would it validate the message ?

Thanks
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Thu Jan 28, 2010 11:32 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

This straightforward to answer yourself with the application of basic logic.

Without a message set or an XSD of some kind, what validation of an XML document is possible?
Back to top
View user's profile Send private message
WMBDEV1
PostPosted: Thu Jan 28, 2010 12:31 pm    Post subject: Re: Validation on MQInput Node Reply with quote

Sentinel

Joined: 05 Mar 2009
Posts: 888
Location: UK

Gideon wrote:

Also, If I set the Message Domain to "XMLNS" without a message set defined, and then set Validate to "Content and Value", exactly how would it validate the message ?


It addition to MQJeffs comments, XMLNS is none validating anyway and so even with a message set it wouldnt do what you wanted. XMLNSC should be your choice going forward.
Back to top
View user's profile Send private message
kimbert
PostPosted: Thu Jan 28, 2010 2:41 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
It appears (but does not explicitly state) that if I set the the Message Domain to "XMLNSC" and the Message Set to the appropriate Set, and then set Validate to "Content and Value", the incoming XML message will be validated from the XSD upon which the Message set was created. Is taht correct ?
Where did you look? I looked up the information on the XMLNSC parser, and immediately found that exact point stated very clearly ( seemed clear to me anyway - I guess we all read things differently) .

Maybe you were only looking at the info on the MQInput node?
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 » Validation on MQInput Node
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.