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 » Issue with validating the Data against message set

Post new topic  Reply to topic
 Issue with validating the Data against message set « View previous topic :: View next topic » 
Author Message
kirankinnu
PostPosted: Wed Sep 13, 2006 9:35 am    Post subject: Issue with validating the Data against message set Reply with quote

Centurion

Joined: 12 Jun 2004
Posts: 128
Location: Chicago, IL

I am developing in WBIMB 6. I am doing a simple transformation from CWF to XML. I am trying to validate the input data against Message set. I got the message set by importing the CoBol copybook into my workspace. Here is the sample form of my message set
Parent Element X1
.....Redefined Element Y1
.....Redefined Element Y2
.....Redefined Element Y3
.....Y4
Parent Element X2
.....Redefined Element Y5
.....Redefined Element Y6
.....Redefined Element Y7
.....Y8

When I try to validate the message set against the sample input data I am getting this error:
BIP5371E:Message Validation failure. Invalid member for content validation 'Closed'
Element, 'Y4', which is defined as a child of a complex type or group which has a type content of 'Closed', has failed to validate successfully.
This could be because it :
a) has not been defined as a member of its parent complex type or group,
b) has been created out of order in the logical tree, for a composition of 'Ordered Set' or 'Sequence',
c) is a duplicate, which is not allowed for a composition of 'Ordered Set' or 'Unordered Set'.

The parent complex type or group has content validation of 'Closed'. The parent element is 'X'.
Modify the message set or messageflow and redeploy to the broker or modify the input message and resubmit to the broker.

I am pretty sure c) is not the cause of the error
In the MqInput Node I am assigning the properties as Message Domain as 'MRM'...... And Validate Option to 'Content And Value'. These are the 2 important properties that might be of interest. Has anyone faced this issue before.

I would appreciate any valuable inputs.
Thank You,
Back to top
View user's profile Send private message
kimbert
PostPosted: Thu Sep 14, 2006 12:51 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

- Not sure what 'Redefined Element Y1' means. Are Y1/Y2/Y3 the members of a choice group in your message model?
- In the MQInput node properties, under 'General Message Options' what is 'Parse Timing' set to? I think 'Immediate' would be the correct setting if you have unresolved choices in your message tree.
Back to top
View user's profile Send private message
kirankinnu
PostPosted: Thu Sep 14, 2006 6:14 am    Post subject: Reply with quote

Centurion

Joined: 12 Jun 2004
Posts: 128
Location: Chicago, IL

In each Redefined Element, I have 2 or 3 Choice elements. I did not mentioned that. So Under Y1, It has Z1, Z2 and under Y2, It has Z3,Z4,Z5.. So Y1 can be assigned to Either Z1 or Z2 and similarly Y2 can be assigned to Z3 or Z4 or Z5. It can take any value depending on certain condition. I tried Changing the MqInput Propertiy, But Had the same error in my Trace.

Thank You for the reply.
Back to top
View user's profile Send private message
kimbert
PostPosted: Mon Sep 18, 2006 12:40 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Switch off validation and put a trace node after the MQInput node, with pattern set to ${Root}. Look at the trace node output - if you see unresolved choices in the message tree ( and I think you will ) then I expect that is your problem.
Quote:
I am trying to validate the input data against Message set.
What's the purpose of the validation? ( what errors are you trying to trap? ).
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 » Issue with validating the Data against message set
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.