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 » IIB9: Validation Node / XMLNSC domain.

Post new topic  Reply to topic
 IIB9: Validation Node / XMLNSC domain. « View previous topic :: View next topic » 
Author Message
akil
PostPosted: Sat Nov 08, 2014 11:42 am    Post subject: IIB9: Validation Node / XMLNSC domain. Reply with quote

Partisan

Joined: 27 May 2014
Posts: 338
Location: Mumbai

Hi

Is it possible to figure out why a validate node fails for a XMLNSC message?

I have a message flow , which invokes a sub-flow, the first node of the sub-flow is a validate node, set to check the domain (XMLNSC) and the model , it is configured for content (tried content & value as well with the same result ).

I get the following trace , it is a bit cryptic as it does not tell me what was the reason the validation node failed.

Is it because the message does not have any specific namespace defined?


Code:

2014-11-09 01:09:00.868291    10725   RecoverableException  BIP2230E: Error detected whilst processing a message in node 'gen.OnlineRechargeService.rbl/otp/validateOTP.Validate'.
                                       The message broker detected an error whilst processing a message in node 'gen.OnlineRechargeService.rbl/otp/validateOTP.Validate'. An exception has been thrown to cut short the processing of the message.
                                       See the following messages for details of the error.
2014-11-09 01:09:00.868292    10725   RecoverableException  BIP4162E: A non-matching message has been rejected by Validate node or Check node 'gen.OnlineRechargeService.rbl/otp/validateOTP.Validate'. Expected values: domain ''XMLNSC''; set ''''; type ''''. Actual values received: domain ''XMLNSC''; set ''''; type ''''.
                                       The Validate node or Check node 'gen.OnlineRechargeService.rbl/otp/validateOTP.Validate' detected that the input message did not meet the specified criteria, and that a message flow processing node is not attached to its failure terminal. An exception has been generated.
                                       Identify the reason why invalid messages are being generated or sent into the broker, and correct the problem. Ensure that you have specified the properties of the Validate node or Check node correctly, and redeploy the message flow.

_________________
Regards
Back to top
View user's profile Send private message Visit poster's website
smdavies99
PostPosted: Sat Nov 08, 2014 11:10 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

The fine detail will be in the ExceptionList
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
shashivarungupta
PostPosted: Sun Nov 09, 2014 12:07 pm    Post subject: Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

Lately I faced the similar kind of exception while validation of the message.
Try setting the 'XMLNSC : For XML messages (namespace aware, validation, low memory use)' as 'Domain' value in the 'Validation' Node.
Rest Uncheck the fields, unless you have Message Model/Message Set or other things to check as per 'Basic' properties of 'Validation' Node.

(this way it worked for me, it might not be necessary that my requirement of validation would match with yours).


_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
kimbert
PostPosted: Sun Nov 09, 2014 12:52 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Check the docs - 'Content' is not supported by XMLNSC. You should use either 'None' or 'Content and Value'.

shashivarungupta is correct - in v8 and v9 the 'Message Set' property should not be used unless the schemas were deployed in a message set.
_________________
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
View user's profile Send private message
akil
PostPosted: Mon Nov 10, 2014 2:24 am    Post subject: Reply with quote

Partisan

Joined: 27 May 2014
Posts: 338
Location: Mumbai

Does the Validation node check the Properties.MessageType ?

It looks like if the Properties folder is empty (because of a mistake in an earlier mapping node), the validation node returns an error such as this.
_________________
Regards
Back to top
View user's profile Send private message Visit poster's website
kimbert
PostPosted: Mon Nov 10, 2014 3:05 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

It does, but only if you tick the 'Check type' ( 'Check Model' in v9 ) check box.
_________________
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
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 » IIB9: Validation Node / XMLNSC domain.
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.