Yes, you can do this with 2 BPEL process:
1. Define a one way operation for BP1, using this BP1 to invoke wlm as
you did before, but the WSDL for this BP itself is one way
2. Define another BP that calls BP1. this BP is your actual main
business process, this BP2 calls BP1 whenever it wants to insert tasks,
since BP1 is asynchronous, BP2 will not wait for the task to complete.
Does it make sense?
Thanks
Mei
chetan_tal wrote:
> Hi,
>
> Is there any way to invoke WLM asynchronously? I tried to define wsdl with
> oneway opertation and building WLM module it could not generate XForm and
> gave following error.
> java.lang.NullPointerException
> at
> org.netbeans.modules.wlm.project.anttasks.Util.generateXForm(Util.java:271)
>
> My requirement is our existing web module should be able to insert tasks
> into WLM database and approval can be done from WorklistWebApplication. Are
> there operations in TaskCommon.wsdl to insert tasks? Which operations can be
> useful in this scenario?
>
> Thanks,
> Chetan
>
---------------------------------------------------------------------
To unsubscribe, e-mail:
[hidden email]
For additional commands, e-mail:
[hidden email]