This content has been marked as final.
Show 3 replies
-
1. Re: BPEL - receive - invoke
aguizar Oct 4, 2006 4:44 PM (in response to kvak_tnt)Hi Claus,
I don't get it. You say you have a receive (activity?) and then ask why the code in your partner service is not executed. To call other a partner service from your process, you'd use the invoke activity, but I don't believe that's your question.
Can you rephrase or use an example?
-Alex -
2. Re: BPEL - receive - invoke
kvak_tnt Oct 4, 2006 4:53 PM (in response to kvak_tnt)I think I'll rewrite it here:
<sequence name="START"> <receive operation="connectMe" partnerLink="atm" portType="atm:FrontEnd" variable="agilproReq"/>
I have implemented a connectMe operation in my agilpro_impl.java file (partner relation) and added the following code (for test purpose):System.out.println("**** connectMe ****");
So I see allways a log message in jBOSS console everytime an operation is performed.
If I start a receive operation like above - this code is not performed. The only way - I now found out - is the following:sequence name="START"> <receive operation="connectMe" partnerLink="atm" portType="atm:FrontEnd" variable="agilproReq"/> <invoke inputVariable="agilproReq" name="initialConnect" operation="connectMe" partnerLink="agilpro" portType="agi:AgilproIssuer"/>
Like above: If I first use a receive on the atm relation and
then an invoke on the partner relation - my code works.
The only thing now: will this cause problems later on?
Or would you say it is "good code"?
Greetings
Claus -
3. Re: BPEL - receive - invoke
kvak_tnt Oct 4, 2006 5:08 PM (in response to kvak_tnt)OK ... I've found my error... :-)
If I call atm Relation with frontend...
I should add my code into the frontend_impl.java.
That was my fault!
Greetings
Claus