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 » validating input xml

Post new topic  Reply to topic
 validating input xml « View previous topic :: View next topic » 
Author Message
ydsk
PostPosted: Wed Oct 10, 2007 10:47 am    Post subject: validating input xml Reply with quote

Chevalier

Joined: 23 May 2005
Posts: 410

Hi,
Our requirement is to validate the xml coming into the msgflow from an external application against its schema.

Do we have to use MRM in the MQInput node in our msgflow for that ?

Please suggest if there is a better way of doing it in a msgflow.

thanks.
ydsk.
Back to top
View user's profile Send private message
Bill.Matthews
PostPosted: Wed Oct 10, 2007 12:19 pm    Post subject: Re: validating input xml Reply with quote

Master

Joined: 23 Sep 2003
Posts: 232
Location: IBM (Retired)

ydsk wrote:
Hi,
Our requirement is to validate the xml coming into the msgflow from an external application against its schema.

Do we have to use MRM in the MQInput node in our msgflow for that ?

Please suggest if there is a better way of doing it in a msgflow.

thanks.
ydsk.


Two answers:

Message Broker V6.0 - XML validation is done against the MRM definition and can be requested at different points in the msg flow, for example it can be done at the Compute node - by setting the Validation property. However, typically if the need is to reject an invalid message, you should consider doing the validation at input node time.

----------------------------------------------------------------------------------

Message Broker V6.1 You can now use the XMLNSC parser (which is new, a much better performer - and is the recommended parser) and do validation against the physical schema - V6.1 will now include the XSD as part of the bar file so it is available for validation.

---------------------------------------------------------------------------------

So, some more reasons for moving to V6.1 -
_________________
Bill Matthews
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Oct 10, 2007 3:13 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

To be clear... the XMLNSC domain is not new to v6.1.

The parser behind it is... or so I've been told.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Bill.Matthews
PostPosted: Thu Oct 11, 2007 5:25 am    Post subject: Reply with quote

Master

Joined: 23 Sep 2003
Posts: 232
Location: IBM (Retired)

jefflowrey wrote:
To be clear... the XMLNSC domain is not new to v6.1.

The parser behind it is... or so I've been told.


Jeff is correct - the code used by the XMLNSC parser is what is new and it has much better performance - and it is the only one that can validate against the schema.
_________________
Bill Matthews
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 » validating input xml
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.