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 » Diff b/n HTTP and SOAP Nodes?

Post new topic  Reply to topic Goto page 1, 2, 3  Next
 Diff b/n HTTP and SOAP Nodes? « View previous topic :: View next topic » 
Author Message
mbtech
PostPosted: Tue Jan 15, 2013 1:55 am    Post subject: Diff b/n HTTP and SOAP Nodes? Reply with quote

Apprentice

Joined: 18 Jul 2012
Posts: 36

Diff b/n SOAP and Http and advantages of one over the other?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Jan 15, 2013 2:10 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

HTTP is a transport.

SOAP is a messaging standard.

SOAP uses HTTP, or other transports (JMS notably).

It's like asking the difference between a road and an automobile.
Back to top
View user's profile Send private message
rekarm01
PostPosted: Tue Jan 15, 2013 2:39 am    Post subject: Re: Diff b/n HTTP and SOAP Nodes? Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 1415

It's easy to miss, but the OP asked a different question in the subject line, about the difference between the SOAP and HTTP nodes ...

Real briefly, SOAP nodes are better for handling SOAP messages, and HTTP nodes are better for handling non-SOAP messages. HTTP nodes can handle SOAP messages, but may require additional coding. SOAP nodes can't really handle non-SOAP messages.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Tue Jan 15, 2013 2:46 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

In general this is correct however there have been some posts in the past few months where the SOAP Nodes could not be used due to some of the html stuff that is wrapped around the SOAP Body.

If you can, use SOAP nodes for SOAP messages. It will make your life a lot simpler in the end.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Jan 15, 2013 3:19 am    Post subject: Re: Diff b/n HTTP and SOAP Nodes? Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

rekarm01 wrote:
It's easy to miss, but the OP asked a different question in the subject line, about the difference between the SOAP and HTTP nodes ...


I agree it's easy to miss.

In afterthought, comparing HTTP and SOAP to a road and an automobile is not a very direct analogy.

One is a lorry, one is a sports car.

It's hard to carry 100 tons of freight in a sports car, but it's easy to carry more than one sports car in a lorry.
Back to top
View user's profile Send private message
kimbert
PostPosted: Tue Jan 15, 2013 3:28 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
It's hard to carry 100 tons of freight in a sports car, but it's easy to carry more than one sports car in a lorry.
Could you rephrase that in terms of hamburgers, please. I find they're easier to understand.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Jan 15, 2013 3:53 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

kimbert wrote:
Quote:
It's hard to carry 100 tons of freight in a sports car, but it's easy to carry more than one sports car in a lorry.
Could you rephrase that in terms of hamburgers, please. I find they're easier to understand.


Yes. If one is comparing HTTP and SOAP, one should in fact eat more chicken.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Jan 15, 2013 5:41 am    Post subject: Reply with quote

Grand High Poobah

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

kimbert wrote:
Quote:
It's hard to carry 100 tons of freight in a sports car, but it's easy to carry more than one sports car in a lorry.
Could you rephrase that in terms of hamburgers, please. I find they're easier to understand.


With SOAP there's a contract controlling how many hamburgers you have & their toppings.

With HTTP I'll gladly pay you Tuesday for a hamburger today.....
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Tue Jan 15, 2013 5:52 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

kimbert wrote:
Quote:
It's hard to carry 100 tons of freight in a sports car, but it's easy to carry more than one sports car in a lorry.
Could you rephrase that in terms of hamburgers, please. I find they're easier to understand.


Cooked, never frozen.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
kash3338
PostPosted: Tue Jan 15, 2013 7:45 am    Post subject: Re: Diff b/n HTTP and SOAP Nodes? Reply with quote

Shaman

Joined: 08 Feb 2009
Posts: 709
Location: Chennai, India

rekarm01 wrote:
SOAP nodes can't really handle non-SOAP messages.


I don't think this statement is 100% correct.
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Tue Jan 15, 2013 7:53 am    Post subject: Re: Diff b/n HTTP and SOAP Nodes? Reply with quote

Grand High Poobah

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

kash3338 wrote:
rekarm01 wrote:
SOAP nodes can't really handle non-SOAP messages.


I don't think this statement is 100% correct.


Which part of it do you think is incorrect?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Tue Jan 15, 2013 7:54 am    Post subject: Re: Diff b/n HTTP and SOAP Nodes? Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

kash3338 wrote:
rekarm01 wrote:
SOAP nodes can't really handle non-SOAP messages.


I don't think this statement is 100% correct.


1. SOAPInput node validation on, the call to SOAPInput will fail based on validation not passing.

2. With validation off, a call to a SOAPInput with non-Soap payload will result in a null message tree being propagated.


Therefore, rekarm's statement is true.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
kash3338
PostPosted: Tue Jan 15, 2013 8:02 am    Post subject: Re: Diff b/n HTTP and SOAP Nodes? Reply with quote

Shaman

Joined: 08 Feb 2009
Posts: 709
Location: Chennai, India

lancelotlinc wrote:

1. SOAPInput node validation on, the call to SOAPInput will fail based on validation not passing.

2. With validation off, a call to a SOAPInput with non-Soap payload will result in a null message tree being propagated.


Therefore, rekarm's statement is true.


I agree on the above, but that is only for SOAPInput node. Her statement was in general for all SOAP nodes, which I do not think is 100% correct. Because SOAPReply node can handle non-SOAP message as it wraps the required headers itself.
Back to top
View user's profile Send private message Send e-mail
lancelotlinc
PostPosted: Tue Jan 15, 2013 8:04 am    Post subject: Re: Diff b/n HTTP and SOAP Nodes? Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

kash3338 wrote:
lancelotlinc wrote:

1. SOAPInput node validation on, the call to SOAPInput will fail based on validation not passing.

2. With validation off, a call to a SOAPInput with non-Soap payload will result in a null message tree being propagated.


Therefore, rekarm's statement is true.


I agree on the above, but that is only for SOAPInput node. Her statement was in general for all SOAP nodes, which I do not think is 100% correct. Because SOAPReply node can handle non-SOAP message as it wraps the required headers itself.


What good are SOAP headers with a null SOAP body?
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
kash3338
PostPosted: Tue Jan 15, 2013 8:11 am    Post subject: Re: Diff b/n HTTP and SOAP Nodes? Reply with quote

Shaman

Joined: 08 Feb 2009
Posts: 709
Location: Chennai, India

lancelotlinc wrote:
What good are SOAP headers with a null SOAP body?


Again, a NULL SOAP body comes into picture only when you consider the SOAPInput scenario. Once you get the SOAP headers extracted and do some transformations, the message is no more a SOAP message. It is just a XML, then send it to SOAPReply and it takes care of adding the required headers. The statement made by reka was generic for all SOAP nodes.

For your reference,

Quote:
The SOAP nodes do not require the SOAPEnvelope node, because they can directly handle non-SOAP messages, but the SOAPEnvelope node is still required for the HTTP nodes.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2, 3  Next Page 1 of 3

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Diff b/n HTTP and SOAP 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.