|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Calling Webservices using PUBSUB mechanism |
« View previous topic :: View next topic » |
Author |
Message
|
monangi1 |
Posted: Sun Feb 02, 2014 9:14 pm Post subject: Calling Webservices using PUBSUB mechanism |
|
|
Novice
Joined: 02 Feb 2014 Posts: 11
|
HI Every One,
I am looking for invoking a WEB SERVICE using PUB SUB mechanism in IIB9. If anybody having any idea or documentation, please share your thoughts. Thanks in advance. |
|
Back to top |
|
 |
Esa |
Posted: Sun Feb 02, 2014 11:43 pm Post subject: |
|
|
 Grand Master
Joined: 22 May 2008 Posts: 1387 Location: Finland
|
I don't think there is any standard for publish-subcribe for web Services. If there is, I would be very interested to hear about it.
I once implemented such thing, for one-way operations only. Supporting request-reply operations would have been at least twice as complicated.
Subsriptions were made by administratively adding a row in a database.
What made the scenario complicated is that web services are not transactional. You cannot roll back the whole operation if one of the endpoints is down, because others may already have committed. Our solution was to queue and retry calls for endpoints that are down.
That flow is still perhaps the most complex I have ever written. I later created a subflow version of it. If you dragged the subflow into a message flow and connected all terminals, the flow diagram looked like a shamrock with double petals. Or something like that.
Good Luck! |
|
Back to top |
|
 |
Simbu |
Posted: Mon Feb 03, 2014 1:28 am Post subject: |
|
|
 Master
Joined: 17 Jun 2011 Posts: 289 Location: Tamil Nadu, India
|
Have you considered SOAP/JMS WebService? It supports PUB SUB mechanism. |
|
Back to top |
|
 |
Esa |
Posted: Mon Feb 03, 2014 1:44 am Post subject: |
|
|
 Grand Master
Joined: 22 May 2008 Posts: 1387 Location: Finland
|
Simbu wrote: |
Have you considered SOAP/JMS WebService? It supports PUB SUB mechanism. |
Good point. That should be much simpler to implement than with http-based web services. Taking a round-trip via JMS pub-sub might also work even if the actual web services were http-based. |
|
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
|
|
|
|