Author |
Message
|
sibcool |
Posted: Wed May 06, 2009 11:21 am Post subject: Message Broker - Content and Value - validation |
|
|
Novice
Joined: 17 Mar 2008 Posts: 20
|
Having issues with "content and value" - validate - on MQOutput Node. The flows were working fine until out of nowhere error popped up.
Getting the 'An element has been deemed complete occurring less than specified minOccurs'.
Had a look at spelling and the message size (counting bytes) and all is correct (flows and message sets haven't changed in months) but somehow the content validation on the MQOutput picks up an error.
Anyone have any idea on what can cause this, possibly some configuration change or something obscure as the message flows haven't been changed in months.
Running on WMB v6. The message flows were possibly developed in version 2 but why this would happen out of nowhere is intriguing. |
|
Back to top |
|
 |
sibcool |
Posted: Wed May 06, 2009 11:26 am Post subject: |
|
|
Novice
Joined: 17 Mar 2008 Posts: 20
|
Mainly trying to understand the cause of the issue - I know it can be fixed by turning off the validation. |
|
Back to top |
|
 |
mqjeff |
Posted: Wed May 06, 2009 12:10 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
This is entirely a message level issue. The message does not have as many instances of a repeating element as the message set says must occur. |
|
Back to top |
|
 |
WMBDEV1 |
Posted: Wed May 06, 2009 2:42 pm Post subject: |
|
|
Sentinel
Joined: 05 Mar 2009 Posts: 888 Location: UK
|
It doesnt have to be a repeating element..... it could occur min once and max once!
But anyway (ill stop being pedantic now).... as the flow hasnt changed in months.... the most likely candidate is the input message has changed, as indicated by Jeff. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed May 06, 2009 7:44 pm Post subject: Re: Message Broker - Content and Value - validation |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
sibcool wrote: |
Having issues with "content and value" - validate - on MQOutput Node. The flows were working fine until out of nowhere error popped up.
Getting the 'An element has been deemed complete occurring less than specified minOccurs'.
Had a look at spelling and the message size (counting bytes) and all is correct (flows and message sets haven't changed in months) but somehow the content validation on the MQOutput picks up an error.
Anyone have any idea on what can cause this, possibly some configuration change or something obscure as the message flows haven't been changed in months.
Running on WMB v6. The message flows were possibly developed in version 2 but why this would happen out of nowhere is intriguing. |
all the responses of my collegues being still valid...
Check if the namespace of all the elements is the namespace declared in the xsd. All elements could be there, but if you have a namespace discrepancy you'll get this message as the element is not present with the right namespace. Note that "http://myhost/mynamespace" is different from "http://myhost/mynamespace/" for the purpose of the broker.
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
sibcool |
Posted: Wed May 06, 2009 11:49 pm Post subject: |
|
|
Novice
Joined: 17 Mar 2008 Posts: 20
|
Sorry forgot to mention it's CWF - which is why I counted the bytes in the message and all the other occurences are space filled. |
|
Back to top |
|
 |
AkankshA |
Posted: Thu May 07, 2009 9:12 pm Post subject: |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
check your message set
are u treating space as a valid character or as NULL ?? _________________ Cheers |
|
Back to top |
|
 |
|