I need your advise regarding asynchronous invocation of a flow service. Let me put this across with an example.
Flow service F1 has to invoke two services A1 and A2. The service A1 can be invoked asynchronously and the output of A1 is not required or immaterial to go ahead with execution of service A2. The services A1 and A2 lie on the same IS(may be under different packages).
Under these circumstances, I can make service F1 publish a document which will be subscribed by A1. The publish can be a local publish. The alternative approach is that I can use doThreadInvoke to achieve the same functionality.
What is the best way of implementing this and why?