Im using pub.publish:publishAndWait, which is returning the ‘receivedDocument’ as null.
On the publishing side:
I’ve a service which publishes ns:Request Document and expects a ns:Response Document.
On the subscribing side:
I’ve created a trigger to invoke a serivce on the receipt of ns:Request.
This service does some processing and uses
pub.publish:reply to respond back with ‘ns:Response’
I could save the pipeline in subscribing service and see the published document, however the after the timeout of publishAndWait, Im getting a null document for ‘receivedDocument’ parameter.
Please let me know if someone has an idea about whats going wrong?
Thanks in advance