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 » WMB max occurrence check not happening during validation

Post new topic  Reply to topic
 WMB max occurrence check not happening during validation « View previous topic :: View next topic » 
Author Message
V J
PostPosted: Fri Jul 11, 2014 12:25 pm    Post subject: WMB max occurrence check not happening during validation Reply with quote

Novice

Joined: 30 May 2013
Posts: 11

I have not seen this kind of issue before.
have enabled validation on MQ output node to validate content and value.

If the message has any invalid values, it throws a exception. For eg, schema defines length as 2 characters, and message contains 3 characters , then broker complains

IF the message has an element with occurrence more than that defined in schema , broker does not detect this. For eg. Schema defines element "MyElement" with minoccurs=0 and maxoccurs=5 and message has 9 occurrences of "MyElement" then broker does not complain.

My Flow looks like
SOAP Input -> compute ->Logger SF -> MQ output

Note: SOAP Input is in gateway mode.

Have another flow which looks very similar, in this case validation works fine as expected.
MQ Input -> compute ->Logger SF -> MQ output


Does it look like a PMR issue.
We are using V8 of broker.
Back to top
View user's profile Send private message
kimbert
PostPosted: Sun Jul 13, 2014 1:18 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
Does it look like a PMR issue.
Not yet. You would need some more evidence first. The obvious next step is to try this using some other XML processor - XML4J would be a good choice, and is used in many JVMs.
_________________
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
mgk
PostPosted: Mon Jul 14, 2014 2:10 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

Is in inbound or outbound validation you are trying to do? If it's Inbound, you should know that validation can only happen if there is something to validate against. If the Input node is in Gateway mode, then there is no schema for the Inbound message as there is no WSDL. Therefore, validation is turned off for the inbound message.

Kind regards,
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
Back to top
View user's profile Send private message
ganesh
PostPosted: Mon Jul 14, 2014 5:32 am    Post subject: Reply with quote

Master

Joined: 18 Jul 2010
Posts: 294

If it is for outbound validation you have to specify the message set to validate against.
Back to top
View user's profile Send private message
V J
PostPosted: Mon Jul 14, 2014 11:15 am    Post subject: Reply with quote

Novice

Joined: 30 May 2013
Posts: 11

@kimbert , I have tried to validate xml request using other tools. They fail validation.
@ganesh, mgk. I am doing inbound validation, and i am setting message set to use in the compute node based on namespace of the request.
Back to top
View user's profile Send private message
flnalvin
PostPosted: Wed Jan 07, 2015 3:11 pm    Post subject: Met the same problem Reply with quote

Newbie

Joined: 30 Apr 2014
Posts: 1

Do you have the solution?
I met this problem too.
Back to top
View user's profile Send private message
V J
PostPosted: Wed Jan 07, 2015 5:59 pm    Post subject: Reply with quote

Novice

Joined: 30 May 2013
Posts: 11

Haven't found a solution for this yet. Its been a low priority for me.
I am convinced that we need to raise a PMR.
In case you do find a solution or get a response from IBM let me know.
Back to top
View user's profile Send private message
kimbert
PostPosted: Thu Jan 08, 2015 4:59 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
I am convinced that we need to raise a PMR.
I agree. Please make sure that you reference this thread, so that whoever picks up the PMR gets to see this discussion.
_________________
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 » WMB max occurrence check not happening during validation
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.