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 » SOAP node support for Multiple Operation Web Service ?

Post new topic  Reply to topic
 SOAP node support for Multiple Operation Web Service ? « View previous topic :: View next topic » 
Author Message
PankajS
PostPosted: Thu Mar 27, 2008 5:11 pm    Post subject: SOAP node support for Multiple Operation Web Service ? Reply with quote

Voyager

Joined: 27 Dec 2004
Posts: 82

Hi,
We are working on Web Services on MB v 6.1.
We have a requirment where SOAPInput node need to handle call to web service supporting multiple operation .We need to follow different message processing path depending upon the operation specified by client.

We thought of using Routing function provided by SOAPExtract node . SOAPInput --> SOAPExtract and this node will route(at runtime) to different labels depending on operation specified in the reseuest. But, we are not sure how extract node takes decision of routing messages to different nodes. Because,examples from sample galary show that the string used after prefix ('ws_' in the example) need not match to the operation name in the WSDL.So,we are in doubt how Extrat node routes to different lables in that case.

Can you some one throw some light on this.
Thnaks in advance
Back to top
View user's profile Send private message
mgk
PostPosted: Fri Mar 28, 2008 2:13 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

Hi.

The 'ws_' is just a prefix added by default by the SOAPExteact node when generating a flow from WSDL. You can change this on the extract node if you want to.

However, you can also wire a SOAPInput node directly to a RouteToLabel node if you wish as the SOAPInput node adds all the necessary routing information to the LocalEnvironment automatically (which will allow routing to a label node with the WSDL Operation Name). This allows you to continue to use the SOAP parser for things like attachments if you need to.


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
PankajS
PostPosted: Sun Mar 30, 2008 6:08 pm    Post subject: Reply with quote

Voyager

Joined: 27 Dec 2004
Posts: 82

Hi mgk,
Thanks inoformation.

I still have a doubt.May be I will try to expain it with scenario.

Consider a case where I have 3 operation ,A,B,C ,linked to a web service XYZ. Say,I configure Extract node with route to prefix 'ws_'. In this case I need to have 3 label nodes as there are three operations.

Now,my question is what should i put in the 'Label Name' property of each Label node ? As i understand it should be like 'ws_?'. But then what should go for question mark ?

In the example that i was following from toolkit sample galary (it is single operation example), they have mentioned 'ws_(firstElementOFSoapBody)'. But at the same time I can see in debugger that routing information in LocalEnvironment is set to 'Operation Name' that is set in properties of the SOAPInput node. So I am confused about how the routing is taking place in this case
Back to top
View user's profile Send private message
mgk
PostPosted: Mon Mar 31, 2008 12:25 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

If you look at the properties of the SOAPInput node, you can see that is also has the ability to set a "label prefix". If you place (for example) 'ws_' in there then the routing information in the LocalEnvrionment after the SOAPInput node will contain 'ws_<operationName>' where the <operationName> came from the SOAPAction or WSAAction (if WSA is or a SOAPAction was used) or the <firstChildOfBody>.

Regards,


MGK
_________________
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
PankajS
PostPosted: Mon Mar 31, 2008 2:38 pm    Post subject: Reply with quote

Voyager

Joined: 27 Dec 2004
Posts: 82

Thanks a lot mgk !!...that clears my doubt
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 » SOAP node support for Multiple Operation Web Service ?
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.