Author |
Message
|
brgmo |
Posted: Fri Nov 23, 2007 3:34 am Post subject: Message Validation |
|
|
Master
Joined: 03 Jun 2002 Posts: 227
|
Hi All,
I have two xsd files corresponding to two messages that need to be validated. Now the flow that needs to validate both these messages is same. When i send an invalid message, it passes through without any problem which means the validation is not working. I have a single message set defined which includes the two mxsd files derived from the xsd files. Any idea if a message set can contain two .mxsd files and still work fine.
Also,what is the message type when i have two .mxsd files defined.
Regards
brgmo. |
|
Back to top |
|
 |
JLRowe |
Posted: Fri Nov 23, 2007 4:01 am Post subject: |
|
|
 Yatiri
Joined: 25 May 2002 Posts: 664 Location: South East London
|
The message broker parser does not fully validate messages (well to XML schema anyway), use an XML validation node which calls some java code to do a full schema based validation. I think there is a support pack to do this.
MB 6.1 has the capability built-in |
|
Back to top |
|
 |
brgmo |
Posted: Fri Nov 23, 2007 4:38 am Post subject: |
|
|
Master
Joined: 03 Jun 2002 Posts: 227
|
Someone can please help me answering these questions. |
|
Back to top |
|
 |
brgmo |
Posted: Fri Nov 23, 2007 5:13 am Post subject: |
|
|
Master
Joined: 03 Jun 2002 Posts: 227
|
|
Back to top |
|
 |
Vitor |
Posted: Fri Nov 23, 2007 5:23 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
brgmo wrote: |
please help. |
There's no SLA on responses in here. Typically anyone who has an answer will post it, subject to actual work committments. The assumption you're being deliberately ignored is slightly offensive, the assumption people should drop what they're being paid to do to answer a question is just plain wrong.
If your problem is urgent, raise a PMR. _________________ Honesty is the best policy.
Insanity is the best defence.
Last edited by Vitor on Fri Nov 23, 2007 5:24 am; edited 1 time in total |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Nov 23, 2007 5:23 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Validation only happens in the MRM parser...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Bill.Matthews |
Posted: Fri Nov 23, 2007 7:09 am Post subject: |
|
|
 Master
Joined: 23 Sep 2003 Posts: 232 Location: IBM (Retired)
|
And now, with V6.1 - when a message set exists and the associated XSD exists - and the XMLNSC parser is used - then a validation against the the xsd is possible - and is faster because of the improvements to that parser in 6.1. _________________ Bill Matthews |
|
Back to top |
|
 |
kimbert |
Posted: Fri Nov 23, 2007 7:46 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
JLRowe has assumed that you are encountering one of the non-compliances in the MRM's validation logic. I think that's unlikely, but without details of your input message and XSD ( or at least some description of what you think is wrong in the input message ) it is impossible to tell.
Please reply with full details of what you have tried. If you want our time, you need to spend some of yours. |
|
Back to top |
|
 |
|