You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ode.apache.org by Daniela Butano <Da...@eng.it> on 2009/09/17 14:02:47 UTC

Example using e4x extension


   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



Re: Example using e4x extension

Posted by Tammo van Lessen <tv...@gmail.com>.
Hi Daniela,

the attached bundle does not include any e4x extension activities.

copy-pasting from your BPEL file:

 <bpws:sequence>
        <bpws:receive createInstance="yes" name="start"
            operation="testAssign" partnerLink="TestAssignPartnerLink"
            portType="test:TestAssignPortType" variable="myVar"/>
        <bpws:assign name="initVar" validate="no">
            <bpws:copy>
                <bpws:from>
                    <bpws:literal>test</bpws:literal>
                </bpws:from>
                <bpws:to part="TestPart" variable="otherMsgVar"/>
            </bpws:copy>
        </bpws:assign>
        <bpws:assign name="assign1" validate="no"/>
        <bpws:reply name="end" operation="testAssign"
            partnerLink="TestAssignPartnerLink"
            portType="test:TestAssignPortType" variable="otherMsgVar"/>
    </bpws:sequence>

This is pretty much that what I'd have expected from analyzing the logs.
I guess the "assign1" activity is mistakenly empty.

Tammo

Daniela Butano wrote:
>   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
>>
>>
> 


-- 
Tammo van Lessen - http://www.taval.de

Re: Example using e4x extension

Posted by Daniela Butano <Da...@eng.it>.
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


Re: Example using e4x extension

Posted by Daniela Butano <Da...@eng.it>.

     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
>
>



Re: Example using e4x extension

Posted by Tammo van Lessen <tv...@gmail.com>.
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