|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
validating input xml |
« View previous topic :: View next topic » |
Author |
Message
|
ydsk |
Posted: Wed Oct 10, 2007 10:47 am Post subject: validating input xml |
|
|
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 |
|
 |
Bill.Matthews |
Posted: Wed Oct 10, 2007 12:19 pm Post subject: Re: validating input xml |
|
|
 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 |
|
 |
jefflowrey |
Posted: Wed Oct 10, 2007 3:13 pm Post subject: |
|
|
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 |
|
 |
Bill.Matthews |
Posted: Thu Oct 11, 2007 5:25 am Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|