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 » cwf Message Set

Post new topic  Reply to topic
 cwf Message Set « View previous topic :: View next topic » 
Author Message
vandi
PostPosted: Sat Feb 21, 2009 1:50 pm    Post subject: cwf Message Set Reply with quote

Acolyte

Joined: 13 Dec 2008
Posts: 67

Hi,

I have a message set with CWF. I have to reject records with character "/" & "%".

I have added this [/%]* in pattern of value constraint for simple type. I also set the validation on message flow.

Can any of you pls help.


Thanks
Vandi
Back to top
View user's profile Send private message
kimbert
PostPosted: Sat Feb 21, 2009 2:56 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Sorry. No help from me until you answer the following questions:
a) What happened?
b) Why do you think it happened?
c) What have you done to diagnose the problem?
Back to top
View user's profile Send private message
vandi
PostPosted: Sat Feb 21, 2009 3:13 pm    Post subject: Reply with quote

Acolyte

Joined: 13 Dec 2008
Posts: 67

My requirement is :
When I get an input message, if a particular field in the message contains special characters as I mentioned above, it should reject the message.

I have set the constraint to this field in Value constraints Pattern.

When I send an input message with special char(%) in that field, I am not getting any error Message. I am able to write to output node without any errors.


Thanks
Back to top
View user's profile Send private message
kimbert
PostPosted: Sat Feb 21, 2009 3:30 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
Sorry. No help from me until you answer the following questions:
a) What happened?
b) Why do you think it happened?
c) What have you done to diagnose the problem?

You have answered a). Still waiting for answers to b) and c).
Back to top
View user's profile Send private message
vandi
PostPosted: Sat Feb 21, 2009 4:20 pm    Post subject: Reply with quote

Acolyte

Joined: 13 Dec 2008
Posts: 67

kimbert,

I debug the flow and I am not getting Pattern error for the field which I mentioned previously.
I am getting error with some other field. The below is the error msg.

Quote:
'An element has been deemed complete occurring less than specified minOccurs'


When I populate the input message with correct value, I am not getting any error.
Back to top
View user's profile Send private message
kimbert
PostPosted: Sat Feb 21, 2009 4:26 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Thanks. Please stop drip-feeding the information. You could have given all of that information in your first post, which would have saved a lot of time.

Next steps:
1. Disconnect the debugger.
2. Take a user trace
3. Look for any warnings in the user trace
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 » cwf 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.