Author |
Message
|
vandi |
Posted: Sat Feb 21, 2009 1:50 pm Post subject: cwf Message Set |
|
|
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 |
|
 |
kimbert |
Posted: Sat Feb 21, 2009 2:56 pm Post subject: |
|
|
 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 |
|
 |
vandi |
Posted: Sat Feb 21, 2009 3:13 pm Post subject: |
|
|
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 |
|
 |
kimbert |
Posted: Sat Feb 21, 2009 3:30 pm Post subject: |
|
|
 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 |
|
 |
vandi |
Posted: Sat Feb 21, 2009 4:20 pm Post subject: |
|
|
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 |
|
 |
kimbert |
Posted: Sat Feb 21, 2009 4:26 pm Post subject: |
|
|
 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 |
|
 |
|