return multiple responses to request

Hello

I need to send multiple responses to request from RFC. How to do it.
Example:
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.

Rgds
Vinod

  • 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.