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 » XMLNSC validation in message broker 6.0

Post new topic  Reply to topic
 XMLNSC validation in message broker 6.0 « View previous topic :: View next topic » 
Author Message
sapana
PostPosted: Fri May 22, 2009 5:01 am    Post subject: XMLNSC validation in message broker 6.0 Reply with quote

Apprentice

Joined: 16 Apr 2007
Posts: 33
Location: Pune

Hi,
We are using message broker 6.0. We need to validate incoming XML messages using XML Schema. From the documentation of broker6.0 I gather that to validate the content and values in XML messages, we should use the MRM domain.
And though XMLNSC parser does parsing and serializing faster than MRM, in 6.0 it treats all data in an XML message as character strings and hence not suitable for validation.

And in message broker6.1, XMLNSC message domain has been enhanced; it has improved performance and can validate XML documents using XML Schema. So here we prefer XMLNSC always over MRM wherever possible.

Please correct me if I am wrong or overlooking some fact.

Sapana


Last edited by sapana on Fri May 22, 2009 5:44 am; edited 1 time in total
Back to top
View user's profile Send private message
Gaya3
PostPosted: Fri May 22, 2009 5:07 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

use the validation node in the pallete
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
kimbert
PostPosted: Fri May 22, 2009 5:25 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Don't use the Validate node. It simply uses the MRM domain under the covers.

Your understanding of the situation is perfect
Your choices are:
- Set the input node to use the MRM domain and set Validation to 'Content and Value'. You will get validation that is roughly the same as an XML schema validator would do.
- Set the input node to use the XMLNSC domain, but use support pack IA9A to validate the bit stream.

I think the second option positions you best for the future because when you upgrade you can throw out IA9A and use the built-in validation.
Back to top
View user's profile Send private message
sapana
PostPosted: Fri May 22, 2009 5:57 am    Post subject: Reply with quote

Apprentice

Joined: 16 Apr 2007
Posts: 33
Location: Pune

Thanks for your quick replies

Kimbert,
Can you please confirm if using support pack IA9A in production environment is a viable option and has been tested before?
I would refer its documentation to understand its usage.
Back to top
View user's profile Send private message
kimbert
PostPosted: Fri May 22, 2009 7:51 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

No reason not to use it in production, AFAIK. I believe it's in production on many other sites.
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 » XMLNSC validation in message broker 6.0
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.