[jboss-user] [JBoss jBPM] - Re: BPEL beta2 - wait activity
wugf
do-not-reply at jboss.com
Wed Oct 25 16:55:23 EDT 2006
Alex, thanks. Now I tested wait up to PT60M and it worked.
But I encountered another problem: it does NOT work when I put a wait before and a wait after an invoke of a partnerLink, for example
<wait for="'PT5S'" />
<invoke name="Invoke_eOffer" partnerLink="PartnerLink_eOffer"
portType="ns4:SwsService" operation="cancelSolicitation"
inputVariable="Invoke_eOffer_cancelSolicitation_InputVariable"
outputVariable="Invoke_eOffer_cancelSolicitation_OutputVariable"/
<wait for="'PT5S'" />
It timed out.
Just for reference, it works and gives 10 seconds wait if I put the 2 waits together (either before or after the invoke) like
<wait for="'PT5S'" />
<wait for="'PT5S'" />
<invoke name="Invoke_eOffer" partnerLink="PartnerLink_eOffer"
portType="ns4:SwsService" operation="cancelSolicitation"
inputVariable="Invoke_eOffer_cancelSolicitation_InputVariable"
outputVariable="Invoke_eOffer_cancelSolicitation_OutputVariable"/
or
<invoke name="Invoke_eOffer" partnerLink="PartnerLink_eOffer"
portType="ns4:SwsService" operation="cancelSolicitation"
inputVariable="Invoke_eOffer_cancelSolicitation_InputVariable"
outputVariable="Invoke_eOffer_cancelSolicitation_OutputVariable"/
<wait for="'PT5S'" />
<wait for="'PT5S'" />
Please anybody let me know what the problem is. Thanks in advance.
(the missing ">" at the end of invoke is in the code, anyhow, it's not in the Preview)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980840#3980840
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980840
More information about the jboss-user
mailing list