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 » Invoking a WebService from ESQL?!

Post new topic  Reply to topic
 Invoking a WebService from ESQL?! « View previous topic :: View next topic » 
Author Message
TonyD
PostPosted: Mon Jul 10, 2006 6:02 pm    Post subject: Invoking a WebService from ESQL?! Reply with quote

Knight

Joined: 15 May 2001
Posts: 540
Location: New Zealand

I have a situation where an output XML message is being mapped from an input XML message that contains an array of elements of the same type. We iterate through the input array and for each we do a table lookup. Depending upon the value of a field returned from the lookup we must then call a webservice to provide additional information that must be also included in the output XML message.

Is there any way that I can invoke this web service request from within my ESQL, during the build of the output XML message?
Back to top
View user's profile Send private message Send e-mail
mgk
PostPosted: Tue Jul 11, 2006 12:54 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

Hi,

You cannot call a web service directly from ESQL, so you have two choices.

You could call a Java method from ESQL, and call you web service from there (but then you have to do all the work) or you could use propagate to send the message out to an HTTPRequestNode part way throught your ESQL code. You then configure the requestnode to store the response in the Environment (or you can use the InputLocalEnvironment (if the DELETE NONE V6 propagate clause is used)) and then you can see the response in the Compute node when the propagate returns.


Regards,
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
Back to top
View user's profile Send private message
MQRocks
PostPosted: Thu Mar 03, 2011 9:17 am    Post subject: calling webservice in ESQL Reply with quote

Newbie

Joined: 27 Jan 2011
Posts: 6

I have the same issue , I have a flow in which I need to call the webservice and use the values from the Reply in the output message.
can you please be more specific how to do this with the 2nd choice that you mentioned. Thanks.
Back to top
View user's profile Send private message
paintpot
PostPosted: Thu Mar 03, 2011 9:55 am    Post subject: Reply with quote

Centurion

Joined: 19 Sep 2005
Posts: 112
Location: UK

You will get told off for resurrecting ancient posts.

You may wish to start a new topic, and define exactly what you are trying to do - e.g. one web service call, or many? in parallel or not, in parallel with the original processing or not? What transport and also what version of WMB?

A bit more info would help get a proper answer - note that strictly this isn't very hard, and can be found out from the existing help and technical samples...
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 » Invoking a WebService from ESQL?!
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.