Author |
Message
|
MB_Learner |
Posted: Sun Apr 26, 2015 8:41 pm Post subject: IBM Websphere Messasge Broker v 8 Service |
|
|
Newbie
Joined: 26 Apr 2015 Posts: 3
|
Hi All,
We have a scenario here in our project, where in we want to host a single web service with multiple operations.
We have multiple transformations to be done on the basis of operation name.
One way is to implement a single web service and put if-else logic to identify operation name and then do transformation and other logic.
But recently, I have come across IBM message broker service meant for SOA based web service.
I am curious to know, how does it work with service description? Since it does the same job of all if-else conditions for operation based logic, by using subflows, which is much easy to understand.
Also, how is the performance of this broker based service? Pros-cons etc.. |
|
Back to top |
|
 |
smdavies99 |
Posted: Sun Apr 26, 2015 9:42 pm Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
What you seem to be asking about is just SOP for WebServices in General.
A WSDL can have multiple operation (request/response) types.
The WSDL is the key.
Then when the message is processed by broker the Root Field name has the name of the request operation.
PErhaps you might like to look at the SOAP Samples and modify them to have extra functions? That way you can get a proper idea of how this applies to your particular requirements. _________________ 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 |
|
 |
MB_Learner |
Posted: Sun Apr 26, 2015 9:54 pm Post subject: |
|
|
Newbie
Joined: 26 Apr 2015 Posts: 3
|
Quote: |
Then when the message is processed by broker the Root Field name has the name of the request operation. |
but anyways, when SOAP Input node received request message..I would have to identify the operation name in compute node and do the respective logic for that operation.
What I can see in message broker service is, service descriptor itself has logic to differenciate between operations and route it accordingly to respective subflow. |
|
Back to top |
|
 |
New_2_IIB9 |
Posted: Sun Apr 26, 2015 10:13 pm Post subject: |
|
|
Newbie
Joined: 17 Dec 2014 Posts: 6
|
you can have multiple operation on single wsdl and you could use a SOAP Extract node to create the lable and then depending on lable you can call the operation and further transformation on that operation . |
|
Back to top |
|
 |
smdavies99 |
Posted: Sun Apr 26, 2015 10:22 pm Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
The last two posts illustrate why I suggested looking at the sample flows AND trying to modify them to accept multiple operations.
Why not give that a go and see what happens?
By all means come back with further queries on the subject once you have a bit more of an understanding of the topic.
A quick search using 'WSDL multiple operation' revealed a lot of useful information. There is even a post on stackoverflow.com relating to how to do it. _________________ 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 |
|
 |
MB_Learner |
Posted: Mon May 04, 2015 10:11 pm Post subject: |
|
|
Newbie
Joined: 26 Apr 2015 Posts: 3
|
I tried with route to lable approach, it is working as expected. Thanks!
But I also wanted to know more on Message broker services.. |
|
Back to top |
|
 |
Simbu |
Posted: Tue May 05, 2015 8:03 am Post subject: |
|
|
 Master
Joined: 17 Jun 2011 Posts: 289 Location: Tamil Nadu, India
|
|
Back to top |
|
 |
|