ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniela Butano <Daniela.But...@eng.it>
Subject Re: Example using e4x extension
Date Thu, 17 Sep 2009 12:32:49 GMT


     As attachement the deployment zip.

   DEBUG - GeronimoLog.debug(66) | Received request message for  
TestAssign.{http://ode/bpel/unit-testAssign1.wsdl
}testAssign
DEBUG - GeronimoLog.debug(66) | ODE routed to operation Operation:  
name=testAssign
style=REQUEST_RESPONSE,1
Input: name=TestIn
Message: name={http://ode/bpel/unit-testAssign1.wsdl}TestAssignMessage
Part: name=TestPart
typeName={http://www.w3.org/2001/XMLSchema}string
Output: name=TestOut
Message: name={http://ode/bpel/unit-testAssign1.wsdl}TestAssignMessage
Part: name=TestPart
typeName={http://www.w3.org/2001/XMLSchema}string from service  
{http://ode/bpel/unit-testAssign1.wsdl}TestAssi
gnService
DEBUG - GeronimoLog.debug(66) | Invoking ODE using MEX  
{MyRoleMex#hqejbhcnphr4lm9328cka1 [Client null] calling
 {http://ode/bpel/unit-testAssign1.wsdl}TestAssignService.testAssign(...)}
DEBUG - GeronimoLog.debug(66) | Message content:  <?xml version="1.0"  
encoding="UTF-8"?>
<message><TestPart xmlns=""  
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"  
xmlns:xsd="http://www.w3
.org/2001/XMLSchema"  
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">Hello</TestPart></message>
DEBUG - GeronimoLog.debug(66) | invoke() EPR= null ==>  
ODEProcess[{http://ode/bpel/unit-testAssign1}TestE4XDir
ect-20]
DEBUG - GeronimoLog.debug(66) | INPUTMSG: 16.testAssign: MSG RCVD  
keys=[] mySessionId=null partnerSessionId=nu
ll
DEBUG - GeronimoLog.debug(66) | INPUTMSG: 16.testAssign: routing  
failed, CREATING NEW INSTANCE
DEBUG - GeronimoLog.debug(66) | enqueue: for instance  
{http://ode/bpel/unit-testAssign1}TestE4XDirect-20#3251:
 org.apache.ode.bpel.engine.BpelInstanceWorker$1@173b35d
DEBUG - GeronimoLog.debug(66) | enqueuRunnable for process  
{http://ode/bpel/unit-testAssign1}TestE4XDirect-20:
 {BpelInstanceWorker for  
{http://ode/bpel/unit-testAssign1}TestE4XDirect-20#3251}
DEBUG - GeronimoLog.debug(66) | Starting worker thread  
Thread[ODEServerImpl-2,5,main] for instance IID {http:/
/ode/bpel/unit-testAssign1}TestE4XDirect-20#3251
DEBUG - GeronimoLog.debug(66) | Doing work for instance  
{http://ode/bpel/unit-testAssign1}TestE4XDirect-20#325
1 in thread Thread[ODEServerImpl-2,5,main]
DEBUG - GeronimoLog.debug(66) | Doing work for instance  
{http://ode/bpel/unit-testAssign1}TestE4XDirect-20#325
1 in thread Thread[ODEServerImpl-1,5,main]
DEBUG - GeronimoLog.debug(66) | SELECT: 15: USING CORRELATOR 16.testAssign
DEBUG - GeronimoLog.debug(66) | SELECT: 15: CHECKING for NEW INSTANCE match
DEBUG - GeronimoLog.debug(66) | INPUTMSGMATCH: Changing process  
instance state from ready to active
DEBUG - GeronimoLog.debug(66) | SELECT: 15: FOUND match for NEW  
instance mexRef=org.apache.ode.dao.jpa.Message
ExchangeDAOImpl@ba3b30
DEBUG - GeronimoLog.debug(66) | ProcessImpl  
{http://ode/bpel/unit-testAssign1}TestE4XDirect-20 completed OK.
DEBUG - GeronimoLog.debug(66) | Finished work for instance  
{http://ode/bpel/unit-testAssign1}TestE4XDirect-20#
3251 in thread Thread[ODEServerImpl-1,5,main]
DEBUG - GeronimoLog.debug(66) | Finished work for instance  
{http://ode/bpel/unit-testAssign1}TestE4XDirect-20#
3251 in thread Thread[ODEServerImpl-2,5,main]
DEBUG - GeronimoLog.debug(66) | Worker thread  
Thread[ODEServerImpl-2,5,main] for instance IID 3251 ran out of
work.
DEBUG - GeronimoLog.debug(66) | schedulingRunnable for process  
{http://ode/bpel/unit-testAssign1}TestE4XDirect
-20: org.apache.ode.bpel.engine.UnreliableMyRoleMessageExchangeImpl$2@1b5d53a
DEBUG - GeronimoLog.debug(66) | Handling response for MEX  
{MyRoleMex#hqejbhcnphr4lm9328cka1 [Client null] call
ing {http://ode/bpel/unit-testAssign1.wsdl}TestAssignService.testAssign(...)}
DEBUG - GeronimoLog.debug(66) | Response message <?xml version='1.0'  
encoding='utf-8'?><soapenv:Envelope xmlns
:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><odens:testAssignResponse
 
xmlns:odens="http
://ode/bpel/unit-test.wsdl"><TestPart>test</TestPart></odens:testAssignResponse></soapenv:Body></soapenv:Envel
ope>
DEBUG - GeronimoLog.debug(66) | Releasing mex hqejbhcnphr4lm9328cka1
DEBUG - GeronimoLog.debug(66) | Reply for  
TestAssign.{http://ode/bpel/unit-testAssign1.wsdl}testAssign
DEBUG - GeronimoLog.debug(66) | Reply message <?xml version='1.0'  
encoding='utf-8'?><soapenv:Envelope xmlns:so
apenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><odens:testAssignResponse
 
xmlns:odens="http://
ode/bpel/unit-test.wsdl"><TestPart>test</TestPart></odens:testAssignResponse></soapenv:Body></soapenv:Envelope
>

   Thanks

> Hi Daniela,
>
> Without the logs it's hard to tell what's going wrong. Could you provide
> us the logs and perhaps your process bundle?
>
> Thanks,
>    Tammo
>
> Daniela Butano wrote:
>>
>>
>>    Hello Ode Team,
>>
>>    after different attempts to design a bpel process using e4x
>> extension,(in fact the ode engine seems doesn't call the methods defined
>> in the extension), I' ve download from the trunk the sample (located in
>> the directory test relative to e4x extension) TestE4XDirect, I've
>> modified the process TestE4XDirect.bpel to introduce an assign to
>> initialize the output variable "otherMsgVar", I've deployed the process
>> in ode2.0 beta2.
>>
>>    When the process runs, it seems that the engine doesn't execute the code:
>>
>>    <extensionAssignOperation>
>>                  <js:snippet>
>>                  myVar.TestPart += ' World';
>>                  otherMsgVar = myVar;
>>                  </js:snippet>
>>              </extensionAssignOperation>
>>
>>    In fact, the output variable otherMsgVar doesn't contains the input
>> value concatened with the string 'World' but contains the value assigned
>> at the initialization.
>>
>>    Any suggestions? Thanks in advanced
>>
>>    Daniela
>>
>>
>>
>
>
> --
> Tammo van Lessen - http://www.taval.de
>
>



Mime
View raw message