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?
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"?
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!