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 » Propogate and HTTP Request nodes

Post new topic  Reply to topic
 Propogate and HTTP Request nodes « View previous topic :: View next topic » 
Author Message
ganu
PostPosted: Thu Mar 15, 2007 8:34 am    Post subject: Propogate and HTTP Request nodes Reply with quote

Newbie

Joined: 15 Mar 2007
Posts: 2

is it possible to invoke more than one web service from a single HTTPRequest node. (URL can be common for both requests, only the SOAP message body differs each time)
Say I want to invoke two services and consolidate , then send the reply.

The reason I cant use two HTTPRequest nodes in a sequence , is because I am using the same message flow for another message type that requires only one invocation.

Can propagate be used in a node before the HtttpRequest or something!!?????
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Mar 15, 2007 9:24 am    Post subject: Re: Propogate and HTTP Request nodes Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

ganu wrote:
Can propagate be used in a node before the HtttpRequest

Yes
ganu wrote:
or something!!?????

Yes

And the answer to the almost inevitable follow-up is "The best one to use is the best one for you".
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Thu Mar 15, 2007 9:28 am    Post subject: Re: Propogate and HTTP Request nodes Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

ganu wrote:
is it possible to invoke more than one web service from a single HTTPRequest node. (URL can be common for both requests, only the SOAP message body differs each time)
Say I want to invoke two services and consolidate , then send the reply.

The reason I cant use two HTTPRequest nodes in a sequence , is because I am using the same message flow for another message type that requires only one invocation.

Can propagate be used in a node before the HtttpRequest or something!!?????


I had similar case.

You can use for this Aggregation node and 2 separate HTTPRequst nodes.
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
jefflowrey
PostPosted: Thu Mar 15, 2007 9:33 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Since HTTPRequest node is synchronous (because HTTP is synchronous) you don't need Aggregation.

Compute1(propagates twice) -> HTTPRequest->Compute2(copies result to environment, returns false if first response)->Compute3(assembles)->Reply
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Thu Mar 15, 2007 9:41 am    Post subject: Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

jefflowrey wrote:
Since HTTPRequest node is synchronous (because HTTP is synchronous) you don't need Aggregation.

Compute1(propagates twice) -> HTTPRequest->Compute2(copies result to environment, returns false if first response)->Compute3(assembles)->Reply


Hm. Now I think it's definitely better way.

I haven't considered this option.

I will have to test it.
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
ganu
PostPosted: Thu Mar 15, 2007 9:44 am    Post subject: Reply with quote

Newbie

Joined: 15 Mar 2007
Posts: 2

jefflowrey wrote:
Since HTTPRequest node is synchronous (because HTTP is synchronous) you don't need Aggregation.

Compute1(propagates twice) -> HTTPRequest->Compute2(copies result to environment, returns false if first response)->Compute3(assembles)->Reply


Thanks Jeff.. , that was the node seq i wanted to see , hope it works in practice just as good!!
Back to top
View user's profile Send private message
Bill.Matthews
PostPosted: Fri Mar 16, 2007 5:34 am    Post subject: Reply with quote

Master

Joined: 23 Sep 2003
Posts: 232
Location: IBM (Retired)

ganu,

Here is a whitepaper on developerworks that I wrote about a similar situation.

http://www-128.ibm.com/developerworks/webservices/library/ws-soa-msgbroker/

After the HTTPRequest, we saved what was needed in the Environment. We also made use of the Propagate from a compute node to return the updated message back to the caller. In this case, the caller wanted the identical MQMD returned.

The secenario could easily be extended to calling multiple HTTPRequests.

With a Propagate to Label ... the number of HTTPRequests is not bounded by the number of out terminals.
_________________
Bill Matthews
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 » Propogate and HTTP Request 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.