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:36:57 GMT
The attachment....

>      As attachement the deployment zip.
>
>    DEBUG - GeronimoLog.debug(66) | Received request message for
> TestAssign.{http://ode/bpel/unit-testAssign1.wsdl[1]
> }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[2]
> Part: name=TestPart
> typeName={http://www.w3.org/2001/XMLSchema}string[3]
> Output: name=TestOut
> Message: name={http://ode/bpel/unit-testAssign1.wsdl}TestAssignMessage[4]
> Part: name=TestPart
> typeName={http://www.w3.org/2001/XMLSchema}string[5] from service
> {http://ode/bpel/unit-testAssign1.wsdl}TestAssi[6]
> gnService
> DEBUG - GeronimoLog.debug(66) | Invoking ODE using MEX
> {MyRoleMex#hqejbhcnphr4lm9328cka1 [Client null] calling
>  {http://ode/bpel/unit-testAssign1.wsdl}TestAssignService.testAssign[7](...)}
> DEBUG - GeronimoLog.debug(66) | Message content:  <?xml  
> version="1.0"  encoding="UTF-8"?>
> <message><TestPart xmlns=""
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/[8]"
> xmlns:xsd="http://www.w3[9]
> .org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance[10]">Hello</TestPart></message>
> DEBUG - GeronimoLog.debug(66) | invoke() EPR= null ==>
> ODEProcess[{http://ode/bpel/unit-testAssign1}TestE4XDir[11]
> 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[12]:
>  org.apache.ode.bpel.engine.BpelInstanceWorker$1@173b35d
> DEBUG - GeronimoLog.debug(66) | enqueuRunnable for process
> {http://ode/bpel/unit-testAssign1}TestE4XDirect-20[13]:
>  {BpelInstanceWorker for   
> {http://ode/bpel/unit-testAssign1}TestE4XDirect-20#3251[14]}
> 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[15]
> 1 in thread Thread[ODEServerImpl-2,5,main]
> DEBUG - GeronimoLog.debug(66) | Doing work for instance
> {http://ode/bpel/unit-testAssign1}TestE4XDirect-20#325[16]
> 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[17] completed OK.
> DEBUG - GeronimoLog.debug(66) | Finished work for instance
> {http://ode/bpel/unit-testAssign1}TestE4XDirect-20#[18]
> 3251 in thread Thread[ODEServerImpl-1,5,main]
> DEBUG - GeronimoLog.debug(66) | Finished work for instance
> {http://ode/bpel/unit-testAssign1}TestE4XDirect-20#[19]
> 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]
> -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[21](...)}
> DEBUG - GeronimoLog.debug(66) | Response message <?xml version='1.0'
> encoding='utf-8'?><soapenv:Envelope xmlns
> :soapenv="http://schemas.xmlsoap.org/soap/envelope/[22]"><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[23]
> DEBUG - GeronimoLog.debug(66) | Reply message <?xml version='1.0'
> encoding='utf-8'?><soapenv:Envelope xmlns:so
> apenv="http://schemas.xmlsoap.org/soap/envelope/[24]"><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[25]
>>
>>



Links:
------
[1] http://ode/bpel/unit-testAssign1.wsdl
[2] http://ode/bpel/unit-testAssign1.wsdl}TestAssignMessage
[3] http://www.w3.org/2001/XMLSchema}string
[4] http://ode/bpel/unit-testAssign1.wsdl}TestAssignMessage
[5] http://www.w3.org/2001/XMLSchema}string
[6] http://ode/bpel/unit-testAssign1.wsdl}TestAssi
[7] http://ode/bpel/unit-testAssign1.wsdl}TestAssignService.testAssign
[8] http://schemas.xmlsoap.org/soap/envelope/
[9] http://www.w3
[10] http://www.w3.org/2001/XMLSchema-instance
[11] http://ode/bpel/unit-testAssign1}TestE4XDir
[12] http://ode/bpel/unit-testAssign1}TestE4XDirect-20#3251
[13] http://ode/bpel/unit-testAssign1}TestE4XDirect-20
[14] http://ode/bpel/unit-testAssign1}TestE4XDirect-20#3251
[15] http://ode/bpel/unit-testAssign1}TestE4XDirect-20#325
[16] http://ode/bpel/unit-testAssign1}TestE4XDirect-20#325
[17] http://ode/bpel/unit-testAssign1}TestE4XDirect-20
[18] http://ode/bpel/unit-testAssign1}TestE4XDirect-20#
[19] http://ode/bpel/unit-testAssign1}TestE4XDirect-20#
[20] http://ode/bpel/unit-testAssign1}TestE4XDirect
[21] http://ode/bpel/unit-testAssign1.wsdl}TestAssignService.testAssign
[22] http://schemas.xmlsoap.org/soap/envelope/
[23] http://ode/bpel/unit-testAssign1.wsdl}testAssign
[24] http://schemas.xmlsoap.org/soap/envelope/
[25] http://www.taval.de


Mime
View raw message