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 » namespace prefix

Post new topic  Reply to topic
 namespace prefix « View previous topic :: View next topic » 
Author Message
scravr
PostPosted: Thu Mar 11, 2010 4:44 pm    Post subject: namespace prefix Reply with quote

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
View user's profile Send private message Send e-mail MSN Messenger
Vitor
PostPosted: Thu Mar 11, 2010 4:48 pm    Post subject: Re: namespace prefix Reply with quote

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
View user's profile Send private message
scravr
PostPosted: Thu Mar 11, 2010 5:26 pm    Post subject: namespace prefix Reply with quote

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
View user's profile Send private message Send e-mail MSN Messenger
Vitor
PostPosted: Thu Mar 11, 2010 6:42 pm    Post subject: Re: namespace prefix Reply with quote

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
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 » namespace prefix
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.