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 » Calling Webservice Operations Dynamically

Post new topic  Reply to topic
 Calling Webservice Operations Dynamically « View previous topic :: View next topic » 
Author Message
sourdas2
PostPosted: Wed Mar 04, 2009 10:02 pm    Post subject: Calling Webservice Operations Dynamically Reply with quote

Voyager

Joined: 21 Apr 2006
Posts: 90
Location: Kolkata,India

I am using WMB V6.1 to create a message flow which would act as mediator between service requester and service provider. The message protocol of service requester is XML/MQ and service provider SOAP/HTTPS.

The message flow is very simple - MQIn -> SOAP Req -> MQOut.

The Webservice Provider has single WSDL file but multiple operations in it.
I need to call different operations dynamically based on input message payload. Can I invoke different operations of a webservice dynamically using SOAP Request node ?
_________________
Thanks and Warm Regards
Sourav
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
elvis_gn
PostPosted: Wed Mar 04, 2009 10:32 pm    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi sourdas2,

http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r1m0/index.jsp?topic=/com.ibm.etools.mft.doc/ac56190_.htm

Regards.
Back to top
View user's profile Send private message Send e-mail
sourdas2
PostPosted: Wed Mar 04, 2009 10:44 pm    Post subject: Reply with quote

Voyager

Joined: 21 Apr 2006
Posts: 90
Location: Kolkata,India

Thanks Elvis for your quick reply.

But using LocalEnvironment I am able to set
    WebServiceURL
    RequestURI
    Timeout
    ProxyURL
    SSLProtocol
    SSLCiphers
    HTTPVersion
    Method
    ProxyConnectHeaders
. But I am not getting any options to set Operation Name, Binding Name dynamically.
_________________
Thanks and Warm Regards
Sourav
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
MQEnthu
PostPosted: Wed Mar 04, 2009 11:07 pm    Post subject: Reply with quote

Partisan

Joined: 06 Oct 2008
Posts: 329
Location: India

you can set wsa:Action explicitly via the LocalEnvironment prior to a SOAPRequest node.

The ESQL to set the wsa:Action to

Code:
SET OutputLocalEnvironment.Destination.SOAP.Request.WSA.Action

_________________
-----------------------------------------------
It is good to remember the past,
but don't let past capture your future
Back to top
View user's profile Send private message
mgk
PostPosted: Thu Mar 05, 2009 12:54 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1638

Hello.

The SOAPRequest node allows you to choose the selected operation within the selected binding dynamically by setting the following location in the LocalEnvironment:

Code:
 SET OutputLocalEnvironment.Destination.SOAP.Request.Operation = 'timesTen';


where 'timesTen' is the name of the operation you wish to use. However, you cannot change the selected binding dynamically. For that you will need a second SOAPRequest node.

Kind 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
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Calling Webservice Operations Dynamically
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.