Author |
Message
|
SANTYP |
Posted: Thu Dec 10, 2009 11:50 pm Post subject: How to validate response |
|
|
 Centurion
Joined: 27 Mar 2007 Posts: 142
|
Hi All,
I want to validate my response message against a message set... how to do that...?
In mqoutput node I don't see any property to specify against what(which message set or something else) validation has to perform.. eventhough validation property exists in the node...
please help me...
Thanks in advance.. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Dec 10, 2009 11:54 pm Post subject: Re: How to validate response |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
SANTYP wrote: |
Hi All,
I want to validate my response message against a message set... how to do that...?
In mqoutput node I don't see any property to specify against what(which message set or something else) validation has to perform.. eventhough validation property exists in the node...
please help me...
Thanks in advance.. |
Up to version V 6.1 you could only do validation with a message set with the MRM parser
Since V6.1 you can use xsds and the XMLNSC parser.
Read it up it's all in the manuals.
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
SANTYP |
Posted: Fri Dec 11, 2009 12:07 am Post subject: Re: How to validate response |
|
|
 Centurion
Joined: 27 Mar 2007 Posts: 142
|
fjb_saper wrote: |
Up to version V 6.1 you could only do validation with a message set with the MRM parser
Since V6.1 you can use xsds and the XMLNSC parser.
Read it up it's all in the manuals.
Have fun  |
Validation against xsd..?
will it posible to that.. without creating message set... I didn't seen anything in help fjb_saper..!!
please help me on it... |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Dec 11, 2009 12:15 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
|
Back to top |
|
 |
sirsi |
Posted: Fri Dec 11, 2009 1:14 am Post subject: |
|
|
Disciple
Joined: 11 Mar 2005 Posts: 177
|
Quote: |
XML Schemas are created automatically from the content of a message set when the message set is added to a broker archive (BAR) file. The XML Schemas are deployed to the broker and used by the XMLNSC parser to validate your XML messages. |
if I dont create a msg set, how will XMLNSC parser validate it against schema? |
|
Back to top |
|
 |
kimbert |
Posted: Fri Dec 11, 2009 1:56 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
The answer is...you're both correct.
XMLNSC validates against the xsds contained in the deployed .xsdzip file. But the only supported way to create that .xsdzip file is by adding a message set to a BAR file. |
|
Back to top |
|
 |
|