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 » Using SOAP Extract and SOAP envelope nodes

Post new topic  Reply to topic Goto page Previous  1, 2
 Using SOAP Extract and SOAP envelope nodes « View previous topic :: View next topic » 
Author Message
Luke
PostPosted: Mon Aug 31, 2009 1:09 pm    Post subject: Reply with quote

Centurion

Joined: 10 Nov 2008
Posts: 128
Location: UK

This is kind of an aside, but does it actually make any difference what the prefix is? I know previously you'd ended up with two different URIs with the same prefix, which didn't look right. But in this case, if the NS1: prefix resolves to the same URI as the tns: prefix did in the input message, isn't that in effect the same?

That's definitely a question more than a statement, so I'd be grateful if Vitor or mqjeff could clarify ...

Thanks
Back to top
View user's profile Send private message
Luke
PostPosted: Mon Aug 31, 2009 1:35 pm    Post subject: Reply with quote

Centurion

Joined: 10 Nov 2008
Posts: 128
Location: UK

P.S. Why do people always put the namespace declarations in the SOAP envelope even when they're used in the body of the message? Surely the idea of an envelope is that you can take the 'letter' out and read it properly independently of the envelope?

I think if there was a namespace declaration in the body of the input message you wouldn't have to explicitly declare it again ... ? As it is, when you take the body out, the declaration is left in the envelope ...
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Aug 31, 2009 1:57 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Luke wrote:
That's definitely a question more than a statement, so I'd be grateful if Vitor or mqjeff could clarify ...


It does resolve as you say so should parse. Depending on exactly how it's parsed and what exactly the message tree is in the application, the lack of an xmlns declaration can be problematic. It's also not especially descriptive as prefixes go.

I'd welcome other views (especially those of my esteemed associate) on this.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Sep 01, 2009 5:51 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

As long as the prefix is declared, it should not matter what it actually is.

At least, AFAIK.
Back to top
View user's profile Send private message
WMBDEV1
PostPosted: Tue Sep 01, 2009 5:58 am    Post subject: Reply with quote

Sentinel

Joined: 05 Mar 2009
Posts: 888
Location: UK

mqjeff wrote:
As long as the prefix is declared, it should not matter what it actually is.

At least, AFAIK.


I agree, although I have seen code written that looks for specific prefixes. Very naughty
Back to top
View user's profile Send private message
SOLOHERO
PostPosted: Wed Sep 02, 2009 2:36 pm    Post subject: Reply with quote

Centurion

Joined: 01 Feb 2007
Posts: 107

since you said you are going to use soap nvelope and soap extrat here after to your project...

I would advise you to create a subflow and construct the soap headers in the sub flow.in that way you can declare the namespaces and you dont have to store in any queues...and it can applied any where.w/o rework..

I hope this helps...if you want more info please let me know..


Thanks
_________________
Thanks
Back to top
View user's profile Send private message Send e-mail
mqxplorer
PostPosted: Sun Sep 06, 2009 8:40 pm    Post subject: Reply with quote

Master

Joined: 22 Jun 2009
Posts: 206

Hi SOLOHERO,

Thanks for your reply. I was bit busy with othet stuff, I haven't checked my post. Could you give me some more info regarding the subflow you are talking about? I would be more happy, if I can use this subflow anywhere without any rework. Please let me know what I should do to proceed further.

Thanks in advance
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Using SOAP Extract and SOAP envelope nodes
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.