|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
namespace prefix |
« View previous topic :: View next topic » |
Author |
Message
|
scravr |
Posted: Thu Mar 11, 2010 4:44 pm Post subject: namespace prefix |
|
|
 Partisan
Joined: 03 Apr 2003 Posts: 391 Location: NY NY USA 10021
|
To all out there:
I have a SOAP message set with prefix namespaces defined on many elements.
A SOAPInput node in message flow runs OK with defined prefix namespaces.
When testing with non-defined prefix the message is regected.
In other word:
message with defined prefixes like soapenv:Envalop and NS2:BODY runs OK.
message with undefince prefixes like pfx1:Envalop, prfx2:BODY gets error.
Is there a way to avoid checking prefix namespaces?
Is this should be on the message set or message flow level?
Thanks,
Moshe |
|
Back to top |
|
 |
Vitor |
Posted: Thu Mar 11, 2010 4:48 pm Post subject: Re: namespace prefix |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
scravr wrote: |
Is there a way to avoid checking prefix namespaces?
|
Why would you not want to reject such a message, that doesn't identify what namespace the various elements are in? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
scravr |
Posted: Thu Mar 11, 2010 5:26 pm Post subject: namespace prefix |
|
|
 Partisan
Joined: 03 Apr 2003 Posts: 391 Location: NY NY USA 10021
|
Clients are testing with diff tools.
each tool has defalut prefixes. |
|
Back to top |
|
 |
Vitor |
Posted: Thu Mar 11, 2010 6:42 pm Post subject: Re: namespace prefix |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
scravr wrote: |
Clients are testing with diff tools.
each tool has defalut prefixes. |
Yes, but each tool must be producing namespace declarations that match these prefixes or the SOAP is invalid. The actual value of the prefix is irrelevant so long as it matches the declaration in the SOAP. So it doesn't matter if the element is NS2:BODY, pfx2:BODY or wibble:BODY out of 3 tools as long as NS2, pfx2 & wibble all define the same namespace.
And if they don't, it's not the same BODY element by definition and you need to reject the message. Because you don't know what BODY pertains to. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|