Task: Publish and subscribe
Platform: webMethods 4.6
Publish and Subscribe
Publishing and Subscribing services in Developer:
Ø First create a publishable document type in one Integration Server using Developer
Ø Publish that document using the flow service as shown below.
Ø Create a Trigger in another Integration Server for subscribing the Published document.
Ø Now create a Subscribing Service in this Integration Server.
Ø Trigger fires the subscribe service whenever a document is published in Broker.
Ø In the subscribing service we have to take the fully qualified name of publishable document (subscribe: pub_doc).
Now when we run the publish service in the first IS it will automatically publish the document in broker. We can view the document in both the broker servers in WmBrokerAdmin.