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 » Webservices -Design query

Post new topic  Reply to topic
 Webservices -Design query « View previous topic :: View next topic » 
Author Message
GeneRK4
PostPosted: Mon Jan 26, 2015 8:02 pm    Post subject: Webservices -Design query Reply with quote

Master

Joined: 08 Jul 2013
Posts: 220

I have a design level query on Webservices for using WSDL.

This is the scenario..

WMB -1st message flow:

A(Consumer) --> B(Producer)

WMB -2nd message flow:

B(Consumer) -->A(Producer)

While doing a small test,One service in One WSDL for "A" which has two operations each for 1st and 2nd message flow works fine..
Similarly,One service in second WSDL for "B" which has two operations each for 1st and 2nd message flow works fine..
But is this good design to have same WSDL with one service which will be used by A in both of its Consumer and Producer scenarios by having two different operations?Same case for B too?
Back to top
View user's profile Send private message
smdavies99
PostPosted: Mon Jan 26, 2015 10:50 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.

Personally, I'd keep them separate.

I consider a WSDL a contract between a producer and a consumer for how data will be exchanged.
Sure you can merge the WSDL's but you could end up with a bigger maintennance headache that if you separate them.

For me the KISS rules applies.
_________________
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
GeneRK4
PostPosted: Wed Jan 28, 2015 3:46 am    Post subject: Reply with quote

Master

Joined: 08 Jul 2013
Posts: 220

Thank you..
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Jan 28, 2015 4:51 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9394
Location: US: west coast, almost. Otherwise, enroute.

Moved to broker forum.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
shashivarungupta
PostPosted: Sun Feb 01, 2015 6:54 pm    Post subject: Re: Webservices -Design query Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

GeneRK4 wrote:

But is this good design to have same WSDL with one service which will be used by A in both of its Consumer and Producer scenarios by having two different operations?Same case for B too?


I agree with smdavies99 ..
personally I also think to keep different wsdls for participants in a service (specially for new service/application) ..
Future changes in one will not affect the changes to other.. try to keep them as much as decoupled as possible (unless it cannot be achieved somehow).


_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Webservices -Design query
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.