|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Webservices -Design query |
« View previous topic :: View next topic » |
Author |
Message
|
GeneRK4 |
Posted: Mon Jan 26, 2015 8:02 pm Post subject: Webservices -Design query |
|
|
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 |
|
 |
smdavies99 |
Posted: Mon Jan 26, 2015 10:50 pm Post subject: |
|
|
 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 |
|
 |
GeneRK4 |
Posted: Wed Jan 28, 2015 3:46 am Post subject: |
|
|
Master
Joined: 08 Jul 2013 Posts: 220
|
Thank you..  |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Jan 28, 2015 4:51 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 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 |
|
 |
shashivarungupta |
Posted: Sun Feb 01, 2015 6:54 pm Post subject: Re: Webservices -Design query |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|