Author |
Message
|
RudraHubli |
Posted: Sat Oct 18, 2014 5:09 am Post subject: RCD node always validating messages against message set |
|
|
Apprentice
Joined: 18 Oct 2014 Posts: 28
|
Need your help pls.
I have created a message set using XSD provided and
validating coming message with message set in RCD node but
RCD node is not throwing any error even if i am passing wrong message.
Property set at RCD node :
Domain - XMLNSC
msg set - given
parse option - immediate
validation - tryied with all options |
|
Back to top |
|
 |
fjb_saper |
Posted: Sat Oct 18, 2014 6:00 am Post subject: Re: RCD node always validating messages against message set |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
RudraHubli wrote: |
Need your help pls.
I have created a message set using XSD provided and
validating coming message with message set in RCD node but
RCD node is not throwing any error even if i am passing wrong message.
Property set at RCD node :
Domain - XMLNSC
msg set - given
parse option - immediate
validation - tried with all options |
Did you add the XMLNSC domain to your message set? If the domain is not checked on your message set, you are simply reparsing in XMLNSC and if you have a well formed XML source everything will look fine.
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
RudraHubli |
Posted: Sun Oct 19, 2014 8:59 am Post subject: |
|
|
Apprentice
Joined: 18 Oct 2014 Posts: 28
|
Yes..i have added XMLNSC in msg set domain but not sue why its not failing the validation.
I have tried to validate ESQL also with Asbitstream and parse function but same issue. |
|
Back to top |
|
 |
kimbert |
Posted: Sun Oct 19, 2014 11:23 pm Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
What is 'wrong' about the message that you are passing into the flow ( what error message did you expect )? _________________ Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too. |
|
Back to top |
|
 |
Muthukrishnan |
Posted: Sun Oct 19, 2014 11:33 pm Post subject: |
|
|
Apprentice
Joined: 16 Feb 2013 Posts: 48
|
If this is WMB 8 version, then use parse timing as 'Complete', validation as 'Content and Value' and Failure action as 'Exception' in RCD node. |
|
Back to top |
|
 |
RudraHubli |
Posted: Mon Oct 20, 2014 8:36 am Post subject: |
|
|
Apprentice
Joined: 18 Oct 2014 Posts: 28
|
Its not on WMB V8...m using V6.1
Expecting any error if m passing wrong message. may be mandatory field not populated error if its missing. |
|
Back to top |
|
 |
kimbert |
Posted: Mon Oct 20, 2014 10:47 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Validation must be set to 'Content and Value' if you want XMLNSC to validate the message.
Please test with a very small and easy to understand example message. If it does not work, post the xsd and the XML. _________________ Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too. |
|
Back to top |
|
 |
|