return multiple responses to request


I need to send multiple responses to request from RFC. How to do it.
As soon request resceived from SAP/RFC to webMethods send response to SAP “Data recevied”
After the process complete send another response “Process complete”

How is it possible to send multiple responses ? How to keep the thread open after first response sent.


  • Create two publishable docs (dataReceived and processCompleted).
  • Create two notification services and their corresponding triggers.

Once a request is sent from SAP, publish dataReceived to broker, and once the process completed publish processCompleted to broker.

Your two notification services will take care of the job.