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 » IBM Websphere Messasge Broker v 8 Service

Post new topic  Reply to topic
 IBM Websphere Messasge Broker v 8 Service « View previous topic :: View next topic » 
Author Message
MB_Learner
PostPosted: Sun Apr 26, 2015 8:41 pm    Post subject: IBM Websphere Messasge Broker v 8 Service Reply with quote

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
View user's profile Send private message
smdavies99
PostPosted: Sun Apr 26, 2015 9:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
MB_Learner
PostPosted: Sun Apr 26, 2015 9:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
New_2_IIB9
PostPosted: Sun Apr 26, 2015 10:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
smdavies99
PostPosted: Sun Apr 26, 2015 10:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
MB_Learner
PostPosted: Mon May 04, 2015 10:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
Simbu
PostPosted: Tue May 05, 2015 8:03 am    Post subject: Reply with quote

Master

Joined: 17 Jun 2011
Posts: 289
Location: Tamil Nadu, India

MB_Learner wrote:
I tried with route to lable approach, it is working as expected. Thanks!

But I also wanted to know more on Message broker services..


You can use "Service" which is a specialized application in WMB v8 to develop your webservice. It does everything you want with the help of wsdl and all you need to do is concentrate on the operation implementation.

http://www-01.ibm.com/support/knowledgecenter/SSKM8N_8.0.0/com.ibm.etools.mft.doc/bc19311_.htm?lang=en
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 » IBM Websphere Messasge Broker v 8 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.