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 » Validation not working

Post new topic  Reply to topic
 Validation not working « View previous topic :: View next topic » 
Author Message
Wildmq
PostPosted: Mon Feb 22, 2010 7:18 am    Post subject: Validation not working Reply with quote

Newbie

Joined: 19 Feb 2010
Posts: 5

I wrote a very simple validation flow, with an MQInput routed to ab MQOutput flow, with the addition of a MQOutput connected to the Catch terminal of the MQInput

The MQInput has the following config:

Input Message Parsing Tab:

Code:
Message domain:  XMLNSC
Message set:     ZCUST


Validation Tab:

Code:
Validate:        Content and Value
Failure action:  Local Error Log


When I send message to the input queue, the messages always route to the output queue, whether the message is correct or not.

There are no errors in the Event View, application log

Am I missing something, and how can I debug this ? (I am using v7 on WIndows)
Back to top
View user's profile Send private message
broker_new
PostPosted: Mon Feb 22, 2010 7:35 am    Post subject: Reply with quote

Yatiri

Joined: 30 Nov 2006
Posts: 614
Location: Washington DC

Have you selected Parser Options>>Parse Timing = Complete?
_________________
IBM ->Let's build a smarter planet
Back to top
View user's profile Send private message
Wildmq
PostPosted: Mon Feb 22, 2010 8:30 am    Post subject: Reply with quote

Newbie

Joined: 19 Feb 2010
Posts: 5

Actually, I had it set on default (On Demand)

However, when I changed it to Complete, it is still acting the same, sending it to the out queue no matter if I send a correct message or not, any ideas ?
Back to top
View user's profile Send private message
Wildmq
PostPosted: Mon Feb 22, 2010 10:37 am    Post subject: Reply with quote

Newbie

Joined: 19 Feb 2010
Posts: 5

My Appl log was incorrectly sorted before, now I see a problem

I get the following message:

Code:
( NHBRK2.exe7 ) The XMLNSC parser cannot find a deployed message set with name ''ZCUST''.   

The XMLNSC parser is attempting to validate an XML message or a message tree, but the specified message set cannot be located in this execution group. This situation can arise for one of the following reasons:   
 - The message set has not been deployed to this execution group.   
 - In the message set properties, XMLNSC is not the 'Default message domain' and is not a 'Supported message domain'.   
 - The message set has been identified using its 13-character identifier; you must use the message set name.   
 - There was an error during the preprocessing of the XML schemas in the message set.   

Check that the specified message set has been successfully deployed.   
 Check that the MessageSet property contains the name, not the identifier, of the message set.   
 In the message set, check that XMLNSC is either the default message domain or a supported message domain. 


I think it may be a problem with how the message set is defined

The MQINput is actually configured as follows (I was using a shortcut previouslY)

Code:
Message domain:  XMLNSC
Message set:     ZCUST (OFR2L78002001)


I assume the message set name above violates the 3rd rule to examine above (set identified by its 13 digit ID).

This is a field that is selected.

How do I fix this particular problem (I tried deleting all of the characters except for ZCUST, but this did not work either ?

Thanks
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Feb 22, 2010 10:41 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You don't mention if you deployed the message set or not.

You don't mention if the bar file that deployed the message set included an xsdzip or only a dict.
Back to top
View user's profile Send private message
Wildmq
PostPosted: Mon Feb 22, 2010 11:20 am    Post subject: Reply with quote

Newbie

Joined: 19 Feb 2010
Posts: 5

I did deploy the message set (named ZCUST)

However, when I deployed to the exe group, it had the following contents:

Code:
+ exegroup1
  - Validation1
  - ZCUST
+ exegroup2


The Manage tab of the Bar file reports the following

Code:
+ Validation1.cmf
  + Validateion1
    MQInput
    MQOutput
    MQOutput1
  - ZCUST dictionary


So it does not look like I have the xsdzip file

How do I get that in the BAR file ?

Thanks
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Feb 22, 2010 11:21 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Wildmq wrote:
How do I get that in the BAR file ?


Include it like anything else.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Wildmq
PostPosted: Mon Feb 22, 2010 11:26 am    Post subject: Reply with quote

Newbie

Joined: 19 Feb 2010
Posts: 5

I just got it,

The ZCUST was configured for MRM

Thanks
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Feb 22, 2010 11:35 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Wildmq wrote:
I just got it,

The ZCUST was configured for MRM

Thanks


That's what it meant when it said
Quote:
- In the message set properties, XMLNSC is not the 'Default message domain' and is not a 'Supported message domain'.
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 » Validation not working
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.