You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ode.apache.org by Anup Chandran <an...@3ds.com> on 2007/09/24 05:11:46 UTC

Correlation : Unable to evaluate apply property alias

Hi All,

Not sure what is wrong with my definition. Can someone guide me?

BPEL file snippet...

<variables>
<variable name="InvokingTaskOID" messageType="tns:CBPTaskMessage"/>
........
</variables>

<correlationSets>
    <correlationSet name="CoordTaskOID" properties="tns:CoTaskOID" />
</correlationSets>....


<!-- Has the following invoke-->

<invoke inputVariable="CreateECRPartnerLinkRequest"
name="CreateCordinatorTask" operation="createBus" 
outputVariable="CreateECRPartnerLinkResponse" 
partnerLink="CreateECRPartnerLink" portType="ns:ECR"> 
     <correlations>
        <correlation set="CoordTaskOID" initiate="yes" pattern="response"/>
      </correlations>
 </invoke>

<!-- followed by some async receive-->

<receive createInstance="no" name="receiveCoordTaskCompletion"
operation="receiveCBPTaskMessage" partnerLink="CBPTaskPartnerLink"
portType="tns:CBPTaskPortType" variable="InvokingTaskOID">
      <correlations>
        <correlation set="CoordTaskOID" initiate="no"/>
      </correlations>
 </receive>

The WSDL definition has :

	<types>
		<schema attributeFormDefault="unqualified"
			elementFormDefault="qualified"
			targetNamespace="http://eclipse.org/bpel/sample"
			xmlns="http://www.w3.org/2001/XMLSchema">

			<element name="TaskInvocationMsg">
			  <complexType>
			  <sequence>
				<element name="TaskMsg" type="string"></element>
			  </sequence>
			  </complexType>
			</element>

.......

</types>

   <message name="CBPTaskMessage">
        <part name="payload" element="tns:TaskInvocationMsg" />
    </message>


    <portType name="CBPTaskPortType">
        <operation name="receiveCBPTaskMessage">
            <input message="tns:CBPTaskMessage" name="TestIn"/>
        </operation>    
    </portType>


     <binding name="CBPTaskSoapBinding" type="tns:CBPTaskPortType">
        <soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
        <operation name="receiveCBPTaskMessage">
            <soap:operation soapAction="" style="document"/>
            <input>
                <soap:body
                    namespace="http://sample.bpel.org/bpel/sample"
                    use="literal"/>
            </input>
        </operation>
    </binding>


		CORRELATION DEFINITION 
		~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!-- define correlation properties -->
  <prop:property name="CoTaskOID" type="xsd:string"/>

  
	<!-- define correlation property alias -->
  
  <prop:propertyAlias propertyName="tns:CoTaskOID"
messageType="tns:CBPTaskMessage">
                      part="payload">
     <prop:query>TaskMsg</prop:query>
  </prop:propertyAlias>	
  <prop:propertyAlias propertyName="tns:CoTaskOID"
messageType="ecr:createBusResponse"
                      part="createBusReturn"/> 


The error at runtime when a response message is sent to the receive activity
is:



10:40:53,731 DEBUG [ODEMessageReceiver] Received one-way message for
CompleteCBPTask.{http://eclipse.org/bpel/sample}rec
eiveCBPTaskMessage
DEBUG - GeronimoLog.debug(66) | Starting transaction.
10:40:53,731 DEBUG [ODEService] Starting transaction.
DEBUG - GeronimoLog.debug(66) | Routed: svcQname
{http://eclipse.org/bpel/sample}CBPTaskService --> BpelProcess[{http://
eclipse.org/bpel/sample}ECRProcess-22]
10:40:53,731 DEBUG [BpelEngineImpl] Routed: svcQname
{http://eclipse.org/bpel/sample}CBPTaskService --> BpelProcess[{htt
p://eclipse.org/bpel/sample}ECRProcess-22]
DEBUG - GeronimoLog.trace(54) | Mex[hqejbhcnphr2m0s9oeu494].setPortOp(...)
10:40:53,741 DEBUG [MessageExchangeImpl]
Mex[hqejbhcnphr2m0s9oeu494].setPortOp(...)
DEBUG - GeronimoLog.debug(66) | ODE routed to operation Operation:
name=receiveCBPTaskMessage
style=ONE_WAY,0
Input: name=TestIn
Message: name={http://eclipse.org/bpel/sample}CBPTaskMessage
Part: name=payload
elementName={http://eclipse.org/bpel/sample}TaskInvocationMsg from service
{http://eclipse.org/bpel/sample}CBPTaskServic
e
10:40:53,741 DEBUG [ODEService] ODE routed to operation Operation:
name=receiveCBPTaskMessage
style=ONE_WAY,0
Input: name=TestIn
Message: name={http://eclipse.org/bpel/sample}CBPTaskMessage
Part: name=payload
elementName={http://eclipse.org/bpel/sample}TaskInvocationMsg from service
{http://eclipse.org/bpel/sample}CBPTaskServic
e
DEBUG - GeronimoLog.debug(66) | Invoking ODE using MEX
{MyRoleMex#hqejbhcnphr2m0s9oeu494 [Client hqejbhcnphr2m0s9oeu493]
 calling
{http://eclipse.org/bpel/sample}CBPTaskService.receiveCBPTaskMessage(...)}
10:40:53,741 DEBUG [ODEService] Invoking ODE using MEX
{MyRoleMex#hqejbhcnphr2m0s9oeu494 [Client hqejbhcnphr2m0s9oeu493]
 calling
{http://eclipse.org/bpel/sample}CBPTaskService.receiveCBPTaskMessage(...)}
DEBUG - GeronimoLog.debug(66) | Message content:  <?xml version="1.0"
encoding="UTF-8"?>
<message><payload><TaskInvocationMsg xmlns="http://eclipse.org/bpel/sample"
xmlns:sam="http://eclipse.org/bpel/sample" x
mlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
         <TaskMsg>15863.19604.15624.44406</TaskMsg>
      </TaskInvocationMsg></payload></message>
10:40:53,741 DEBUG [ODEService] Message content:  <?xml version="1.0"
encoding="UTF-8"?>
<message><payload><TaskInvocationMsg xmlns="http://eclipse.org/bpel/sample"
xmlns:sam="http://eclipse.org/bpel/sample" x
mlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
         <TaskMsg>15863.19604.15624.44406</TaskMsg>
      </TaskInvocationMsg></payload></message>
DEBUG - GeronimoLog.debug(66) | Routed: svcQname
{http://eclipse.org/bpel/sample}CBPTaskService --> BpelProcess[{http://
eclipse.org/bpel/sample}ECRProcess-22]
10:40:53,741 DEBUG [BpelEngineImpl] Routed: svcQname
{http://eclipse.org/bpel/sample}CBPTaskService --> BpelProcess[{htt
p://eclipse.org/bpel/sample}ECRProcess-22]
DEBUG - GeronimoLog.debug(66) | invoke() EPR= null ==>
BpelProcess[{http://eclipse.org/bpel/sample}ECRProcess-22]
10:40:53,741 DEBUG [MyRoleMessageExchangeImpl] invoke() EPR= null ==>
BpelProcess[{http://eclipse.org/bpel/sample}ECRPro
cess-22]
DEBUG - GeronimoLog.debug(66) | Commiting ODE MEX
{MyRoleMex#hqejbhcnphr2m0s9oeu494 [Client hqejbhcnphr2m0s9oeu493] call
ing
{http://eclipse.org/bpel/sample}CBPTaskService.receiveCBPTaskMessage(...)}
10:40:53,751 DEBUG [ODEService] Commiting ODE MEX
{MyRoleMex#hqejbhcnphr2m0s9oeu494 [Client hqejbhcnphr2m0s9oeu493] call
ing
{http://eclipse.org/bpel/sample}CBPTaskService.receiveCBPTaskMessage(...)}
DEBUG - GeronimoLog.debug(66) | Commiting transaction.
10:40:53,751 DEBUG [ODEService] Commiting transaction.
DEBUG - GeronimoLog.debug(66) | >>
handleWorkEvent(jobData={type=INVOKE_INTERNAL, mexid=hqejbhcnphr2m0s9oeu494,
pid={htt
p://eclipse.org/bpel/sample}ECRProcess-22})
10:40:53,761 DEBUG [BpelProcess] >>
handleWorkEvent(jobData={type=INVOKE_INTERNAL, mexid=hqejbhcnphr2m0s9oeu494,
pid={ht
tp://eclipse.org/bpel/sample}ECRProcess-22})
DEBUG - GeronimoLog.debug(66) | InvokeInternal event for mexid
hqejbhcnphr2m0s9oeu494
10:40:53,761 DEBUG [BpelProcess] InvokeInternal event for mexid
hqejbhcnphr2m0s9oeu494
DEBUG - GeronimoLog.trace(54) | >> {PartnerLinkRole-CBPTaskPartnerLink.me on
{http://eclipse.org/bpel/sample}CBPTaskServ
ice:CBPTaskPort}:inputMsgRcvd(messageExchange={MyRoleMex#hqejbhcnphr2m0s9oeu494
[Client hqejbhcnphr2m0s9oeu493] calling
{http://eclipse.org/bpel/sample}CBPTaskService.receiveCBPTaskMessage(...)})
10:40:53,771 DEBUG [BpelProcess] >> {PartnerLinkRole-CBPTaskPartnerLink.me
on {http://eclipse.org/bpel/sample}CBPTaskSer
vice:CBPTaskPort}:inputMsgRcvd(messageExchange={MyRoleMex#hqejbhcnphr2m0s9oeu494
[Client hqejbhcnphr2m0s9oeu493] calling
 {http://eclipse.org/bpel/sample}CBPTaskService.receiveCBPTaskMessage(...)})
DEBUG - GeronimoLog.trace(54) | Mex[hqejbhcnphr2m0s9oeu494].setPortOp(...)
10:40:53,771 DEBUG [MessageExchangeImpl]
Mex[hqejbhcnphr2m0s9oeu494].setPortOp(...)
DEBUG - GeronimoLog.trace(54) |
Mex[hqejbhcnphr2m0s9oeu494].setPattern(REQUEST_ONLY)
10:40:53,771 DEBUG [MessageExchangeImpl]
Mex[hqejbhcnphr2m0s9oeu494].setPattern(REQUEST_ONLY)
ERROR - GeronimoLog.error(108) | Unable to evaluate apply property alias
"OMessageVarType#7[payload][{OXPath10Expression TaskMsg}]" to incoming
message: No results for expression: {OXPath10Expression TaskMsg}
org.apache.ode.bpel.common.FaultException: No results for expression:
{OXPath10Expression TaskMsg}
        at
org.apache.ode.bpel.elang.xpath20.runtime.XPath20ExpressionRuntime.evaluateNode(XPath20ExpressionRuntime.java
:139)
        at
org.apache.ode.bpel.runtime.ExpressionLanguageRuntimeRegistry.evaluateNode(ExpressionLanguageRuntimeRegistry.
java:84)
        at
org.apache.ode.bpel.engine.BpelProcess.extractProperty(BpelProcess.java:222)
        at
org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKey(PartnerLinkMyRoleImpl.java:309)
        at
org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKeys(PartnerLinkMyRoleImpl.java:278)
        at
org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeMyRole(PartnerLinkMyRoleImpl.java:126)
        at
org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:169)
        at
org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:306)
        at
org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:318)
        at
org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:364)
        at
org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:335)
        at
org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:334)
        at
org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:173)
        at
org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:333)
        at
org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:330)
        at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
        at java.util.concurrent.FutureTask.run(FutureTask.java:123)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)
10:40:53,781 ERROR [BpelProcess] Unable to evaluate apply property alias
"OMessageVarType#7[payload][{OXPath10Expression
 TaskMsg}]" to incoming message: No results for expression:
{OXPath10Expression TaskMsg}
org.apache.ode.bpel.common.FaultException: No results for expression:
{OXPath10Expression TaskMsg}
        at
org.apache.ode.bpel.elang.xpath20.runtime.XPath20ExpressionRuntime.evaluateNode(XPath20ExpressionRuntime.java
:139)
        at
org.apache.ode.bpel.runtime.ExpressionLanguageRuntimeRegistry.evaluateNode(ExpressionLanguageRuntimeRegistry.
java:84)
        at
org.apache.ode.bpel.engine.BpelProcess.extractProperty(BpelProcess.java:222)
        at
org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKey(PartnerLinkMyRoleImpl.java:309)
        at
org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKeys(PartnerLinkMyRoleImpl.java:278)
        at
org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeMyRole(PartnerLinkMyRoleImpl.java:126)
        at
org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:169)
        at
org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:306)
        at
org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:318)
        at
org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:364)
        at
org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:335)
        at
org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:334)
        at
org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:173)
        at
org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:333)
        at
org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:330)
        at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
        at java.util.concurrent.FutureTask.run(FutureTask.java:123)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)
DEBUG - GeronimoLog.debug(70) | Unable to evaluate correlation keys, invalid
message format.
org.apache.ode.bpel.common.InvalidMessageException: Unable to evaluate apply
property alias "OMessageVarType#7[payload][
{OXPath10Expression TaskMsg}]" to incoming message: No results for
expression: {OXPath10Expression TaskMsg}
        at
org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKey(PartnerLinkMyRoleImpl.java:313)
        at
org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKeys(PartnerLinkMyRoleImpl.java:278)
        at
org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeMyRole(PartnerLinkMyRoleImpl.java:126)
        at
org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:169)
        at
org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:306)
        at
org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:318)
        at
org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:364)
        at
org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:335)
        at
org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:334)
        at
org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:173)
        at
org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:333)
        at
org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:330)
        at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
        at java.util.concurrent.FutureTask.run(FutureTask.java:123)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)
Caused by: org.apache.ode.bpel.common.FaultException: No results for
expression: {OXPath10Expression TaskMsg}
        at
org.apache.ode.bpel.elang.xpath20.runtime.XPath20ExpressionRuntime.evaluateNode(XPath20ExpressionRuntime.java
:139)
        at
org.apache.ode.bpel.runtime.ExpressionLanguageRuntimeRegistry.evaluateNode(ExpressionLanguageRuntimeRegistry.
java:84)
        at
org.apache.ode.bpel.engine.BpelProcess.extractProperty(BpelProcess.java:222)
        at
org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKey(PartnerLinkMyRoleImpl.java:309)
        ... 16 more
10:40:53,781 DEBUG [BpelProcess] Unable to evaluate correlation keys,
invalid message format.
org.apache.ode.bpel.common.InvalidMessageException: Unable to evaluate apply
property alias "OMessageVarType#7[payload][
{OXPath10Expression TaskMsg}]" to incoming message: No results for
expression: {OXPath10Expression TaskMsg}
        at
org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKey(PartnerLinkMyRoleImpl.java:313)
        at
org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKeys(PartnerLinkMyRoleImpl.java:278)
        at
org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeMyRole(PartnerLinkMyRoleImpl.java:126)
        at
org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:169)
        at
org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:306)
        at
org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:318)
        at
org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:364)
        at
org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:335)
        at
org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:334)
        at
org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:173)
        at
org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:333)
        at
org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:330)
        at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
        at java.util.concurrent.FutureTask.run(FutureTask.java:123)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)
Caused by: org.apache.ode.bpel.common.FaultException: No results for
expression: {OXPath10Expression TaskMsg}
        at
org.apache.ode.bpel.elang.xpath20.runtime.XPath20ExpressionRuntime.evaluateNode(XPath20ExpressionRuntime.java
:139)
        at
org.apache.ode.bpel.runtime.ExpressionLanguageRuntimeRegistry.evaluateNode(ExpressionLanguageRuntimeRegistry.
java:84)
        at
org.apache.ode.bpel.engine.BpelProcess.extractProperty(BpelProcess.java:222)
        at
org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKey(PartnerLinkMyRoleImpl.java:309)

Cheers
Anup

-- 
View this message in context: http://www.nabble.com/Correlation-%3A-Unable-to-evaluate-apply-property-alias-tf4506806.html#a12853261
Sent from the Apache Ode User mailing list archive at Nabble.com.


Re: Correlation : Unable to evaluate apply property alias [Resolved]

Posted by Anup Chandran <an...@3ds.com>.
 Hi All,

I resolved this issue. 

 

My WSDL definition had the following property alias definition :

 

 

            <!--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

                        CORRELATION DEFINITION 

                       
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->

            <!-- define correlation properties -->

  <prop:property name="CoTaskOID" type="xsd:string"/>

 

  

            <!-- define correlation property alias -->

  

  <prop:propertyAlias propertyName="tns:CoTaskOID"
messageType="tns:CBPTaskMessage">

                      part="payload">

      <prop:query>tns:TaskMsg</prop:query>

  </prop:propertyAlias>   

 

 

The WSDL also had the following Message Type definitions :

 

            <types>

                        <schema attributeFormDefault="unqualified"

                                    elementFormDefault="qualified"

                                   
targetNamespace="http://eclipse.org/bpel/sample"

                                   
xmlns="http://www.w3.org/2001/XMLSchema">

 

                                    <element name="TaskInvocationMsg">

                                      <complexType>

                                      <sequence>

                                                <element name="TaskMsg"
type="string"></element>

                                      </sequence>

                                      </complexType>

                                    </element>

                                    

                                    <element name="ECRProcessResponse">

                                      <complexType>

                                      <sequence>

                                                <element name="response"
type="string"></element>

                                      </sequence>

                                      </complexType>

                                    </element>

 

                                    <element name="ECRRequestMsg">

                                      <complexType>

                                      <sequence>

                                                <element name="username"
type="string"></element>

                                                <element name="password"
type="string"></element>

                                                <element name="type"
type="string"></element>

                                                <element name="name"
type="string"></element>

                                                <element name="rev"
type="string"></element>

                                                <element name="policy"
type="string"></element>

                                                <element name="vault"
type="string"></element>

                                                <element name="invokerOID"
type="string"></element>

                                      </sequence>

                                      </complexType>

                                    </element>

                        </schema>

            </types>

 

            <!--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

                        MESSAGE TYPE DEFINITION - Definition of the message
types used as 

                        part of the port type defintions

                       
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->

   

   <!--Task Completion Message -->

   <message name="CBPTaskMessage">

        <part name="payload" element="tns:TaskInvocationMsg" />

    </message>

            

            

            <message name="ECRProcessRequestMessage">

       <part name="payload" element="tns:ECRRequestMsg"/>

       

            </message>

 

            <message name="ECRProcessResponseMessage">

                        <part name="payload"
element="tns:ECRProcessResponse" />

            </message>

 

 

 

I changed them to :

 

 

<types>

                        <schema attributeFormDefault="unqualified" 

                                    elementFormDefault="qualified"

                                   
targetNamespace="http://eclipse.org/bpel/sample"

                                   
xmlns="http://www.w3.org/2001/XMLSchema">

 

                                    <element name="TaskInvocationMsg"
type="string"/>

                                    

                                    <element name="ECRProcessResponse">

                                      <complexType>

                                      <sequence>

                                                <element name="response"
type="string"></element>

                                      </sequence>

                                      </complexType>

                                    </element>

 

                                    <element name="ECRRequestMsg">

                                      <complexType>

                                      <sequence>

                                                <element name="username"
type="string"></element>

                                                <element name="password"
type="string"></element>

                                                <element name="type"
type="string"></element>

                                                <element name="name"
type="string"></element>

                                                <element name="rev"
type="string"></element>

                                                <element name="policy"
type="string"></element>

                                                <element name="vault"
type="string"></element>

                                                <element name="invokerOID"
type="string"></element>

                                      </sequence>

                                      </complexType>

                                    </element>

                        </schema>

            </types>

 

            <!--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

                        MESSAGE TYPE DEFINITION - Definition of the message
types used as 

                        part of the port type defintions

                       
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->

   

   <!--Task Completion Message -->

   <message name="CBPTaskMessage">

        <part name="payload" element="tns:TaskInvocationMsg" />

    </message>

            

            

            <message name="ECRProcessRequestMessage">

       <part name="payload" element="tns:ECRRequestMsg"/>

       

            </message>

 

            <message name="ECRProcessResponseMessage">

                        <part name="payload"
element="tns:ECRProcessResponse" />

            </message>

 

 

And the property alias to :

 

 

            <!--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

                        CORRELATION DEFINITION 

                       
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->

            <!-- define correlation properties -->

  <prop:property name="CoTaskOID" type="xsd:string"/>

  

            <!-- define correlation property alias -->

  

  <prop:propertyAlias propertyName="tns:CoTaskOID"
messageType="tns:CBPTaskMessage"

                      part="payload" />

  <prop:propertyAlias propertyName="tns:CoTaskOID"
messageType="ecr:createBusResponse"

                      part="createBusReturn"/>

 

 

Not sure if there is a bug in property alias being defined with a complex
message type.

 

Regards

Anup





Anup Chandran wrote:
> 
> 
> Hi Matthieu,
> 
> Same result with the namespace addition.
> 
> xsd="http://www.w3.org/2001/XMLSchema"
> xsi:type="xsd:string">15863.19604.4127.11793</axis2ns52:in2>
> 
>  
> 
> tns1:in3>true</tns1:in3>
> 
> is2ns52:boPromoteDemote></soapenv:Body></soapenv:Envelope>
> 
>  EDT 2007] PLM: initContext user<<Test Everything>> pass<<1234>>
> 
>  EDT 2007] PLM: boPromoteDemote:Got Context
> 
>  EDT 2007] PLM: 15863.19604.4127.11793 Promoted
> 
> trace(54) | Mex[hqejbhcnphr2m5n2aftisu].setPortOp(...)
> 
> MessageExchangeImpl] Mex[hqejbhcnphr2m5n2aftisu].setPortOp(...)
> 
> debug(66) | Received response for MEX
> {PartnerRoleMex#hqejbhcnphr2m5n2aftisu [PID {http://eclipse.or
> 
> cess-12] calling null.boPromoteDemote(...)}
> 
> ExternalService] Received response for MEX
> {PartnerRoleMex#hqejbhcnphr2m5n2aftisu [PID {http://eclip
> 
> CRProcess-12] calling null.boPromoteDemote(...)}
> 
> debug(66) | RESPONSE (NORMAL): <?xml version="1.0" encoding="UTF-8"?>
> 
>><boPromoteDemoteResponse xmlns="http://engineering.cbp.jpo"
xmlns:soapenv="http://schemas.xmlsoap.o
> 
> mlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">15863.19604.4127.11793</boPromoteDemoteReturn></boPromoteDemoteR
> 
>></message>
> 
> ExternalService] RESPONSE (NORMAL): <?xml version="1.0" encoding="UTF-8"?>
> 
>><boPromoteDemoteResponse xmlns="http://engineering.cbp.jpo"
xmlns:soapenv="http://schemas.xmlsoap.o
> 
> mlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">15863.19604.4127.11793</boPromoteDemoteReturn></boPromoteDemoteR
> 
>></message>
> 
> debug(66) | reply mex=hqejbhcnphr2m5n2aftisu
> 
> PartnerRoleMessageExchangeImpl] reply mex=hqejbhcnphr2m5n2aftisu
> 
> debug(66) | create work event for mex=hqejbhcnphr2m5n2aftisu
> 
> PartnerRoleMessageExchangeImpl] create work event for
> mex=hqejbhcnphr2m5n2aftisu
> 
> debug(66) | Thread[pool-2-thread-7,5,main]: lock(iid=2375,
> time=1MICROSECONDS)
> 
> InstanceLockManager] Thread[pool-2-thread-7,5,main]: lock(iid=2375,
> time=1MICROSECONDS)
> 
> debug(66) | Thread[pool-2-thread-7,5,main]: lock(iid=2375,
> time=1MICROSECONDS)-->GRANTED
> 
> InstanceLockManager] Thread[pool-2-thread-7,5,main]: lock(iid=2375,
> time=1MICROSECONDS)-->GRANTED
> 
> debug(66) | >> handleWorkEvent(jobData={type=INVOKE_RESPONSE,
> mexid=hqejbhcnphr2m5n2aftisu, channel=
> 
>  
> 
> BpelProcess] >> handleWorkEvent(jobData={type=INVOKE_RESPONSE,
> mexid=hqejbhcnphr2m5n2aftisu, channel
> 
>  
> 
> debug(66) | BpelRuntimeContextImpl created for instance 2375. INDEXED
> STATE={OSequence#96-ECR Proces
> 
> ...)], {OScope 'PromoteCBPWorkflow' id=532}::83=[ACTIVITYGUARD(...)],
> {OScope 'Design Change Proposa
> 
> TYGUARD(...)], OSequence#98-Assign ECR To
> Coordinator::5=[ACTIVITYGUARD(...)], OInvoke#533-PromoteCB
> 
> E(...)], {OScope 'PromoteCBPWorkflow' id=532}::84=[SCOPE(...)],
> OInvoke#533-PromoteCBPWorkflow::85=[
> 
>  {OScope 'Design Change Proposal' id=97}::4=[SCOPE(...)], {OScope
> '__PROCESS_SCOPE:ECRProcess' id=14
> 
> Sequence#96-ECR Process::2=[SEQUENCE(self=(OSequence#96-ECR
> Process,TerminationChannel#3,ParentScope
> 
> e=org.apache.ode.bpel.runtime.LinkFrame@b80d9f, remaining=[{OScope 'Design
> Change Proposal' id=97}])
> 
> gn ECR To Coordinator::6=[SEQUENCE(self=(OSequence#98-Assign ECR To
> Coordinator,TerminationChannel#9
> 
> 11), linkframe=org.apache.ode.bpel.runtime.LinkFrame@b80d9f,
> remaining=[{OScope 'PromoteCBPWorkflow'
> 
> ve#539-receiveCoordTaskCompletion, {OAssign : AssignCreateEvaluatorTask,
> joinCondition=null}, {OScop
> 
> sk' id=571}, {OAssign : AssignToLinkTaskToProcess, joinCondition=null},
> {OScope 'callbackClient' id=
> 
> PROCESS_SCOPE:ECRProcess' id=14}::0=[ACTIVE(...)], {OScope 'Design Change
> Proposal' id=97}::4=[ACTIV
> 
> omoteCBPWorkflow' id=532}::84=[ACTIVE(...)]}
> 
> BpelRuntimeContextImpl] BpelRuntimeContextImpl created for instance 2375.
> INDEXED STATE={OSequence#9
> 
> TIVITYGUARD(...)], {OScope 'PromoteCBPWorkflow'
> id=532}::83=[ACTIVITYGUARD(...)], {OScope 'Design Ch
> 
> }::3=[ACTIVITYGUARD(...)], OSequence#98-Assign ECR To
> Coordinator::5=[ACTIVITYGUARD(...)], OInvoke#5
> 
> w::86=[INVOKE(...)], {OScope 'PromoteCBPWorkflow'
> id=532}::84=[SCOPE(...)], OInvoke#533-PromoteCBPWo
> 
> GUARD(...)], {OScope 'Design Change Proposal' id=97}::4=[SCOPE(...)],
> {OScope '__PROCESS_SCOPE:ECRPr
> 
> OPE(...)], OSequence#96-ECR Process::2=[SEQUENCE(self=(OSequence#96-ECR
> Process,TerminationChannel#3
> 
> 5), linkframe=org.apache.ode.bpel.runtime.LinkFrame@b80d9f,
> remaining=[{OScope 'Design Change Propos
> 
> ence#98-Assign ECR To Coordinator::6=[SEQUENCE(self=(OSequence#98-Assign
> ECR To Coordinator,Terminat
> 
> copeChannel#11), linkframe=org.apache.ode.bpel.runtime.LinkFrame@b80d9f,
> remaining=[{OScope 'Promote
> 
> , OPickReceive#539-receiveCoordTaskCompletion, {OAssign :
> AssignCreateEvaluatorTask, joinCondition=n
> 
> eEvaluatorTask' id=571}, {OAssign : AssignToLinkTaskToProcess,
> joinCondition=null}, {OScope 'callbac
> 
>  {OScope '__PROCESS_SCOPE:ECRProcess' id=14}::0=[ACTIVE(...)], {OScope
> 'Design Change Proposal' id=9
> 
>  {OScope 'PromoteCBPWorkflow' id=532}::84=[ACTIVE(...)]}
> 
> debug(66) | InvokeResponse event for iid 2375
> 
> BpelProcess] InvokeResponse event for iid 2375
> 
> debug(66) | Invoking message response for mexid hqejbhcnphr2m5n2aftisu and
> channel 153
> 
> BpelRuntimeContextImpl] Invoking message response for mexid
> hqejbhcnphr2m5n2aftisu and channel 153
> 
> debug(66) | Triggering response
> 
> BpelRuntimeContextImpl] Triggering response
> 
> trace(54) | >>
> select(pickResponseChannel=PickResponseChannel#158,timeout=<null>,createInstance=fals
> 
> ache.ode.bpel.runtime.Selector;@471172)
> 
> BpelProcess] >>
> select(pickResponseChannel=PickResponseChannel#158,timeout=<null>,createInstance=fal
> 
> pache.ode.bpel.runtime.Selector;@471172)
> 
> debug(66) | SELECT: PickResponseChannel#158: USING CORRELATOR
> 95.receiveCBPTaskMessage
> 
> BpelProcess] SELECT: PickResponseChannel#158: USING CORRELATOR
> 95.receiveCBPTaskMessage
> 
> trace(54) | >>
> findConflict(selectors=[Lorg.apache.ode.bpel.runtime.Selector;@471172)
> 
> OutstandingRequestManager] >>
> findConflict(selectors=[Lorg.apache.ode.bpel.runtime.Selector;@471172)
> 
>  
> 
> trace(54) | >>
> register(pickResponseChannel=158,selectors=[Lorg.apache.ode.bpel.runtime.Selector;@47
> 
>  
> 
> OutstandingRequestManager] >>
> register(pickResponseChannel=158,selectors=[Lorg.apache.ode.bpel.runti
> 
>  
> 
> debug(66) | SELECT: PickResponseChannel#158: ADDED ROUTE
> 95.receiveCBPTaskMessage: {CorrelationKey s
> 
> 63.19604.4127.11793]} --> 2375
> 
> BpelProcess] SELECT: PickResponseChannel#158: ADDED ROUTE
> 95.receiveCBPTaskMessage: {CorrelationKey
> 
> 863.19604.4127.11793]} --> 2375
> 
> debug(66) | Setting execution state on instance 2375
> 
> BpelRuntimeContextImpl] Setting execution state on instance 2375
> 
> debug(66) | Thread[pool-2-thread-7,5,main]: unlock(iid=2375)
> 
> InstanceLockManager] Thread[pool-2-thread-7,5,main]: unlock(iid=2375)
> 
> debug(66) | Thread[pool-2-thread-9,5,main]: lock(iid=2375,
> time=1MICROSECONDS)
> 
> InstanceLockManager] Thread[pool-2-thread-9,5,main]: lock(iid=2375,
> time=1MICROSECONDS)
> 
> debug(66) | Thread[pool-2-thread-9,5,main]: lock(iid=2375,
> time=1MICROSECONDS)-->GRANTED
> 
> InstanceLockManager] Thread[pool-2-thread-9,5,main]: lock(iid=2375,
> time=1MICROSECONDS)-->GRANTED
> 
> debug(66) | >> handleWorkEvent(jobData={type=MATCHER, inmem=false,
> ckey=88~15863.19604.4127.11793, c
> 
> veCBPTaskMessage, iid=2375})
> 
> BpelProcess] >> handleWorkEvent(jobData={type=MATCHER, inmem=false,
> ckey=88~15863.19604.4127.11793,
> 
> iveCBPTaskMessage, iid=2375})
> 
> debug(66) | BpelRuntimeContextImpl created for instance 2375. INDEXED
> STATE={{OScope '__PROCESS_SCOP
> 
> ::0=[SCOPE(...)], OSequence#98-Assign ECR To
> Coordinator::6=[SEQUENCE(self=(OSequence#98-Assign ECR
> 
> nationChannel#9,ParentScopeChannel#11),
> linkframe=org.apache.ode.bpel.runtime.LinkFrame@876515, rema
> 
> 539-receiveCoordTaskCompletion, {OAssign : AssignCreateEvaluatorTask,
> joinCondition=null}, {OScope '
> 
>  id=571}, {OAssign : AssignToLinkTaskToProcess, joinCondition=null},
> {OScope 'callbackClient' id=610
> 
> n Change Proposal' id=97}::4=[ACTIVE(...)], OSequence#96-ECR
> Process::2=[SEQUENCE(self=(OSequence#96
> 
> tionChannel#3,ParentScopeChannel#5),
> linkframe=org.apache.ode.bpel.runtime.LinkFrame@876515, remaini
> 
> Change Proposal' id=97}])], OSequence#98-Assign ECR To
> Coordinator::5=[ACTIVITYGUARD(...)], {OScope
> 
> sal' id=97}::3=[ACTIVITYGUARD(...)],
> OPickReceive#539-receiveCoordTaskCompletion::88=[PICK(...)], {O
> 
> PE:ECRProcess' id=14}::0=[ACTIVE(...)], {OScope 'Design Change Proposal'
> id=97}::4=[SCOPE(...)], OSe
> 
> s::1=[ACTIVITYGUARD(...)],
> OPickReceive#539-receiveCoordTaskCompletion::87=[ACTIVITYGUARD(...)]}
> 
> BpelRuntimeContextImpl] BpelRuntimeContextImpl created for instance 2375.
> INDEXED STATE={{OScope '__
> 
> cess' id=14}::0=[SCOPE(...)], OSequence#98-Assign ECR To
> Coordinator::6=[SEQUENCE(self=(OSequence#98
> 
> inator,TerminationChannel#9,ParentScopeChannel#11),
> linkframe=org.apache.ode.bpel.runtime.LinkFrame@
> 
> PickReceive#539-receiveCoordTaskCompletion, {OAssign :
> AssignCreateEvaluatorTask, joinCondition=null
> 
> aluatorTask' id=571}, {OAssign : AssignToLinkTaskToProcess,
> joinCondition=null}, {OScope 'callbackCl
> 
> Scope 'Design Change Proposal' id=97}::4=[ACTIVE(...)], OSequence#96-ECR
> Process::2=[SEQUENCE(self=(
> 
> cess,TerminationChannel#3,ParentScopeChannel#5),
> linkframe=org.apache.ode.bpel.runtime.LinkFrame@876
> 
> ope 'Design Change Proposal' id=97}])], OSequence#98-Assign ECR To
> Coordinator::5=[ACTIVITYGUARD(...
> 
> Change Proposal' id=97}::3=[ACTIVITYGUARD(...)],
> OPickReceive#539-receiveCoordTaskCompletion::88=[PI
> 
> _PROCESS_SCOPE:ECRProcess' id=14}::0=[ACTIVE(...)], {OScope 'Design Change
> Proposal' id=97}::4=[SCOP
> 
> 6-ECR Process::1=[ACTIVITYGUARD(...)],
> OPickReceive#539-receiveCoordTaskCompletion::87=[ACTIVITYGUAR
> 
>  
> 
> debug(66) | Matcher event for iid 2375
> 
> BpelProcess] Matcher event for iid 2375
> 
> debug(66) | MatcherEvent handling: correlatorId=95.receiveCBPTaskMessage,
> ckey={CorrelationKey setId
> 
> 9604.4127.11793]}
> 
> BpelRuntimeContextImpl] MatcherEvent handling:
> correlatorId=95.receiveCBPTaskMessage, ckey={Correlat
> 
> ues=[15863.19604.4127.11793]}
> 
> debug(66) | MatcherEvent handling: nothing to do, no matching message in
> DB
> 
> BpelRuntimeContextImpl] MatcherEvent handling: nothing to do, no matching
> message in DB
> 
> debug(66) | Thread[pool-2-thread-9,5,main]: unlock(iid=2375)
> 
> InstanceLockManager] Thread[pool-2-thread-9,5,main]: unlock(iid=2375)
> 
> debug(66) | The system is checking for the operation using the following
> WSAAction:
> 
> ODEAxisDispatcher] The system is checking for the operation using the
> following WSAAction:
> 
> debug(66) | Checking for Operation using SOAP message body's first child's
> local name : TaskInvocati
> 
>  
> 
> ODEAxisDispatcher] Checking for Operation using SOAP message body's first
> child's local name : TaskI
> 
>  
> 
> debug(66) | Found a header in incoming message, checking if there are
> endpoints there.
> 
> SessionInHandler] Found a header in incoming message, checking if there
> are endpoints there.
> 
> debug(66) | Received one-way message for
> CompleteCBPTask.{http://eclipse.org/bpel/sample}receiveCBPT
> 
>  
> 
> ODEMessageReceiver] Received one-way message for
> CompleteCBPTask.{http://eclipse.org/bpel/sample}rec
> 
>  
> 
> debug(66) | Starting transaction.
> 
> ODEService] Starting transaction.
> 
> debug(66) | Routed: svcQname
> {http://eclipse.org/bpel/sample}CBPTaskService --> BpelProcess[{http://
> 
> ple}ECRProcess-12]
> 
> BpelEngineImpl] Routed: svcQname
> {http://eclipse.org/bpel/sample}CBPTaskService --> BpelProcess[{htt
> 
> /sample}ECRProcess-12]
> 
> trace(54) | Mex[hqejbhcnphr2m5n2aftit1].setPortOp(...)
> 
> MessageExchangeImpl] Mex[hqejbhcnphr2m5n2aftit1].setPortOp(...)
> 
> debug(66) | ODE routed to operation Operation: name=receiveCBPTaskMessage
> 
>  
> 
>  
> 
> //eclipse.org/bpel/sample}CBPTaskMessage
> 
>  
> 
> eclipse.org/bpel/sample}TaskInvocationMsg from service
> {http://eclipse.org/bpel/sample}CBPTaskServic
> 
>  
> 
> ODEService] ODE routed to operation Operation: name=receiveCBPTaskMessage
> 
>  
> 
>  
> 
> //eclipse.org/bpel/sample}CBPTaskMessage
> 
>  
> 
> eclipse.org/bpel/sample}TaskInvocationMsg from service
> {http://eclipse.org/bpel/sample}CBPTaskServic
> 
>  
> 
> debug(66) | Invoking ODE using MEX {MyRoleMex#hqejbhcnphr2m5n2aftit1
> [Client hqejbhcnphr2m5n2aftit0]
> 
> ipse.org/bpel/sample}CBPTaskService.receiveCBPTaskMessage(...)}
> 
> ODEService] Invoking ODE using MEX {MyRoleMex#hqejbhcnphr2m5n2aftit1
> [Client hqejbhcnphr2m5n2aftit0]
> 
> ipse.org/bpel/sample}CBPTaskService.receiveCBPTaskMessage(...)}
> 
> debug(66) | Message content:  <?xml version="1.0" encoding="UTF-8"?>
> 
> askInvocationMsg xmlns="http://eclipse.org/bpel/sample"
> xmlns:sam="http://eclipse.org/bpel/sample" x
> 
> /schemas.xmlsoap.org/soap/envelope/">
> 
> 863.19604.4127.11793</TaskMsg>
> 
> onMsg></payload></message>
> 
> ODEService] Message content:  <?xml version="1.0" encoding="UTF-8"?>
> 
> askInvocationMsg xmlns="http://eclipse.org/bpel/sample"
> xmlns:sam="http://eclipse.org/bpel/sample" x
> 
> /schemas.xmlsoap.org/soap/envelope/">
> 
> 863.19604.4127.11793</TaskMsg>
> 
> onMsg></payload></message>
> 
> debug(66) | Routed: svcQname
> {http://eclipse.org/bpel/sample}CBPTaskService --> BpelProcess[{http://
> 
> ple}ECRProcess-12]
> 
> BpelEngineImpl] Routed: svcQname
> {http://eclipse.org/bpel/sample}CBPTaskService --> BpelProcess[{htt
> 
> /sample}ECRProcess-12]
> 
> debug(66) | invoke() EPR= null ==>
> BpelProcess[{http://eclipse.org/bpel/sample}ECRProcess-12]
> 
> MyRoleMessageExchangeImpl] invoke() EPR= null ==>
> BpelProcess[{http://eclipse.org/bpel/sample}ECRPro
> 
>  
> 
> debug(66) | Commiting ODE MEX {MyRoleMex#hqejbhcnphr2m5n2aftit1 [Client
> hqejbhcnphr2m5n2aftit0] call
> 
> org/bpel/sample}CBPTaskService.receiveCBPTaskMessage(...)}
> 
> ODEService] Commiting ODE MEX {MyRoleMex#hqejbhcnphr2m5n2aftit1 [Client
> hqejbhcnphr2m5n2aftit0] call
> 
> org/bpel/sample}CBPTaskService.receiveCBPTaskMessage(...)}
> 
> debug(66) | Commiting transaction.
> 
> ODEService] Commiting transaction.
> 
> debug(66) | >> handleWorkEvent(jobData={type=INVOKE_INTERNAL,
> mexid=hqejbhcnphr2m5n2aftit1, pid={htt
> 
> /sample}ECRProcess-12})
> 
> BpelProcess] >> handleWorkEvent(jobData={type=INVOKE_INTERNAL,
> mexid=hqejbhcnphr2m5n2aftit1, pid={ht
> 
> l/sample}ECRProcess-12})
> 
> debug(66) | InvokeInternal event for mexid hqejbhcnphr2m5n2aftit1
> 
> BpelProcess] InvokeInternal event for mexid hqejbhcnphr2m5n2aftit1
> 
> trace(54) | >> {PartnerLinkRole-CBPTaskPartnerLink.me on
> {http://eclipse.org/bpel/sample}CBPTaskServ
> 
> utMsgRcvd(messageExchange={MyRoleMex#hqejbhcnphr2m5n2aftit1 [Client
> hqejbhcnphr2m5n2aftit0] calling
> 
> bpel/sample}CBPTaskService.receiveCBPTaskMessage(...)})
> 
> BpelProcess] >> {PartnerLinkRole-CBPTaskPartnerLink.me on
> {http://eclipse.org/bpel/sample}CBPTaskSer
> 
> putMsgRcvd(messageExchange={MyRoleMex#hqejbhcnphr2m5n2aftit1 [Client
> hqejbhcnphr2m5n2aftit0] calling
> 
> /bpel/sample}CBPTaskService.receiveCBPTaskMessage(...)})
> 
> trace(54) | Mex[hqejbhcnphr2m5n2aftit1].setPortOp(...)
> 
> MessageExchangeImpl] Mex[hqejbhcnphr2m5n2aftit1].setPortOp(...)
> 
> trace(54) | Mex[hqejbhcnphr2m5n2aftit1].setPattern(REQUEST_ONLY)
> 
> MessageExchangeImpl] Mex[hqejbhcnphr2m5n2aftit1].setPattern(REQUEST_ONLY)
> 
> error(108) | Unable to evaluate apply property alias
> "OMessageVarType#7[][{OXPath10Expression tns:Ta
> 
>  message: No results for expression: {OXPath10Expression tns:TaskMsg}
> 
> common.FaultException: No results for expression: {OXPath10Expression
> tns:TaskMsg}
> 
> e.ode.bpel.elang.xpath20.runtime.XPath20ExpressionRuntime.evaluateNode(XPath20ExpressionRuntime.java
> 
>  
> 
> e.ode.bpel.runtime.ExpressionLanguageRuntimeRegistry.evaluateNode(ExpressionLanguageRuntimeRegistry.
> 
>  
> 
> e.ode.bpel.engine.BpelProcess.extractProperty(BpelProcess.java:222)
> 
> e.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKey(PartnerLinkMyRoleImpl.java:309)
> 
> e.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKeys(PartnerLinkMyRoleImpl.java:278)
> 
> e.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeMyRole(PartnerLinkMyRoleImpl.java:126)
> 
> e.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:169)
> 
> e.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:306)
> 
> e.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:318)
> 
> e.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:364)
> 
> e.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:335)
> 
> e.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:334)
> 
> e.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:173)
> 
> e.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:333)
> 
> e.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:330)
> 
> .concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
> 
> .concurrent.FutureTask.run(FutureTask.java:123)
> 
> .concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
> 
> .concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
> 
> .Thread.run(Thread.java:595)
> 
> BpelProcess] Unable to evaluate apply property alias
> "OMessageVarType#7[][{OXPath10Expression tns:Ta
> 
>  message: No results for expression: {OXPath10Expression tns:TaskMsg}
> 
> common.FaultException: No results for expression: {OXPath10Expression
> tns:TaskMsg}
> 
> e.ode.bpel.elang.xpath20.runtime.XPath20ExpressionRuntime.evaluateNode(XPath20ExpressionRuntime.java
> 
>  
> 
> e.ode.bpel.runtime.ExpressionLanguageRuntimeRegistry.evaluateNode(ExpressionLanguageRuntimeRegistry.
> 
>  
> 
> e.ode.bpel.engine.BpelProcess.extractProperty(BpelProcess.java:222)
> 
> e.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKey(PartnerLinkMyRoleImpl.java:309)
> 
> e.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKeys(PartnerLinkMyRoleImpl.java:278)
> 
> e.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeMyRole(PartnerLinkMyRoleImpl.java:126)
> 
> e.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:169)
> 
> e.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:306)
> 
> e.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:318)
> 
> e.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:364)
> 
> e.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:335)
> 
> e.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:334)
> 
> e.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:173)
> 
> e.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:333)
> 
> e.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:330)
> 
> .concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
> 
> .concurrent.FutureTask.run(FutureTask.java:123)
> 
> .concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
> 
> .concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
> 
> .Thread.run(Thread.java:595)
> 
> debug(70) | Unable to evaluate correlation keys, invalid message format.
> 
> common.InvalidMessageException: Unable to evaluate apply property alias
> "OMessageVarType#7[][{OXPath
> 
> kMsg}]" to incoming message: No results for expression:
> {OXPath10Expression tns:TaskMsg}
> 
> e.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKey(PartnerLinkMyRoleImpl.java:313)
> 
> e.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKeys(PartnerLinkMyRoleImpl.java:278)
> 
> e.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeMyRole(PartnerLinkMyRoleImpl.java:126)
> 
> e.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:169)
> 
> e.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:306)
> 
> e.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:318)
> 
> e.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:364)
> 
> e.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:335)
> 
> e.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:334)
> 
> e.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:173)
> 
> e.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:333)
> 
> e.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:330)
> 
> .concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
> 
> .concurrent.FutureTask.run(FutureTask.java:123)
> 
> .concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
> 
> .concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
> 
> .Thread.run(Thread.java:595)
> 
> e.ode.bpel.common.FaultException: No results for expression:
> {OXPath10Expression tns:TaskMsg}
> 
> e.ode.bpel.elang.xpath20.runtime.XPath20ExpressionRuntime.evaluateNode(XPath20ExpressionRuntime.java
> 
>  
> 
> e.ode.bpel.runtime.ExpressionLanguageRuntimeRegistry.evaluateNode(ExpressionLanguageRuntimeRegistry.
> 
>  
> 
> e.ode.bpel.engine.BpelProcess.extractProperty(BpelProcess.java:222)
> 
> e.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKey(PartnerLinkMyRoleImpl.java:309)
> 
>  
> 
> BpelProcess] Unable to evaluate correlation keys, invalid message format.
> 
> common.InvalidMessageException: Unable to evaluate apply property alias
> "OMessageVarType#7[][{OXPath
> 
> kMsg}]" to incoming message: No results for expression:
> {OXPath10Expression tns:TaskMsg}
> 
> e.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKey(PartnerLinkMyRoleImpl.java:313)
> 
> e.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKeys(PartnerLinkMyRoleImpl.java:278)
> 
> e.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeMyRole(PartnerLinkMyRoleImpl.java:126)
> 
> e.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:169)
> 
> e.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:306)
> 
> e.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:318)
> 
> e.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:364)
> 
> e.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:335)
> 
> e.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:334)
> 
> e.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:173)
> 
> e.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:333)
> 
> e.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:330)
> 
> .concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
> 
> .concurrent.FutureTask.run(FutureTask.java:123)
> 
> .concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
> 
> .concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
> 
> .Thread.run(Thread.java:595)
> 
> e.ode.bpel.common.FaultException: No results for expression:
> {OXPath10Expression tns:TaskMsg}
> 
> e.ode.bpel.elang.xpath20.runtime.XPath20ExpressionRuntime.evaluateNode(XPath20ExpressionRuntime.java
> 
>  
> 
> e.ode.bpel.runtime.ExpressionLanguageRuntimeRegistry.evaluateNode(ExpressionLanguageRuntimeRegistry.
> 
>  
> 
> e.ode.bpel.engine.BpelProcess.extractProperty(BpelProcess.java:222)
> 
> e.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKey(PartnerLinkMyRoleImpl.java:309)
> 
>  
> 
> debug(66) | Releasing mex hqejbhcnphr2m5n2aftit1
> 
> MessageExchangeImpl] Releasing mex hqejbhcnphr2m5n2aftit1
> 
>  
> 
> -Anup
> 
> 
> 
> 
> Matthieu Riou-5 wrote:
>> 
>> Hi Anup,
>> 
>> Looks like the namespace is missing in your query:
>> 
>> <prop:query>TaskMsg</prop:query>
>> 
>> It should be in the http://eclipse.org/bpel/sample namespace (probably
>> associated with the tns prefix but can't tell for sure from your
>> snippet).
>> 
>> Matthieu
>> 
>> On 9/23/07, Anup Chandran <an...@3ds.com> wrote:
>>>
>>>
>>> Hi All,
>>>
>>> Not sure what is wrong with my definition. Can someone guide me?
>>>
>>> BPEL file snippet...
>>>
>>> <variables>
>>> <variable name="InvokingTaskOID" messageType="tns:CBPTaskMessage"/>
>>> ........
>>> </variables>
>>>
>>> <correlationSets>
>>>     <correlationSet name="CoordTaskOID" properties="tns:CoTaskOID" />
>>> </correlationSets>....
>>>
>>>
>>> <!-- Has the following invoke-->
>>>
>>> <invoke inputVariable="CreateECRPartnerLinkRequest"
>>> name="CreateCordinatorTask" operation="createBus"
>>> outputVariable="CreateECRPartnerLinkResponse"
>>> partnerLink="CreateECRPartnerLink" portType="ns:ECR">
>>>      <correlations>
>>>         <correlation set="CoordTaskOID" initiate="yes"
>>> pattern="response"/>
>>>       </correlations>
>>> </invoke>
>>>
>>> <!-- followed by some async receive-->
>>>
>>> <receive createInstance="no" name="receiveCoordTaskCompletion"
>>> operation="receiveCBPTaskMessage" partnerLink="CBPTaskPartnerLink"
>>> portType="tns:CBPTaskPortType" variable="InvokingTaskOID">
>>>       <correlations>
>>>         <correlation set="CoordTaskOID" initiate="no"/>
>>>       </correlations>
>>> </receive>
>>>
>>> The WSDL definition has :
>>>
>>>         <types>
>>>                 <schema attributeFormDefault="unqualified"
>>>                         elementFormDefault="qualified"
>>>                         targetNamespace="http://eclipse.org/bpel/sample"
>>>                         xmlns="http://www.w3.org/2001/XMLSchema">
>>>
>>>                         <element name="TaskInvocationMsg">
>>>                           <complexType>
>>>                           <sequence>
>>>                                 <element name="TaskMsg"
>>> type="string"></element>
>>>                           </sequence>
>>>                           </complexType>
>>>                         </element>
>>>
>>> .......
>>>
>>> </types>
>>>
>>>    <message name="CBPTaskMessage">
>>>         <part name="payload" element="tns:TaskInvocationMsg" />
>>>     </message>
>>>
>>>
>>>     <portType name="CBPTaskPortType">
>>>         <operation name="receiveCBPTaskMessage">
>>>             <input message="tns:CBPTaskMessage" name="TestIn"/>
>>>         </operation>
>>>     </portType>
>>>
>>>
>>>      <binding name="CBPTaskSoapBinding" type="tns:CBPTaskPortType">
>>>         <soap:binding style="document"
>>> transport="http://schemas.xmlsoap.org/soap/http"/>
>>>         <operation name="receiveCBPTaskMessage">
>>>             <soap:operation soapAction="" style="document"/>
>>>             <input>
>>>                 <soap:body
>>>                     namespace="http://sample.bpel.org/bpel/sample"
>>>                     use="literal"/>
>>>             </input>
>>>         </operation>
>>>     </binding>
>>>
>>>
>>>                 CORRELATION DEFINITION
>>>                
>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>> -->
>>>         <!-- define correlation properties -->
>>>   <prop:property name="CoTaskOID" type="xsd:string"/>
>>>
>>>
>>>         <!-- define correlation property alias -->
>>>
>>>   <prop:propertyAlias propertyName="tns:CoTaskOID"
>>> messageType="tns:CBPTaskMessage">
>>>                       part="payload">
>>>      <prop:query>TaskMsg</prop:query>
>>>   </prop:propertyAlias>
>>>   <prop:propertyAlias propertyName="tns:CoTaskOID"
>>> messageType="ecr:createBusResponse"
>>>                       part="createBusReturn"/>
>>>
>>>
>>> The error at runtime when a response message is sent to the receive
>>> activity
>>> is:
>>>
>>>
>>>
>>> 10:40:53,731 DEBUG [ODEMessageReceiver] Received one-way message for
>>> CompleteCBPTask.{http://eclipse.org/bpel/sample}rec
>>> eiveCBPTaskMessage
>>> DEBUG - GeronimoLog.debug(66) | Starting transaction.
>>> 10:40:53,731 DEBUG [ODEService] Starting transaction.
>>> DEBUG - GeronimoLog.debug(66) | Routed: svcQname
>>> {http://eclipse.org/bpel/sample}CBPTaskService --> BpelProcess[{http://
>>> eclipse.org/bpel/sample}ECRProcess-22]
>>> 10:40:53,731 DEBUG [BpelEngineImpl] Routed: svcQname
>>> {http://eclipse.org/bpel/sample}CBPTaskService --> BpelProcess[{htt
>>> p://eclipse.org/bpel/sample}ECRProcess-22]
>>> DEBUG - GeronimoLog.trace(54) |
>>> Mex[hqejbhcnphr2m0s9oeu494].setPortOp(...)
>>> 10:40:53,741 DEBUG [MessageExchangeImpl]
>>> Mex[hqejbhcnphr2m0s9oeu494].setPortOp(...)
>>> DEBUG - GeronimoLog.debug(66) | ODE routed to operation Operation:
>>> name=receiveCBPTaskMessage
>>> style=ONE_WAY,0
>>> Input: name=TestIn
>>> Message: name={http://eclipse.org/bpel/sample}CBPTaskMessage
>>> Part: name=payload
>>> elementName={http://eclipse.org/bpel/sample}TaskInvocationMsg from
>>> service
>>> {http://eclipse.org/bpel/sample}CBPTaskServic
>>> e
>>> 10:40:53,741 DEBUG [ODEService] ODE routed to operation Operation:
>>> name=receiveCBPTaskMessage
>>> style=ONE_WAY,0
>>> Input: name=TestIn
>>> Message: name={http://eclipse.org/bpel/sample}CBPTaskMessage
>>> Part: name=payload
>>> elementName={http://eclipse.org/bpel/sample}TaskInvocationMsg from
>>> service
>>> {http://eclipse.org/bpel/sample}CBPTaskServic
>>> e
>>> DEBUG - GeronimoLog.debug(66) | Invoking ODE using MEX
>>> {MyRoleMex#hqejbhcnphr2m0s9oeu494 [Client hqejbhcnphr2m0s9oeu493]
>>> calling
>>> {http://eclipse.org/bpel/sample}CBPTaskService.receiveCBPTaskMessage(...)}
>>> 10:40:53,741 DEBUG [ODEService] Invoking ODE using MEX
>>> {MyRoleMex#hqejbhcnphr2m0s9oeu494 [Client hqejbhcnphr2m0s9oeu493]
>>> calling
>>> {http://eclipse.org/bpel/sample}CBPTaskService.receiveCBPTaskMessage(...)}
>>> DEBUG - GeronimoLog.debug(66) | Message content:  <?xml version="1.0"
>>> encoding="UTF-8"?>
>>> <message><payload><TaskInvocationMsg
>>> xmlns="http://eclipse.org/bpel/sample
>>> "
>>> xmlns:sam="http://eclipse.org/bpel/sample" x
>>> mlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
>>>          <TaskMsg>15863.19604.15624.44406</TaskMsg>
>>>       </TaskInvocationMsg></payload></message>
>>> 10:40:53,741 DEBUG [ODEService] Message content:  <?xml version="1.0"
>>> encoding="UTF-8"?>
>>> <message><payload><TaskInvocationMsg
>>> xmlns="http://eclipse.org/bpel/sample
>>> "
>>> xmlns:sam="http://eclipse.org/bpel/sample" x
>>> mlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
>>>          <TaskMsg>15863.19604.15624.44406</TaskMsg>
>>>       </TaskInvocationMsg></payload></message>
>>> DEBUG - GeronimoLog.debug(66) | Routed: svcQname
>>> {http://eclipse.org/bpel/sample}CBPTaskService --> BpelProcess[{http://
>>> eclipse.org/bpel/sample}ECRProcess-22]
>>> 10:40:53,741 DEBUG [BpelEngineImpl] Routed: svcQname
>>> {http://eclipse.org/bpel/sample}CBPTaskService --> BpelProcess[{htt
>>> p://eclipse.org/bpel/sample}ECRProcess-22]
>>> DEBUG - GeronimoLog.debug(66) | invoke() EPR= null ==>
>>> BpelProcess[{http://eclipse.org/bpel/sample}ECRProcess-22]
>>> 10:40:53,741 DEBUG [MyRoleMessageExchangeImpl] invoke() EPR= null ==>
>>> BpelProcess[{http://eclipse.org/bpel/sample}ECRPro
>>> cess-22]
>>> DEBUG - GeronimoLog.debug(66) | Commiting ODE MEX
>>> {MyRoleMex#hqejbhcnphr2m0s9oeu494 [Client hqejbhcnphr2m0s9oeu493] call
>>> ing
>>> {http://eclipse.org/bpel/sample}CBPTaskService.receiveCBPTaskMessage(...)}
>>> 10:40:53,751 DEBUG [ODEService] Commiting ODE MEX
>>> {MyRoleMex#hqejbhcnphr2m0s9oeu494 [Client hqejbhcnphr2m0s9oeu493] call
>>> ing
>>> {http://eclipse.org/bpel/sample}CBPTaskService.receiveCBPTaskMessage(...)}
>>> DEBUG - GeronimoLog.debug(66) | Commiting transaction.
>>> 10:40:53,751 DEBUG [ODEService] Commiting transaction.
>>> DEBUG - GeronimoLog.debug(66) | >>
>>> handleWorkEvent(jobData={type=INVOKE_INTERNAL,
>>> mexid=hqejbhcnphr2m0s9oeu494,
>>> pid={htt
>>> p://eclipse.org/bpel/sample}ECRProcess-22})
>>> 10:40:53,761 DEBUG [BpelProcess] >>
>>> handleWorkEvent(jobData={type=INVOKE_INTERNAL,
>>> mexid=hqejbhcnphr2m0s9oeu494,
>>> pid={ht
>>> tp://eclipse.org/bpel/sample}ECRProcess-22})
>>> DEBUG - GeronimoLog.debug(66) | InvokeInternal event for mexid
>>> hqejbhcnphr2m0s9oeu494
>>> 10:40:53,761 DEBUG [BpelProcess] InvokeInternal event for mexid
>>> hqejbhcnphr2m0s9oeu494
>>> DEBUG - GeronimoLog.trace(54) | >>
>>> {PartnerLinkRole-CBPTaskPartnerLink.meon
>>> {http://eclipse.org/bpel/sample}CBPTaskServ
>>>
>>> ice:CBPTaskPort}:inputMsgRcvd(messageExchange={MyRoleMex#hqejbhcnphr2m0s9oeu494
>>> [Client hqejbhcnphr2m0s9oeu493] calling
>>> {http://eclipse.org/bpel/sample}CBPTaskService.receiveCBPTaskMessage(...)}
>>> )
>>> 10:40:53,771 DEBUG [BpelProcess] >>
>>> {PartnerLinkRole-CBPTaskPartnerLink.me
>>> on {http://eclipse.org/bpel/sample}CBPTaskSer
>>>
>>> vice:CBPTaskPort}:inputMsgRcvd(messageExchange={MyRoleMex#hqejbhcnphr2m0s9oeu494
>>> [Client hqejbhcnphr2m0s9oeu493] calling
>>> {http://eclipse.org/bpel/sample}CBPTaskService.receiveCBPTaskMessage(...)}
>>> )
>>> DEBUG - GeronimoLog.trace(54) |
>>> Mex[hqejbhcnphr2m0s9oeu494].setPortOp(...)
>>> 10:40:53,771 DEBUG [MessageExchangeImpl]
>>> Mex[hqejbhcnphr2m0s9oeu494].setPortOp(...)
>>> DEBUG - GeronimoLog.trace(54) |
>>> Mex[hqejbhcnphr2m0s9oeu494].setPattern(REQUEST_ONLY)
>>> 10:40:53,771 DEBUG [MessageExchangeImpl]
>>> Mex[hqejbhcnphr2m0s9oeu494].setPattern(REQUEST_ONLY)
>>> ERROR - GeronimoLog.error(108) | Unable to evaluate apply property alias
>>> "OMessageVarType#7[payload][{OXPath10Expression TaskMsg}]" to incoming
>>> message: No results for expression: {OXPath10Expression TaskMsg}
>>> org.apache.ode.bpel.common.FaultException: No results for expression:
>>> {OXPath10Expression TaskMsg}
>>>         at
>>>
>>> org.apache.ode.bpel.elang.xpath20.runtime.XPath20ExpressionRuntime.evaluateNode
>>> (XPath20ExpressionRuntime.java
>>> :139)
>>>         at
>>> org.apache.ode.bpel.runtime.ExpressionLanguageRuntimeRegistry.evaluateNode
>>> (ExpressionLanguageRuntimeRegistry.
>>> java:84)
>>>         at
>>> org.apache.ode.bpel.engine.BpelProcess.extractProperty(BpelProcess.java
>>> :222)
>>>         at
>>> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKey(
>>> PartnerLinkMyRoleImpl.java:309)
>>>         at
>>> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKeys(
>>> PartnerLinkMyRoleImpl.java:278)
>>>         at
>>> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeMyRole(
>>> PartnerLinkMyRoleImpl.java:126)
>>>         at
>>> org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:169)
>>>         at
>>> org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java
>>> :306)
>>>         at
>>> org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(
>>> BpelEngineImpl.java:318)
>>>         at
>>> org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(
>>> BpelServerImpl.java:364)
>>>         at
>>> org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(
>>> SimpleScheduler.java:335)
>>>         at
>>> org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(
>>> SimpleScheduler.java:334)
>>>         at
>>> org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(
>>> SimpleScheduler.java:173)
>>>         at
>>> org.apache.ode.scheduler.simple.SimpleScheduler$4.call(
>>> SimpleScheduler.java:333)
>>>         at
>>> org.apache.ode.scheduler.simple.SimpleScheduler$4.call(
>>> SimpleScheduler.java:330)
>>>         at
>>> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
>>>         at java.util.concurrent.FutureTask.run(FutureTask.java:123)
>>>         at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
>>> ThreadPoolExecutor.java:650)
>>>         at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java
>>> :675)
>>>         at java.lang.Thread.run(Thread.java:595)
>>> 10:40:53,781 ERROR [BpelProcess] Unable to evaluate apply property alias
>>> "OMessageVarType#7[payload][{OXPath10Expression
>>> TaskMsg}]" to incoming message: No results for expression:
>>> {OXPath10Expression TaskMsg}
>>> org.apache.ode.bpel.common.FaultException: No results for expression:
>>> {OXPath10Expression TaskMsg}
>>>         at
>>>
>>> org.apache.ode.bpel.elang.xpath20.runtime.XPath20ExpressionRuntime.evaluateNode
>>> (XPath20ExpressionRuntime.java
>>> :139)
>>>         at
>>> org.apache.ode.bpel.runtime.ExpressionLanguageRuntimeRegistry.evaluateNode
>>> (ExpressionLanguageRuntimeRegistry.
>>> java:84)
>>>         at
>>> org.apache.ode.bpel.engine.BpelProcess.extractProperty(BpelProcess.java
>>> :222)
>>>         at
>>> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKey(
>>> PartnerLinkMyRoleImpl.java:309)
>>>         at
>>> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKeys(
>>> PartnerLinkMyRoleImpl.java:278)
>>>         at
>>> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeMyRole(
>>> PartnerLinkMyRoleImpl.java:126)
>>>         at
>>> org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:169)
>>>         at
>>> org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java
>>> :306)
>>>         at
>>> org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(
>>> BpelEngineImpl.java:318)
>>>         at
>>> org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(
>>> BpelServerImpl.java:364)
>>>         at
>>> org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(
>>> SimpleScheduler.java:335)
>>>         at
>>> org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(
>>> SimpleScheduler.java:334)
>>>         at
>>> org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(
>>> SimpleScheduler.java:173)
>>>         at
>>> org.apache.ode.scheduler.simple.SimpleScheduler$4.call(
>>> SimpleScheduler.java:333)
>>>         at
>>> org.apache.ode.scheduler.simple.SimpleScheduler$4.call(
>>> SimpleScheduler.java:330)
>>>         at
>>> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
>>>         at java.util.concurrent.FutureTask.run(FutureTask.java:123)
>>>         at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
>>> ThreadPoolExecutor.java:650)
>>>         at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java
>>> :675)
>>>         at java.lang.Thread.run(Thread.java:595)
>>> DEBUG - GeronimoLog.debug(70) | Unable to evaluate correlation keys,
>>> invalid
>>> message format.
>>> org.apache.ode.bpel.common.InvalidMessageException: Unable to evaluate
>>> apply
>>> property alias "OMessageVarType#7[payload][
>>> {OXPath10Expression TaskMsg}]" to incoming message: No results for
>>> expression: {OXPath10Expression TaskMsg}
>>>         at
>>> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKey(
>>> PartnerLinkMyRoleImpl.java:313)
>>>         at
>>> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKeys(
>>> PartnerLinkMyRoleImpl.java:278)
>>>         at
>>> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeMyRole(
>>> PartnerLinkMyRoleImpl.java:126)
>>>         at
>>> org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:169)
>>>         at
>>> org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java
>>> :306)
>>>         at
>>> org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(
>>> BpelEngineImpl.java:318)
>>>         at
>>> org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(
>>> BpelServerImpl.java:364)
>>>         at
>>> org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(
>>> SimpleScheduler.java:335)
>>>         at
>>> org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(
>>> SimpleScheduler.java:334)
>>>         at
>>> org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(
>>> SimpleScheduler.java:173)
>>>         at
>>> org.apache.ode.scheduler.simple.SimpleScheduler$4.call(
>>> SimpleScheduler.java:333)
>>>         at
>>> org.apache.ode.scheduler.simple.SimpleScheduler$4.call(
>>> SimpleScheduler.java:330)
>>>         at
>>> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
>>>         at java.util.concurrent.FutureTask.run(FutureTask.java:123)
>>>         at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
>>> ThreadPoolExecutor.java:650)
>>>         at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java
>>> :675)
>>>         at java.lang.Thread.run(Thread.java:595)
>>> Caused by: org.apache.ode.bpel.common.FaultException: No results for
>>> expression: {OXPath10Expression TaskMsg}
>>>         at
>>>
>>> org.apache.ode.bpel.elang.xpath20.runtime.XPath20ExpressionRuntime.evaluateNode
>>> (XPath20ExpressionRuntime.java
>>> :139)
>>>         at
>>> org.apache.ode.bpel.runtime.ExpressionLanguageRuntimeRegistry.evaluateNode
>>> (ExpressionLanguageRuntimeRegistry.
>>> java:84)
>>>         at
>>> org.apache.ode.bpel.engine.BpelProcess.extractProperty(BpelProcess.java
>>> :222)
>>>         at
>>> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKey(
>>> PartnerLinkMyRoleImpl.java:309)
>>>         ... 16 more
>>> 10:40:53,781 DEBUG [BpelProcess] Unable to evaluate correlation keys,
>>> invalid message format.
>>> org.apache.ode.bpel.common.InvalidMessageException: Unable to evaluate
>>> apply
>>> property alias "OMessageVarType#7[payload][
>>> {OXPath10Expression TaskMsg}]" to incoming message: No results for
>>> expression: {OXPath10Expression TaskMsg}
>>>         at
>>> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKey(
>>> PartnerLinkMyRoleImpl.java:313)
>>>         at
>>> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKeys(
>>> PartnerLinkMyRoleImpl.java:278)
>>>         at
>>> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeMyRole(
>>> PartnerLinkMyRoleImpl.java:126)
>>>         at
>>> org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:169)
>>>         at
>>> org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java
>>> :306)
>>>         at
>>> org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(
>>> BpelEngineImpl.java:318)
>>>         at
>>> org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(
>>> BpelServerImpl.java:364)
>>>         at
>>> org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(
>>> SimpleScheduler.java:335)
>>>         at
>>> org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(
>>> SimpleScheduler.java:334)
>>>         at
>>> org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(
>>> SimpleScheduler.java:173)
>>>         at
>>> org.apache.ode.scheduler.simple.SimpleScheduler$4.call(
>>> SimpleScheduler.java:333)
>>>         at
>>> org.apache.ode.scheduler.simple.SimpleScheduler$4.call(
>>> SimpleScheduler.java:330)
>>>         at
>>> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
>>>         at java.util.concurrent.FutureTask.run(FutureTask.java:123)
>>>         at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
>>> ThreadPoolExecutor.java:650)
>>>         at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java
>>> :675)
>>>         at java.lang.Thread.run(Thread.java:595)
>>> Caused by: org.apache.ode.bpel.common.FaultException: No results for
>>> expression: {OXPath10Expression TaskMsg}
>>>         at
>>>
>>> org.apache.ode.bpel.elang.xpath20.runtime.XPath20ExpressionRuntime.evaluateNode
>>> (XPath20ExpressionRuntime.java
>>> :139)
>>>         at
>>> org.apache.ode.bpel.runtime.ExpressionLanguageRuntimeRegistry.evaluateNode
>>> (ExpressionLanguageRuntimeRegistry.
>>> java:84)
>>>         at
>>> org.apache.ode.bpel.engine.BpelProcess.extractProperty(BpelProcess.java
>>> :222)
>>>         at
>>> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKey(
>>> PartnerLinkMyRoleImpl.java:309)
>>>
>>> Cheers
>>> Anup
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Correlation-%3A-Unable-to-evaluate-apply-property-alias-tf4506806.html#a12853261
>>> Sent from the Apache Ode User mailing list archive at Nabble.com.
>>>
>>>
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Correlation-%3A-Unable-to-evaluate-apply-property-alias-tf4506806.html#a12907786
Sent from the Apache Ode User mailing list archive at Nabble.com.


Re: Correlation : Unable to evaluate apply property alias

Posted by Anup Chandran <an...@3ds.com>.

Hi Matthieu,

Same result with the namespace addition.

xsd="http://www.w3.org/2001/XMLSchema"
xsi:type="xsd:string">15863.19604.4127.11793</axis2ns52:in2>

 

tns1:in3>true</tns1:in3>

is2ns52:boPromoteDemote></soapenv:Body></soapenv:Envelope>

 EDT 2007] PLM: initContext user<<Test Everything>> pass<<1234>>

 EDT 2007] PLM: boPromoteDemote:Got Context

 EDT 2007] PLM: 15863.19604.4127.11793 Promoted

trace(54) | Mex[hqejbhcnphr2m5n2aftisu].setPortOp(...)

MessageExchangeImpl] Mex[hqejbhcnphr2m5n2aftisu].setPortOp(...)

debug(66) | Received response for MEX {PartnerRoleMex#hqejbhcnphr2m5n2aftisu
[PID {http://eclipse.or

cess-12] calling null.boPromoteDemote(...)}

ExternalService] Received response for MEX
{PartnerRoleMex#hqejbhcnphr2m5n2aftisu [PID {http://eclip

CRProcess-12] calling null.boPromoteDemote(...)}

debug(66) | RESPONSE (NORMAL): <?xml version="1.0" encoding="UTF-8"?>

><boPromoteDemoteResponse xmlns="http://engineering.cbp.jpo"
xmlns:soapenv="http://schemas.xmlsoap.o

mlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">15863.19604.4127.11793</boPromoteDemoteReturn></boPromoteDemoteR

></message>

ExternalService] RESPONSE (NORMAL): <?xml version="1.0" encoding="UTF-8"?>

><boPromoteDemoteResponse xmlns="http://engineering.cbp.jpo"
xmlns:soapenv="http://schemas.xmlsoap.o

mlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">15863.19604.4127.11793</boPromoteDemoteReturn></boPromoteDemoteR

></message>

debug(66) | reply mex=hqejbhcnphr2m5n2aftisu

PartnerRoleMessageExchangeImpl] reply mex=hqejbhcnphr2m5n2aftisu

debug(66) | create work event for mex=hqejbhcnphr2m5n2aftisu

PartnerRoleMessageExchangeImpl] create work event for
mex=hqejbhcnphr2m5n2aftisu

debug(66) | Thread[pool-2-thread-7,5,main]: lock(iid=2375,
time=1MICROSECONDS)

InstanceLockManager] Thread[pool-2-thread-7,5,main]: lock(iid=2375,
time=1MICROSECONDS)

debug(66) | Thread[pool-2-thread-7,5,main]: lock(iid=2375,
time=1MICROSECONDS)-->GRANTED

InstanceLockManager] Thread[pool-2-thread-7,5,main]: lock(iid=2375,
time=1MICROSECONDS)-->GRANTED

debug(66) | >> handleWorkEvent(jobData={type=INVOKE_RESPONSE,
mexid=hqejbhcnphr2m5n2aftisu, channel=

 

BpelProcess] >> handleWorkEvent(jobData={type=INVOKE_RESPONSE,
mexid=hqejbhcnphr2m5n2aftisu, channel

 

debug(66) | BpelRuntimeContextImpl created for instance 2375. INDEXED
STATE={OSequence#96-ECR Proces

...)], {OScope 'PromoteCBPWorkflow' id=532}::83=[ACTIVITYGUARD(...)],
{OScope 'Design Change Proposa

TYGUARD(...)], OSequence#98-Assign ECR To
Coordinator::5=[ACTIVITYGUARD(...)], OInvoke#533-PromoteCB

E(...)], {OScope 'PromoteCBPWorkflow' id=532}::84=[SCOPE(...)],
OInvoke#533-PromoteCBPWorkflow::85=[

 {OScope 'Design Change Proposal' id=97}::4=[SCOPE(...)], {OScope
'__PROCESS_SCOPE:ECRProcess' id=14

Sequence#96-ECR Process::2=[SEQUENCE(self=(OSequence#96-ECR
Process,TerminationChannel#3,ParentScope

e=org.apache.ode.bpel.runtime.LinkFrame@b80d9f, remaining=[{OScope 'Design
Change Proposal' id=97}])

gn ECR To Coordinator::6=[SEQUENCE(self=(OSequence#98-Assign ECR To
Coordinator,TerminationChannel#9

11), linkframe=org.apache.ode.bpel.runtime.LinkFrame@b80d9f,
remaining=[{OScope 'PromoteCBPWorkflow'

ve#539-receiveCoordTaskCompletion, {OAssign : AssignCreateEvaluatorTask,
joinCondition=null}, {OScop

sk' id=571}, {OAssign : AssignToLinkTaskToProcess, joinCondition=null},
{OScope 'callbackClient' id=

PROCESS_SCOPE:ECRProcess' id=14}::0=[ACTIVE(...)], {OScope 'Design Change
Proposal' id=97}::4=[ACTIV

omoteCBPWorkflow' id=532}::84=[ACTIVE(...)]}

BpelRuntimeContextImpl] BpelRuntimeContextImpl created for instance 2375.
INDEXED STATE={OSequence#9

TIVITYGUARD(...)], {OScope 'PromoteCBPWorkflow'
id=532}::83=[ACTIVITYGUARD(...)], {OScope 'Design Ch

}::3=[ACTIVITYGUARD(...)], OSequence#98-Assign ECR To
Coordinator::5=[ACTIVITYGUARD(...)], OInvoke#5

w::86=[INVOKE(...)], {OScope 'PromoteCBPWorkflow' id=532}::84=[SCOPE(...)],
OInvoke#533-PromoteCBPWo

GUARD(...)], {OScope 'Design Change Proposal' id=97}::4=[SCOPE(...)],
{OScope '__PROCESS_SCOPE:ECRPr

OPE(...)], OSequence#96-ECR Process::2=[SEQUENCE(self=(OSequence#96-ECR
Process,TerminationChannel#3

5), linkframe=org.apache.ode.bpel.runtime.LinkFrame@b80d9f,
remaining=[{OScope 'Design Change Propos

ence#98-Assign ECR To Coordinator::6=[SEQUENCE(self=(OSequence#98-Assign ECR
To Coordinator,Terminat

copeChannel#11), linkframe=org.apache.ode.bpel.runtime.LinkFrame@b80d9f,
remaining=[{OScope 'Promote

, OPickReceive#539-receiveCoordTaskCompletion, {OAssign :
AssignCreateEvaluatorTask, joinCondition=n

eEvaluatorTask' id=571}, {OAssign : AssignToLinkTaskToProcess,
joinCondition=null}, {OScope 'callbac

 {OScope '__PROCESS_SCOPE:ECRProcess' id=14}::0=[ACTIVE(...)], {OScope
'Design Change Proposal' id=9

 {OScope 'PromoteCBPWorkflow' id=532}::84=[ACTIVE(...)]}

debug(66) | InvokeResponse event for iid 2375

BpelProcess] InvokeResponse event for iid 2375

debug(66) | Invoking message response for mexid hqejbhcnphr2m5n2aftisu and
channel 153

BpelRuntimeContextImpl] Invoking message response for mexid
hqejbhcnphr2m5n2aftisu and channel 153

debug(66) | Triggering response

BpelRuntimeContextImpl] Triggering response

trace(54) | >>
select(pickResponseChannel=PickResponseChannel#158,timeout=<null>,createInstance=fals

ache.ode.bpel.runtime.Selector;@471172)

BpelProcess] >>
select(pickResponseChannel=PickResponseChannel#158,timeout=<null>,createInstance=fal

pache.ode.bpel.runtime.Selector;@471172)

debug(66) | SELECT: PickResponseChannel#158: USING CORRELATOR
95.receiveCBPTaskMessage

BpelProcess] SELECT: PickResponseChannel#158: USING CORRELATOR
95.receiveCBPTaskMessage

trace(54) | >>
findConflict(selectors=[Lorg.apache.ode.bpel.runtime.Selector;@471172)

OutstandingRequestManager] >>
findConflict(selectors=[Lorg.apache.ode.bpel.runtime.Selector;@471172)

 

trace(54) | >>
register(pickResponseChannel=158,selectors=[Lorg.apache.ode.bpel.runtime.Selector;@47

 

OutstandingRequestManager] >>
register(pickResponseChannel=158,selectors=[Lorg.apache.ode.bpel.runti

 

debug(66) | SELECT: PickResponseChannel#158: ADDED ROUTE
95.receiveCBPTaskMessage: {CorrelationKey s

63.19604.4127.11793]} --> 2375

BpelProcess] SELECT: PickResponseChannel#158: ADDED ROUTE
95.receiveCBPTaskMessage: {CorrelationKey

863.19604.4127.11793]} --> 2375

debug(66) | Setting execution state on instance 2375

BpelRuntimeContextImpl] Setting execution state on instance 2375

debug(66) | Thread[pool-2-thread-7,5,main]: unlock(iid=2375)

InstanceLockManager] Thread[pool-2-thread-7,5,main]: unlock(iid=2375)

debug(66) | Thread[pool-2-thread-9,5,main]: lock(iid=2375,
time=1MICROSECONDS)

InstanceLockManager] Thread[pool-2-thread-9,5,main]: lock(iid=2375,
time=1MICROSECONDS)

debug(66) | Thread[pool-2-thread-9,5,main]: lock(iid=2375,
time=1MICROSECONDS)-->GRANTED

InstanceLockManager] Thread[pool-2-thread-9,5,main]: lock(iid=2375,
time=1MICROSECONDS)-->GRANTED

debug(66) | >> handleWorkEvent(jobData={type=MATCHER, inmem=false,
ckey=88~15863.19604.4127.11793, c

veCBPTaskMessage, iid=2375})

BpelProcess] >> handleWorkEvent(jobData={type=MATCHER, inmem=false,
ckey=88~15863.19604.4127.11793,

iveCBPTaskMessage, iid=2375})

debug(66) | BpelRuntimeContextImpl created for instance 2375. INDEXED
STATE={{OScope '__PROCESS_SCOP

::0=[SCOPE(...)], OSequence#98-Assign ECR To
Coordinator::6=[SEQUENCE(self=(OSequence#98-Assign ECR

nationChannel#9,ParentScopeChannel#11),
linkframe=org.apache.ode.bpel.runtime.LinkFrame@876515, rema

539-receiveCoordTaskCompletion, {OAssign : AssignCreateEvaluatorTask,
joinCondition=null}, {OScope '

 id=571}, {OAssign : AssignToLinkTaskToProcess, joinCondition=null}, {OScope
'callbackClient' id=610

n Change Proposal' id=97}::4=[ACTIVE(...)], OSequence#96-ECR
Process::2=[SEQUENCE(self=(OSequence#96

tionChannel#3,ParentScopeChannel#5),
linkframe=org.apache.ode.bpel.runtime.LinkFrame@876515, remaini

Change Proposal' id=97}])], OSequence#98-Assign ECR To
Coordinator::5=[ACTIVITYGUARD(...)], {OScope

sal' id=97}::3=[ACTIVITYGUARD(...)],
OPickReceive#539-receiveCoordTaskCompletion::88=[PICK(...)], {O

PE:ECRProcess' id=14}::0=[ACTIVE(...)], {OScope 'Design Change Proposal'
id=97}::4=[SCOPE(...)], OSe

s::1=[ACTIVITYGUARD(...)],
OPickReceive#539-receiveCoordTaskCompletion::87=[ACTIVITYGUARD(...)]}

BpelRuntimeContextImpl] BpelRuntimeContextImpl created for instance 2375.
INDEXED STATE={{OScope '__

cess' id=14}::0=[SCOPE(...)], OSequence#98-Assign ECR To
Coordinator::6=[SEQUENCE(self=(OSequence#98

inator,TerminationChannel#9,ParentScopeChannel#11),
linkframe=org.apache.ode.bpel.runtime.LinkFrame@

PickReceive#539-receiveCoordTaskCompletion, {OAssign :
AssignCreateEvaluatorTask, joinCondition=null

aluatorTask' id=571}, {OAssign : AssignToLinkTaskToProcess,
joinCondition=null}, {OScope 'callbackCl

Scope 'Design Change Proposal' id=97}::4=[ACTIVE(...)], OSequence#96-ECR
Process::2=[SEQUENCE(self=(

cess,TerminationChannel#3,ParentScopeChannel#5),
linkframe=org.apache.ode.bpel.runtime.LinkFrame@876

ope 'Design Change Proposal' id=97}])], OSequence#98-Assign ECR To
Coordinator::5=[ACTIVITYGUARD(...

Change Proposal' id=97}::3=[ACTIVITYGUARD(...)],
OPickReceive#539-receiveCoordTaskCompletion::88=[PI

_PROCESS_SCOPE:ECRProcess' id=14}::0=[ACTIVE(...)], {OScope 'Design Change
Proposal' id=97}::4=[SCOP

6-ECR Process::1=[ACTIVITYGUARD(...)],
OPickReceive#539-receiveCoordTaskCompletion::87=[ACTIVITYGUAR

 

debug(66) | Matcher event for iid 2375

BpelProcess] Matcher event for iid 2375

debug(66) | MatcherEvent handling: correlatorId=95.receiveCBPTaskMessage,
ckey={CorrelationKey setId

9604.4127.11793]}

BpelRuntimeContextImpl] MatcherEvent handling:
correlatorId=95.receiveCBPTaskMessage, ckey={Correlat

ues=[15863.19604.4127.11793]}

debug(66) | MatcherEvent handling: nothing to do, no matching message in DB

BpelRuntimeContextImpl] MatcherEvent handling: nothing to do, no matching
message in DB

debug(66) | Thread[pool-2-thread-9,5,main]: unlock(iid=2375)

InstanceLockManager] Thread[pool-2-thread-9,5,main]: unlock(iid=2375)

debug(66) | The system is checking for the operation using the following
WSAAction:

ODEAxisDispatcher] The system is checking for the operation using the
following WSAAction:

debug(66) | Checking for Operation using SOAP message body's first child's
local name : TaskInvocati

 

ODEAxisDispatcher] Checking for Operation using SOAP message body's first
child's local name : TaskI

 

debug(66) | Found a header in incoming message, checking if there are
endpoints there.

SessionInHandler] Found a header in incoming message, checking if there are
endpoints there.

debug(66) | Received one-way message for
CompleteCBPTask.{http://eclipse.org/bpel/sample}receiveCBPT

 

ODEMessageReceiver] Received one-way message for
CompleteCBPTask.{http://eclipse.org/bpel/sample}rec

 

debug(66) | Starting transaction.

ODEService] Starting transaction.

debug(66) | Routed: svcQname {http://eclipse.org/bpel/sample}CBPTaskService
--> BpelProcess[{http://

ple}ECRProcess-12]

BpelEngineImpl] Routed: svcQname
{http://eclipse.org/bpel/sample}CBPTaskService --> BpelProcess[{htt

/sample}ECRProcess-12]

trace(54) | Mex[hqejbhcnphr2m5n2aftit1].setPortOp(...)

MessageExchangeImpl] Mex[hqejbhcnphr2m5n2aftit1].setPortOp(...)

debug(66) | ODE routed to operation Operation: name=receiveCBPTaskMessage

 

 

//eclipse.org/bpel/sample}CBPTaskMessage

 

eclipse.org/bpel/sample}TaskInvocationMsg from service
{http://eclipse.org/bpel/sample}CBPTaskServic

 

ODEService] ODE routed to operation Operation: name=receiveCBPTaskMessage

 

 

//eclipse.org/bpel/sample}CBPTaskMessage

 

eclipse.org/bpel/sample}TaskInvocationMsg from service
{http://eclipse.org/bpel/sample}CBPTaskServic

 

debug(66) | Invoking ODE using MEX {MyRoleMex#hqejbhcnphr2m5n2aftit1 [Client
hqejbhcnphr2m5n2aftit0]

ipse.org/bpel/sample}CBPTaskService.receiveCBPTaskMessage(...)}

ODEService] Invoking ODE using MEX {MyRoleMex#hqejbhcnphr2m5n2aftit1 [Client
hqejbhcnphr2m5n2aftit0]

ipse.org/bpel/sample}CBPTaskService.receiveCBPTaskMessage(...)}

debug(66) | Message content:  <?xml version="1.0" encoding="UTF-8"?>

askInvocationMsg xmlns="http://eclipse.org/bpel/sample"
xmlns:sam="http://eclipse.org/bpel/sample" x

/schemas.xmlsoap.org/soap/envelope/">

863.19604.4127.11793</TaskMsg>

onMsg></payload></message>

ODEService] Message content:  <?xml version="1.0" encoding="UTF-8"?>

askInvocationMsg xmlns="http://eclipse.org/bpel/sample"
xmlns:sam="http://eclipse.org/bpel/sample" x

/schemas.xmlsoap.org/soap/envelope/">

863.19604.4127.11793</TaskMsg>

onMsg></payload></message>

debug(66) | Routed: svcQname {http://eclipse.org/bpel/sample}CBPTaskService
--> BpelProcess[{http://

ple}ECRProcess-12]

BpelEngineImpl] Routed: svcQname
{http://eclipse.org/bpel/sample}CBPTaskService --> BpelProcess[{htt

/sample}ECRProcess-12]

debug(66) | invoke() EPR= null ==>
BpelProcess[{http://eclipse.org/bpel/sample}ECRProcess-12]

MyRoleMessageExchangeImpl] invoke() EPR= null ==>
BpelProcess[{http://eclipse.org/bpel/sample}ECRPro

 

debug(66) | Commiting ODE MEX {MyRoleMex#hqejbhcnphr2m5n2aftit1 [Client
hqejbhcnphr2m5n2aftit0] call

org/bpel/sample}CBPTaskService.receiveCBPTaskMessage(...)}

ODEService] Commiting ODE MEX {MyRoleMex#hqejbhcnphr2m5n2aftit1 [Client
hqejbhcnphr2m5n2aftit0] call

org/bpel/sample}CBPTaskService.receiveCBPTaskMessage(...)}

debug(66) | Commiting transaction.

ODEService] Commiting transaction.

debug(66) | >> handleWorkEvent(jobData={type=INVOKE_INTERNAL,
mexid=hqejbhcnphr2m5n2aftit1, pid={htt

/sample}ECRProcess-12})

BpelProcess] >> handleWorkEvent(jobData={type=INVOKE_INTERNAL,
mexid=hqejbhcnphr2m5n2aftit1, pid={ht

l/sample}ECRProcess-12})

debug(66) | InvokeInternal event for mexid hqejbhcnphr2m5n2aftit1

BpelProcess] InvokeInternal event for mexid hqejbhcnphr2m5n2aftit1

trace(54) | >> {PartnerLinkRole-CBPTaskPartnerLink.me on
{http://eclipse.org/bpel/sample}CBPTaskServ

utMsgRcvd(messageExchange={MyRoleMex#hqejbhcnphr2m5n2aftit1 [Client
hqejbhcnphr2m5n2aftit0] calling

bpel/sample}CBPTaskService.receiveCBPTaskMessage(...)})

BpelProcess] >> {PartnerLinkRole-CBPTaskPartnerLink.me on
{http://eclipse.org/bpel/sample}CBPTaskSer

putMsgRcvd(messageExchange={MyRoleMex#hqejbhcnphr2m5n2aftit1 [Client
hqejbhcnphr2m5n2aftit0] calling

/bpel/sample}CBPTaskService.receiveCBPTaskMessage(...)})

trace(54) | Mex[hqejbhcnphr2m5n2aftit1].setPortOp(...)

MessageExchangeImpl] Mex[hqejbhcnphr2m5n2aftit1].setPortOp(...)

trace(54) | Mex[hqejbhcnphr2m5n2aftit1].setPattern(REQUEST_ONLY)

MessageExchangeImpl] Mex[hqejbhcnphr2m5n2aftit1].setPattern(REQUEST_ONLY)

error(108) | Unable to evaluate apply property alias
"OMessageVarType#7[][{OXPath10Expression tns:Ta

 message: No results for expression: {OXPath10Expression tns:TaskMsg}

common.FaultException: No results for expression: {OXPath10Expression
tns:TaskMsg}

e.ode.bpel.elang.xpath20.runtime.XPath20ExpressionRuntime.evaluateNode(XPath20ExpressionRuntime.java

 

e.ode.bpel.runtime.ExpressionLanguageRuntimeRegistry.evaluateNode(ExpressionLanguageRuntimeRegistry.

 

e.ode.bpel.engine.BpelProcess.extractProperty(BpelProcess.java:222)

e.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKey(PartnerLinkMyRoleImpl.java:309)

e.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKeys(PartnerLinkMyRoleImpl.java:278)

e.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeMyRole(PartnerLinkMyRoleImpl.java:126)

e.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:169)

e.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:306)

e.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:318)

e.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:364)

e.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:335)

e.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:334)

e.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:173)

e.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:333)

e.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:330)

.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)

.concurrent.FutureTask.run(FutureTask.java:123)

.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)

.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)

.Thread.run(Thread.java:595)

BpelProcess] Unable to evaluate apply property alias
"OMessageVarType#7[][{OXPath10Expression tns:Ta

 message: No results for expression: {OXPath10Expression tns:TaskMsg}

common.FaultException: No results for expression: {OXPath10Expression
tns:TaskMsg}

e.ode.bpel.elang.xpath20.runtime.XPath20ExpressionRuntime.evaluateNode(XPath20ExpressionRuntime.java

 

e.ode.bpel.runtime.ExpressionLanguageRuntimeRegistry.evaluateNode(ExpressionLanguageRuntimeRegistry.

 

e.ode.bpel.engine.BpelProcess.extractProperty(BpelProcess.java:222)

e.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKey(PartnerLinkMyRoleImpl.java:309)

e.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKeys(PartnerLinkMyRoleImpl.java:278)

e.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeMyRole(PartnerLinkMyRoleImpl.java:126)

e.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:169)

e.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:306)

e.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:318)

e.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:364)

e.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:335)

e.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:334)

e.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:173)

e.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:333)

e.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:330)

.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)

.concurrent.FutureTask.run(FutureTask.java:123)

.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)

.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)

.Thread.run(Thread.java:595)

debug(70) | Unable to evaluate correlation keys, invalid message format.

common.InvalidMessageException: Unable to evaluate apply property alias
"OMessageVarType#7[][{OXPath

kMsg}]" to incoming message: No results for expression: {OXPath10Expression
tns:TaskMsg}

e.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKey(PartnerLinkMyRoleImpl.java:313)

e.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKeys(PartnerLinkMyRoleImpl.java:278)

e.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeMyRole(PartnerLinkMyRoleImpl.java:126)

e.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:169)

e.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:306)

e.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:318)

e.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:364)

e.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:335)

e.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:334)

e.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:173)

e.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:333)

e.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:330)

.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)

.concurrent.FutureTask.run(FutureTask.java:123)

.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)

.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)

.Thread.run(Thread.java:595)

e.ode.bpel.common.FaultException: No results for expression:
{OXPath10Expression tns:TaskMsg}

e.ode.bpel.elang.xpath20.runtime.XPath20ExpressionRuntime.evaluateNode(XPath20ExpressionRuntime.java

 

e.ode.bpel.runtime.ExpressionLanguageRuntimeRegistry.evaluateNode(ExpressionLanguageRuntimeRegistry.

 

e.ode.bpel.engine.BpelProcess.extractProperty(BpelProcess.java:222)

e.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKey(PartnerLinkMyRoleImpl.java:309)

 

BpelProcess] Unable to evaluate correlation keys, invalid message format.

common.InvalidMessageException: Unable to evaluate apply property alias
"OMessageVarType#7[][{OXPath

kMsg}]" to incoming message: No results for expression: {OXPath10Expression
tns:TaskMsg}

e.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKey(PartnerLinkMyRoleImpl.java:313)

e.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKeys(PartnerLinkMyRoleImpl.java:278)

e.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeMyRole(PartnerLinkMyRoleImpl.java:126)

e.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:169)

e.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:306)

e.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:318)

e.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:364)

e.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:335)

e.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:334)

e.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:173)

e.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:333)

e.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:330)

.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)

.concurrent.FutureTask.run(FutureTask.java:123)

.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)

.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)

.Thread.run(Thread.java:595)

e.ode.bpel.common.FaultException: No results for expression:
{OXPath10Expression tns:TaskMsg}

e.ode.bpel.elang.xpath20.runtime.XPath20ExpressionRuntime.evaluateNode(XPath20ExpressionRuntime.java

 

e.ode.bpel.runtime.ExpressionLanguageRuntimeRegistry.evaluateNode(ExpressionLanguageRuntimeRegistry.

 

e.ode.bpel.engine.BpelProcess.extractProperty(BpelProcess.java:222)

e.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKey(PartnerLinkMyRoleImpl.java:309)

 

debug(66) | Releasing mex hqejbhcnphr2m5n2aftit1

MessageExchangeImpl] Releasing mex hqejbhcnphr2m5n2aftit1

 

-Anup




Matthieu Riou-5 wrote:
> 
> Hi Anup,
> 
> Looks like the namespace is missing in your query:
> 
> <prop:query>TaskMsg</prop:query>
> 
> It should be in the http://eclipse.org/bpel/sample namespace (probably
> associated with the tns prefix but can't tell for sure from your snippet).
> 
> Matthieu
> 
> On 9/23/07, Anup Chandran <an...@3ds.com> wrote:
>>
>>
>> Hi All,
>>
>> Not sure what is wrong with my definition. Can someone guide me?
>>
>> BPEL file snippet...
>>
>> <variables>
>> <variable name="InvokingTaskOID" messageType="tns:CBPTaskMessage"/>
>> ........
>> </variables>
>>
>> <correlationSets>
>>     <correlationSet name="CoordTaskOID" properties="tns:CoTaskOID" />
>> </correlationSets>....
>>
>>
>> <!-- Has the following invoke-->
>>
>> <invoke inputVariable="CreateECRPartnerLinkRequest"
>> name="CreateCordinatorTask" operation="createBus"
>> outputVariable="CreateECRPartnerLinkResponse"
>> partnerLink="CreateECRPartnerLink" portType="ns:ECR">
>>      <correlations>
>>         <correlation set="CoordTaskOID" initiate="yes"
>> pattern="response"/>
>>       </correlations>
>> </invoke>
>>
>> <!-- followed by some async receive-->
>>
>> <receive createInstance="no" name="receiveCoordTaskCompletion"
>> operation="receiveCBPTaskMessage" partnerLink="CBPTaskPartnerLink"
>> portType="tns:CBPTaskPortType" variable="InvokingTaskOID">
>>       <correlations>
>>         <correlation set="CoordTaskOID" initiate="no"/>
>>       </correlations>
>> </receive>
>>
>> The WSDL definition has :
>>
>>         <types>
>>                 <schema attributeFormDefault="unqualified"
>>                         elementFormDefault="qualified"
>>                         targetNamespace="http://eclipse.org/bpel/sample"
>>                         xmlns="http://www.w3.org/2001/XMLSchema">
>>
>>                         <element name="TaskInvocationMsg">
>>                           <complexType>
>>                           <sequence>
>>                                 <element name="TaskMsg"
>> type="string"></element>
>>                           </sequence>
>>                           </complexType>
>>                         </element>
>>
>> .......
>>
>> </types>
>>
>>    <message name="CBPTaskMessage">
>>         <part name="payload" element="tns:TaskInvocationMsg" />
>>     </message>
>>
>>
>>     <portType name="CBPTaskPortType">
>>         <operation name="receiveCBPTaskMessage">
>>             <input message="tns:CBPTaskMessage" name="TestIn"/>
>>         </operation>
>>     </portType>
>>
>>
>>      <binding name="CBPTaskSoapBinding" type="tns:CBPTaskPortType">
>>         <soap:binding style="document"
>> transport="http://schemas.xmlsoap.org/soap/http"/>
>>         <operation name="receiveCBPTaskMessage">
>>             <soap:operation soapAction="" style="document"/>
>>             <input>
>>                 <soap:body
>>                     namespace="http://sample.bpel.org/bpel/sample"
>>                     use="literal"/>
>>             </input>
>>         </operation>
>>     </binding>
>>
>>
>>                 CORRELATION DEFINITION
>>                
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> -->
>>         <!-- define correlation properties -->
>>   <prop:property name="CoTaskOID" type="xsd:string"/>
>>
>>
>>         <!-- define correlation property alias -->
>>
>>   <prop:propertyAlias propertyName="tns:CoTaskOID"
>> messageType="tns:CBPTaskMessage">
>>                       part="payload">
>>      <prop:query>TaskMsg</prop:query>
>>   </prop:propertyAlias>
>>   <prop:propertyAlias propertyName="tns:CoTaskOID"
>> messageType="ecr:createBusResponse"
>>                       part="createBusReturn"/>
>>
>>
>> The error at runtime when a response message is sent to the receive
>> activity
>> is:
>>
>>
>>
>> 10:40:53,731 DEBUG [ODEMessageReceiver] Received one-way message for
>> CompleteCBPTask.{http://eclipse.org/bpel/sample}rec
>> eiveCBPTaskMessage
>> DEBUG - GeronimoLog.debug(66) | Starting transaction.
>> 10:40:53,731 DEBUG [ODEService] Starting transaction.
>> DEBUG - GeronimoLog.debug(66) | Routed: svcQname
>> {http://eclipse.org/bpel/sample}CBPTaskService --> BpelProcess[{http://
>> eclipse.org/bpel/sample}ECRProcess-22]
>> 10:40:53,731 DEBUG [BpelEngineImpl] Routed: svcQname
>> {http://eclipse.org/bpel/sample}CBPTaskService --> BpelProcess[{htt
>> p://eclipse.org/bpel/sample}ECRProcess-22]
>> DEBUG - GeronimoLog.trace(54) |
>> Mex[hqejbhcnphr2m0s9oeu494].setPortOp(...)
>> 10:40:53,741 DEBUG [MessageExchangeImpl]
>> Mex[hqejbhcnphr2m0s9oeu494].setPortOp(...)
>> DEBUG - GeronimoLog.debug(66) | ODE routed to operation Operation:
>> name=receiveCBPTaskMessage
>> style=ONE_WAY,0
>> Input: name=TestIn
>> Message: name={http://eclipse.org/bpel/sample}CBPTaskMessage
>> Part: name=payload
>> elementName={http://eclipse.org/bpel/sample}TaskInvocationMsg from
>> service
>> {http://eclipse.org/bpel/sample}CBPTaskServic
>> e
>> 10:40:53,741 DEBUG [ODEService] ODE routed to operation Operation:
>> name=receiveCBPTaskMessage
>> style=ONE_WAY,0
>> Input: name=TestIn
>> Message: name={http://eclipse.org/bpel/sample}CBPTaskMessage
>> Part: name=payload
>> elementName={http://eclipse.org/bpel/sample}TaskInvocationMsg from
>> service
>> {http://eclipse.org/bpel/sample}CBPTaskServic
>> e
>> DEBUG - GeronimoLog.debug(66) | Invoking ODE using MEX
>> {MyRoleMex#hqejbhcnphr2m0s9oeu494 [Client hqejbhcnphr2m0s9oeu493]
>> calling
>> {http://eclipse.org/bpel/sample}CBPTaskService.receiveCBPTaskMessage(...)}
>> 10:40:53,741 DEBUG [ODEService] Invoking ODE using MEX
>> {MyRoleMex#hqejbhcnphr2m0s9oeu494 [Client hqejbhcnphr2m0s9oeu493]
>> calling
>> {http://eclipse.org/bpel/sample}CBPTaskService.receiveCBPTaskMessage(...)}
>> DEBUG - GeronimoLog.debug(66) | Message content:  <?xml version="1.0"
>> encoding="UTF-8"?>
>> <message><payload><TaskInvocationMsg
>> xmlns="http://eclipse.org/bpel/sample
>> "
>> xmlns:sam="http://eclipse.org/bpel/sample" x
>> mlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
>>          <TaskMsg>15863.19604.15624.44406</TaskMsg>
>>       </TaskInvocationMsg></payload></message>
>> 10:40:53,741 DEBUG [ODEService] Message content:  <?xml version="1.0"
>> encoding="UTF-8"?>
>> <message><payload><TaskInvocationMsg
>> xmlns="http://eclipse.org/bpel/sample
>> "
>> xmlns:sam="http://eclipse.org/bpel/sample" x
>> mlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
>>          <TaskMsg>15863.19604.15624.44406</TaskMsg>
>>       </TaskInvocationMsg></payload></message>
>> DEBUG - GeronimoLog.debug(66) | Routed: svcQname
>> {http://eclipse.org/bpel/sample}CBPTaskService --> BpelProcess[{http://
>> eclipse.org/bpel/sample}ECRProcess-22]
>> 10:40:53,741 DEBUG [BpelEngineImpl] Routed: svcQname
>> {http://eclipse.org/bpel/sample}CBPTaskService --> BpelProcess[{htt
>> p://eclipse.org/bpel/sample}ECRProcess-22]
>> DEBUG - GeronimoLog.debug(66) | invoke() EPR= null ==>
>> BpelProcess[{http://eclipse.org/bpel/sample}ECRProcess-22]
>> 10:40:53,741 DEBUG [MyRoleMessageExchangeImpl] invoke() EPR= null ==>
>> BpelProcess[{http://eclipse.org/bpel/sample}ECRPro
>> cess-22]
>> DEBUG - GeronimoLog.debug(66) | Commiting ODE MEX
>> {MyRoleMex#hqejbhcnphr2m0s9oeu494 [Client hqejbhcnphr2m0s9oeu493] call
>> ing
>> {http://eclipse.org/bpel/sample}CBPTaskService.receiveCBPTaskMessage(...)}
>> 10:40:53,751 DEBUG [ODEService] Commiting ODE MEX
>> {MyRoleMex#hqejbhcnphr2m0s9oeu494 [Client hqejbhcnphr2m0s9oeu493] call
>> ing
>> {http://eclipse.org/bpel/sample}CBPTaskService.receiveCBPTaskMessage(...)}
>> DEBUG - GeronimoLog.debug(66) | Commiting transaction.
>> 10:40:53,751 DEBUG [ODEService] Commiting transaction.
>> DEBUG - GeronimoLog.debug(66) | >>
>> handleWorkEvent(jobData={type=INVOKE_INTERNAL,
>> mexid=hqejbhcnphr2m0s9oeu494,
>> pid={htt
>> p://eclipse.org/bpel/sample}ECRProcess-22})
>> 10:40:53,761 DEBUG [BpelProcess] >>
>> handleWorkEvent(jobData={type=INVOKE_INTERNAL,
>> mexid=hqejbhcnphr2m0s9oeu494,
>> pid={ht
>> tp://eclipse.org/bpel/sample}ECRProcess-22})
>> DEBUG - GeronimoLog.debug(66) | InvokeInternal event for mexid
>> hqejbhcnphr2m0s9oeu494
>> 10:40:53,761 DEBUG [BpelProcess] InvokeInternal event for mexid
>> hqejbhcnphr2m0s9oeu494
>> DEBUG - GeronimoLog.trace(54) | >>
>> {PartnerLinkRole-CBPTaskPartnerLink.meon
>> {http://eclipse.org/bpel/sample}CBPTaskServ
>>
>> ice:CBPTaskPort}:inputMsgRcvd(messageExchange={MyRoleMex#hqejbhcnphr2m0s9oeu494
>> [Client hqejbhcnphr2m0s9oeu493] calling
>> {http://eclipse.org/bpel/sample}CBPTaskService.receiveCBPTaskMessage(...)}
>> )
>> 10:40:53,771 DEBUG [BpelProcess] >>
>> {PartnerLinkRole-CBPTaskPartnerLink.me
>> on {http://eclipse.org/bpel/sample}CBPTaskSer
>>
>> vice:CBPTaskPort}:inputMsgRcvd(messageExchange={MyRoleMex#hqejbhcnphr2m0s9oeu494
>> [Client hqejbhcnphr2m0s9oeu493] calling
>> {http://eclipse.org/bpel/sample}CBPTaskService.receiveCBPTaskMessage(...)}
>> )
>> DEBUG - GeronimoLog.trace(54) |
>> Mex[hqejbhcnphr2m0s9oeu494].setPortOp(...)
>> 10:40:53,771 DEBUG [MessageExchangeImpl]
>> Mex[hqejbhcnphr2m0s9oeu494].setPortOp(...)
>> DEBUG - GeronimoLog.trace(54) |
>> Mex[hqejbhcnphr2m0s9oeu494].setPattern(REQUEST_ONLY)
>> 10:40:53,771 DEBUG [MessageExchangeImpl]
>> Mex[hqejbhcnphr2m0s9oeu494].setPattern(REQUEST_ONLY)
>> ERROR - GeronimoLog.error(108) | Unable to evaluate apply property alias
>> "OMessageVarType#7[payload][{OXPath10Expression TaskMsg}]" to incoming
>> message: No results for expression: {OXPath10Expression TaskMsg}
>> org.apache.ode.bpel.common.FaultException: No results for expression:
>> {OXPath10Expression TaskMsg}
>>         at
>>
>> org.apache.ode.bpel.elang.xpath20.runtime.XPath20ExpressionRuntime.evaluateNode
>> (XPath20ExpressionRuntime.java
>> :139)
>>         at
>> org.apache.ode.bpel.runtime.ExpressionLanguageRuntimeRegistry.evaluateNode
>> (ExpressionLanguageRuntimeRegistry.
>> java:84)
>>         at
>> org.apache.ode.bpel.engine.BpelProcess.extractProperty(BpelProcess.java
>> :222)
>>         at
>> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKey(
>> PartnerLinkMyRoleImpl.java:309)
>>         at
>> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKeys(
>> PartnerLinkMyRoleImpl.java:278)
>>         at
>> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeMyRole(
>> PartnerLinkMyRoleImpl.java:126)
>>         at
>> org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:169)
>>         at
>> org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java
>> :306)
>>         at
>> org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(
>> BpelEngineImpl.java:318)
>>         at
>> org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(
>> BpelServerImpl.java:364)
>>         at
>> org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(
>> SimpleScheduler.java:335)
>>         at
>> org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(
>> SimpleScheduler.java:334)
>>         at
>> org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(
>> SimpleScheduler.java:173)
>>         at
>> org.apache.ode.scheduler.simple.SimpleScheduler$4.call(
>> SimpleScheduler.java:333)
>>         at
>> org.apache.ode.scheduler.simple.SimpleScheduler$4.call(
>> SimpleScheduler.java:330)
>>         at
>> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
>>         at java.util.concurrent.FutureTask.run(FutureTask.java:123)
>>         at
>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
>> ThreadPoolExecutor.java:650)
>>         at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java
>> :675)
>>         at java.lang.Thread.run(Thread.java:595)
>> 10:40:53,781 ERROR [BpelProcess] Unable to evaluate apply property alias
>> "OMessageVarType#7[payload][{OXPath10Expression
>> TaskMsg}]" to incoming message: No results for expression:
>> {OXPath10Expression TaskMsg}
>> org.apache.ode.bpel.common.FaultException: No results for expression:
>> {OXPath10Expression TaskMsg}
>>         at
>>
>> org.apache.ode.bpel.elang.xpath20.runtime.XPath20ExpressionRuntime.evaluateNode
>> (XPath20ExpressionRuntime.java
>> :139)
>>         at
>> org.apache.ode.bpel.runtime.ExpressionLanguageRuntimeRegistry.evaluateNode
>> (ExpressionLanguageRuntimeRegistry.
>> java:84)
>>         at
>> org.apache.ode.bpel.engine.BpelProcess.extractProperty(BpelProcess.java
>> :222)
>>         at
>> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKey(
>> PartnerLinkMyRoleImpl.java:309)
>>         at
>> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKeys(
>> PartnerLinkMyRoleImpl.java:278)
>>         at
>> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeMyRole(
>> PartnerLinkMyRoleImpl.java:126)
>>         at
>> org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:169)
>>         at
>> org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java
>> :306)
>>         at
>> org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(
>> BpelEngineImpl.java:318)
>>         at
>> org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(
>> BpelServerImpl.java:364)
>>         at
>> org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(
>> SimpleScheduler.java:335)
>>         at
>> org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(
>> SimpleScheduler.java:334)
>>         at
>> org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(
>> SimpleScheduler.java:173)
>>         at
>> org.apache.ode.scheduler.simple.SimpleScheduler$4.call(
>> SimpleScheduler.java:333)
>>         at
>> org.apache.ode.scheduler.simple.SimpleScheduler$4.call(
>> SimpleScheduler.java:330)
>>         at
>> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
>>         at java.util.concurrent.FutureTask.run(FutureTask.java:123)
>>         at
>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
>> ThreadPoolExecutor.java:650)
>>         at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java
>> :675)
>>         at java.lang.Thread.run(Thread.java:595)
>> DEBUG - GeronimoLog.debug(70) | Unable to evaluate correlation keys,
>> invalid
>> message format.
>> org.apache.ode.bpel.common.InvalidMessageException: Unable to evaluate
>> apply
>> property alias "OMessageVarType#7[payload][
>> {OXPath10Expression TaskMsg}]" to incoming message: No results for
>> expression: {OXPath10Expression TaskMsg}
>>         at
>> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKey(
>> PartnerLinkMyRoleImpl.java:313)
>>         at
>> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKeys(
>> PartnerLinkMyRoleImpl.java:278)
>>         at
>> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeMyRole(
>> PartnerLinkMyRoleImpl.java:126)
>>         at
>> org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:169)
>>         at
>> org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java
>> :306)
>>         at
>> org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(
>> BpelEngineImpl.java:318)
>>         at
>> org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(
>> BpelServerImpl.java:364)
>>         at
>> org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(
>> SimpleScheduler.java:335)
>>         at
>> org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(
>> SimpleScheduler.java:334)
>>         at
>> org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(
>> SimpleScheduler.java:173)
>>         at
>> org.apache.ode.scheduler.simple.SimpleScheduler$4.call(
>> SimpleScheduler.java:333)
>>         at
>> org.apache.ode.scheduler.simple.SimpleScheduler$4.call(
>> SimpleScheduler.java:330)
>>         at
>> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
>>         at java.util.concurrent.FutureTask.run(FutureTask.java:123)
>>         at
>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
>> ThreadPoolExecutor.java:650)
>>         at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java
>> :675)
>>         at java.lang.Thread.run(Thread.java:595)
>> Caused by: org.apache.ode.bpel.common.FaultException: No results for
>> expression: {OXPath10Expression TaskMsg}
>>         at
>>
>> org.apache.ode.bpel.elang.xpath20.runtime.XPath20ExpressionRuntime.evaluateNode
>> (XPath20ExpressionRuntime.java
>> :139)
>>         at
>> org.apache.ode.bpel.runtime.ExpressionLanguageRuntimeRegistry.evaluateNode
>> (ExpressionLanguageRuntimeRegistry.
>> java:84)
>>         at
>> org.apache.ode.bpel.engine.BpelProcess.extractProperty(BpelProcess.java
>> :222)
>>         at
>> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKey(
>> PartnerLinkMyRoleImpl.java:309)
>>         ... 16 more
>> 10:40:53,781 DEBUG [BpelProcess] Unable to evaluate correlation keys,
>> invalid message format.
>> org.apache.ode.bpel.common.InvalidMessageException: Unable to evaluate
>> apply
>> property alias "OMessageVarType#7[payload][
>> {OXPath10Expression TaskMsg}]" to incoming message: No results for
>> expression: {OXPath10Expression TaskMsg}
>>         at
>> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKey(
>> PartnerLinkMyRoleImpl.java:313)
>>         at
>> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKeys(
>> PartnerLinkMyRoleImpl.java:278)
>>         at
>> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeMyRole(
>> PartnerLinkMyRoleImpl.java:126)
>>         at
>> org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:169)
>>         at
>> org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java
>> :306)
>>         at
>> org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(
>> BpelEngineImpl.java:318)
>>         at
>> org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(
>> BpelServerImpl.java:364)
>>         at
>> org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(
>> SimpleScheduler.java:335)
>>         at
>> org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(
>> SimpleScheduler.java:334)
>>         at
>> org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(
>> SimpleScheduler.java:173)
>>         at
>> org.apache.ode.scheduler.simple.SimpleScheduler$4.call(
>> SimpleScheduler.java:333)
>>         at
>> org.apache.ode.scheduler.simple.SimpleScheduler$4.call(
>> SimpleScheduler.java:330)
>>         at
>> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
>>         at java.util.concurrent.FutureTask.run(FutureTask.java:123)
>>         at
>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
>> ThreadPoolExecutor.java:650)
>>         at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java
>> :675)
>>         at java.lang.Thread.run(Thread.java:595)
>> Caused by: org.apache.ode.bpel.common.FaultException: No results for
>> expression: {OXPath10Expression TaskMsg}
>>         at
>>
>> org.apache.ode.bpel.elang.xpath20.runtime.XPath20ExpressionRuntime.evaluateNode
>> (XPath20ExpressionRuntime.java
>> :139)
>>         at
>> org.apache.ode.bpel.runtime.ExpressionLanguageRuntimeRegistry.evaluateNode
>> (ExpressionLanguageRuntimeRegistry.
>> java:84)
>>         at
>> org.apache.ode.bpel.engine.BpelProcess.extractProperty(BpelProcess.java
>> :222)
>>         at
>> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKey(
>> PartnerLinkMyRoleImpl.java:309)
>>
>> Cheers
>> Anup
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Correlation-%3A-Unable-to-evaluate-apply-property-alias-tf4506806.html#a12853261
>> Sent from the Apache Ode User mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/Correlation-%3A-Unable-to-evaluate-apply-property-alias-tf4506806.html#a12868915
Sent from the Apache Ode User mailing list archive at Nabble.com.


Re: Correlation : Unable to evaluate apply property alias

Posted by Matthieu Riou <ma...@offthelip.org>.
Hi Anup,

Looks like the namespace is missing in your query:

<prop:query>TaskMsg</prop:query>

It should be in the http://eclipse.org/bpel/sample namespace (probably
associated with the tns prefix but can't tell for sure from your snippet).

Matthieu

On 9/23/07, Anup Chandran <an...@3ds.com> wrote:
>
>
> Hi All,
>
> Not sure what is wrong with my definition. Can someone guide me?
>
> BPEL file snippet...
>
> <variables>
> <variable name="InvokingTaskOID" messageType="tns:CBPTaskMessage"/>
> ........
> </variables>
>
> <correlationSets>
>     <correlationSet name="CoordTaskOID" properties="tns:CoTaskOID" />
> </correlationSets>....
>
>
> <!-- Has the following invoke-->
>
> <invoke inputVariable="CreateECRPartnerLinkRequest"
> name="CreateCordinatorTask" operation="createBus"
> outputVariable="CreateECRPartnerLinkResponse"
> partnerLink="CreateECRPartnerLink" portType="ns:ECR">
>      <correlations>
>         <correlation set="CoordTaskOID" initiate="yes"
> pattern="response"/>
>       </correlations>
> </invoke>
>
> <!-- followed by some async receive-->
>
> <receive createInstance="no" name="receiveCoordTaskCompletion"
> operation="receiveCBPTaskMessage" partnerLink="CBPTaskPartnerLink"
> portType="tns:CBPTaskPortType" variable="InvokingTaskOID">
>       <correlations>
>         <correlation set="CoordTaskOID" initiate="no"/>
>       </correlations>
> </receive>
>
> The WSDL definition has :
>
>         <types>
>                 <schema attributeFormDefault="unqualified"
>                         elementFormDefault="qualified"
>                         targetNamespace="http://eclipse.org/bpel/sample"
>                         xmlns="http://www.w3.org/2001/XMLSchema">
>
>                         <element name="TaskInvocationMsg">
>                           <complexType>
>                           <sequence>
>                                 <element name="TaskMsg"
> type="string"></element>
>                           </sequence>
>                           </complexType>
>                         </element>
>
> .......
>
> </types>
>
>    <message name="CBPTaskMessage">
>         <part name="payload" element="tns:TaskInvocationMsg" />
>     </message>
>
>
>     <portType name="CBPTaskPortType">
>         <operation name="receiveCBPTaskMessage">
>             <input message="tns:CBPTaskMessage" name="TestIn"/>
>         </operation>
>     </portType>
>
>
>      <binding name="CBPTaskSoapBinding" type="tns:CBPTaskPortType">
>         <soap:binding style="document"
> transport="http://schemas.xmlsoap.org/soap/http"/>
>         <operation name="receiveCBPTaskMessage">
>             <soap:operation soapAction="" style="document"/>
>             <input>
>                 <soap:body
>                     namespace="http://sample.bpel.org/bpel/sample"
>                     use="literal"/>
>             </input>
>         </operation>
>     </binding>
>
>
>                 CORRELATION DEFINITION
>                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> -->
>         <!-- define correlation properties -->
>   <prop:property name="CoTaskOID" type="xsd:string"/>
>
>
>         <!-- define correlation property alias -->
>
>   <prop:propertyAlias propertyName="tns:CoTaskOID"
> messageType="tns:CBPTaskMessage">
>                       part="payload">
>      <prop:query>TaskMsg</prop:query>
>   </prop:propertyAlias>
>   <prop:propertyAlias propertyName="tns:CoTaskOID"
> messageType="ecr:createBusResponse"
>                       part="createBusReturn"/>
>
>
> The error at runtime when a response message is sent to the receive
> activity
> is:
>
>
>
> 10:40:53,731 DEBUG [ODEMessageReceiver] Received one-way message for
> CompleteCBPTask.{http://eclipse.org/bpel/sample}rec
> eiveCBPTaskMessage
> DEBUG - GeronimoLog.debug(66) | Starting transaction.
> 10:40:53,731 DEBUG [ODEService] Starting transaction.
> DEBUG - GeronimoLog.debug(66) | Routed: svcQname
> {http://eclipse.org/bpel/sample}CBPTaskService --> BpelProcess[{http://
> eclipse.org/bpel/sample}ECRProcess-22]
> 10:40:53,731 DEBUG [BpelEngineImpl] Routed: svcQname
> {http://eclipse.org/bpel/sample}CBPTaskService --> BpelProcess[{htt
> p://eclipse.org/bpel/sample}ECRProcess-22]
> DEBUG - GeronimoLog.trace(54) | Mex[hqejbhcnphr2m0s9oeu494].setPortOp(...)
> 10:40:53,741 DEBUG [MessageExchangeImpl]
> Mex[hqejbhcnphr2m0s9oeu494].setPortOp(...)
> DEBUG - GeronimoLog.debug(66) | ODE routed to operation Operation:
> name=receiveCBPTaskMessage
> style=ONE_WAY,0
> Input: name=TestIn
> Message: name={http://eclipse.org/bpel/sample}CBPTaskMessage
> Part: name=payload
> elementName={http://eclipse.org/bpel/sample}TaskInvocationMsg from service
> {http://eclipse.org/bpel/sample}CBPTaskServic
> e
> 10:40:53,741 DEBUG [ODEService] ODE routed to operation Operation:
> name=receiveCBPTaskMessage
> style=ONE_WAY,0
> Input: name=TestIn
> Message: name={http://eclipse.org/bpel/sample}CBPTaskMessage
> Part: name=payload
> elementName={http://eclipse.org/bpel/sample}TaskInvocationMsg from service
> {http://eclipse.org/bpel/sample}CBPTaskServic
> e
> DEBUG - GeronimoLog.debug(66) | Invoking ODE using MEX
> {MyRoleMex#hqejbhcnphr2m0s9oeu494 [Client hqejbhcnphr2m0s9oeu493]
> calling
> {http://eclipse.org/bpel/sample}CBPTaskService.receiveCBPTaskMessage(...)}
> 10:40:53,741 DEBUG [ODEService] Invoking ODE using MEX
> {MyRoleMex#hqejbhcnphr2m0s9oeu494 [Client hqejbhcnphr2m0s9oeu493]
> calling
> {http://eclipse.org/bpel/sample}CBPTaskService.receiveCBPTaskMessage(...)}
> DEBUG - GeronimoLog.debug(66) | Message content:  <?xml version="1.0"
> encoding="UTF-8"?>
> <message><payload><TaskInvocationMsg xmlns="http://eclipse.org/bpel/sample
> "
> xmlns:sam="http://eclipse.org/bpel/sample" x
> mlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
>          <TaskMsg>15863.19604.15624.44406</TaskMsg>
>       </TaskInvocationMsg></payload></message>
> 10:40:53,741 DEBUG [ODEService] Message content:  <?xml version="1.0"
> encoding="UTF-8"?>
> <message><payload><TaskInvocationMsg xmlns="http://eclipse.org/bpel/sample
> "
> xmlns:sam="http://eclipse.org/bpel/sample" x
> mlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
>          <TaskMsg>15863.19604.15624.44406</TaskMsg>
>       </TaskInvocationMsg></payload></message>
> DEBUG - GeronimoLog.debug(66) | Routed: svcQname
> {http://eclipse.org/bpel/sample}CBPTaskService --> BpelProcess[{http://
> eclipse.org/bpel/sample}ECRProcess-22]
> 10:40:53,741 DEBUG [BpelEngineImpl] Routed: svcQname
> {http://eclipse.org/bpel/sample}CBPTaskService --> BpelProcess[{htt
> p://eclipse.org/bpel/sample}ECRProcess-22]
> DEBUG - GeronimoLog.debug(66) | invoke() EPR= null ==>
> BpelProcess[{http://eclipse.org/bpel/sample}ECRProcess-22]
> 10:40:53,741 DEBUG [MyRoleMessageExchangeImpl] invoke() EPR= null ==>
> BpelProcess[{http://eclipse.org/bpel/sample}ECRPro
> cess-22]
> DEBUG - GeronimoLog.debug(66) | Commiting ODE MEX
> {MyRoleMex#hqejbhcnphr2m0s9oeu494 [Client hqejbhcnphr2m0s9oeu493] call
> ing
> {http://eclipse.org/bpel/sample}CBPTaskService.receiveCBPTaskMessage(...)}
> 10:40:53,751 DEBUG [ODEService] Commiting ODE MEX
> {MyRoleMex#hqejbhcnphr2m0s9oeu494 [Client hqejbhcnphr2m0s9oeu493] call
> ing
> {http://eclipse.org/bpel/sample}CBPTaskService.receiveCBPTaskMessage(...)}
> DEBUG - GeronimoLog.debug(66) | Commiting transaction.
> 10:40:53,751 DEBUG [ODEService] Commiting transaction.
> DEBUG - GeronimoLog.debug(66) | >>
> handleWorkEvent(jobData={type=INVOKE_INTERNAL,
> mexid=hqejbhcnphr2m0s9oeu494,
> pid={htt
> p://eclipse.org/bpel/sample}ECRProcess-22})
> 10:40:53,761 DEBUG [BpelProcess] >>
> handleWorkEvent(jobData={type=INVOKE_INTERNAL,
> mexid=hqejbhcnphr2m0s9oeu494,
> pid={ht
> tp://eclipse.org/bpel/sample}ECRProcess-22})
> DEBUG - GeronimoLog.debug(66) | InvokeInternal event for mexid
> hqejbhcnphr2m0s9oeu494
> 10:40:53,761 DEBUG [BpelProcess] InvokeInternal event for mexid
> hqejbhcnphr2m0s9oeu494
> DEBUG - GeronimoLog.trace(54) | >> {PartnerLinkRole-CBPTaskPartnerLink.meon
> {http://eclipse.org/bpel/sample}CBPTaskServ
>
> ice:CBPTaskPort}:inputMsgRcvd(messageExchange={MyRoleMex#hqejbhcnphr2m0s9oeu494
> [Client hqejbhcnphr2m0s9oeu493] calling
> {http://eclipse.org/bpel/sample}CBPTaskService.receiveCBPTaskMessage(...)}
> )
> 10:40:53,771 DEBUG [BpelProcess] >> {PartnerLinkRole-CBPTaskPartnerLink.me
> on {http://eclipse.org/bpel/sample}CBPTaskSer
>
> vice:CBPTaskPort}:inputMsgRcvd(messageExchange={MyRoleMex#hqejbhcnphr2m0s9oeu494
> [Client hqejbhcnphr2m0s9oeu493] calling
> {http://eclipse.org/bpel/sample}CBPTaskService.receiveCBPTaskMessage(...)}
> )
> DEBUG - GeronimoLog.trace(54) | Mex[hqejbhcnphr2m0s9oeu494].setPortOp(...)
> 10:40:53,771 DEBUG [MessageExchangeImpl]
> Mex[hqejbhcnphr2m0s9oeu494].setPortOp(...)
> DEBUG - GeronimoLog.trace(54) |
> Mex[hqejbhcnphr2m0s9oeu494].setPattern(REQUEST_ONLY)
> 10:40:53,771 DEBUG [MessageExchangeImpl]
> Mex[hqejbhcnphr2m0s9oeu494].setPattern(REQUEST_ONLY)
> ERROR - GeronimoLog.error(108) | Unable to evaluate apply property alias
> "OMessageVarType#7[payload][{OXPath10Expression TaskMsg}]" to incoming
> message: No results for expression: {OXPath10Expression TaskMsg}
> org.apache.ode.bpel.common.FaultException: No results for expression:
> {OXPath10Expression TaskMsg}
>         at
>
> org.apache.ode.bpel.elang.xpath20.runtime.XPath20ExpressionRuntime.evaluateNode
> (XPath20ExpressionRuntime.java
> :139)
>         at
> org.apache.ode.bpel.runtime.ExpressionLanguageRuntimeRegistry.evaluateNode
> (ExpressionLanguageRuntimeRegistry.
> java:84)
>         at
> org.apache.ode.bpel.engine.BpelProcess.extractProperty(BpelProcess.java
> :222)
>         at
> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKey(
> PartnerLinkMyRoleImpl.java:309)
>         at
> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKeys(
> PartnerLinkMyRoleImpl.java:278)
>         at
> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeMyRole(
> PartnerLinkMyRoleImpl.java:126)
>         at
> org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:169)
>         at
> org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java
> :306)
>         at
> org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(
> BpelEngineImpl.java:318)
>         at
> org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(
> BpelServerImpl.java:364)
>         at
> org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(
> SimpleScheduler.java:335)
>         at
> org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(
> SimpleScheduler.java:334)
>         at
> org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(
> SimpleScheduler.java:173)
>         at
> org.apache.ode.scheduler.simple.SimpleScheduler$4.call(
> SimpleScheduler.java:333)
>         at
> org.apache.ode.scheduler.simple.SimpleScheduler$4.call(
> SimpleScheduler.java:330)
>         at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:123)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
> ThreadPoolExecutor.java:650)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java
> :675)
>         at java.lang.Thread.run(Thread.java:595)
> 10:40:53,781 ERROR [BpelProcess] Unable to evaluate apply property alias
> "OMessageVarType#7[payload][{OXPath10Expression
> TaskMsg}]" to incoming message: No results for expression:
> {OXPath10Expression TaskMsg}
> org.apache.ode.bpel.common.FaultException: No results for expression:
> {OXPath10Expression TaskMsg}
>         at
>
> org.apache.ode.bpel.elang.xpath20.runtime.XPath20ExpressionRuntime.evaluateNode
> (XPath20ExpressionRuntime.java
> :139)
>         at
> org.apache.ode.bpel.runtime.ExpressionLanguageRuntimeRegistry.evaluateNode
> (ExpressionLanguageRuntimeRegistry.
> java:84)
>         at
> org.apache.ode.bpel.engine.BpelProcess.extractProperty(BpelProcess.java
> :222)
>         at
> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKey(
> PartnerLinkMyRoleImpl.java:309)
>         at
> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKeys(
> PartnerLinkMyRoleImpl.java:278)
>         at
> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeMyRole(
> PartnerLinkMyRoleImpl.java:126)
>         at
> org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:169)
>         at
> org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java
> :306)
>         at
> org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(
> BpelEngineImpl.java:318)
>         at
> org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(
> BpelServerImpl.java:364)
>         at
> org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(
> SimpleScheduler.java:335)
>         at
> org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(
> SimpleScheduler.java:334)
>         at
> org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(
> SimpleScheduler.java:173)
>         at
> org.apache.ode.scheduler.simple.SimpleScheduler$4.call(
> SimpleScheduler.java:333)
>         at
> org.apache.ode.scheduler.simple.SimpleScheduler$4.call(
> SimpleScheduler.java:330)
>         at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:123)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
> ThreadPoolExecutor.java:650)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java
> :675)
>         at java.lang.Thread.run(Thread.java:595)
> DEBUG - GeronimoLog.debug(70) | Unable to evaluate correlation keys,
> invalid
> message format.
> org.apache.ode.bpel.common.InvalidMessageException: Unable to evaluate
> apply
> property alias "OMessageVarType#7[payload][
> {OXPath10Expression TaskMsg}]" to incoming message: No results for
> expression: {OXPath10Expression TaskMsg}
>         at
> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKey(
> PartnerLinkMyRoleImpl.java:313)
>         at
> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKeys(
> PartnerLinkMyRoleImpl.java:278)
>         at
> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeMyRole(
> PartnerLinkMyRoleImpl.java:126)
>         at
> org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:169)
>         at
> org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java
> :306)
>         at
> org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(
> BpelEngineImpl.java:318)
>         at
> org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(
> BpelServerImpl.java:364)
>         at
> org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(
> SimpleScheduler.java:335)
>         at
> org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(
> SimpleScheduler.java:334)
>         at
> org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(
> SimpleScheduler.java:173)
>         at
> org.apache.ode.scheduler.simple.SimpleScheduler$4.call(
> SimpleScheduler.java:333)
>         at
> org.apache.ode.scheduler.simple.SimpleScheduler$4.call(
> SimpleScheduler.java:330)
>         at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:123)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
> ThreadPoolExecutor.java:650)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java
> :675)
>         at java.lang.Thread.run(Thread.java:595)
> Caused by: org.apache.ode.bpel.common.FaultException: No results for
> expression: {OXPath10Expression TaskMsg}
>         at
>
> org.apache.ode.bpel.elang.xpath20.runtime.XPath20ExpressionRuntime.evaluateNode
> (XPath20ExpressionRuntime.java
> :139)
>         at
> org.apache.ode.bpel.runtime.ExpressionLanguageRuntimeRegistry.evaluateNode
> (ExpressionLanguageRuntimeRegistry.
> java:84)
>         at
> org.apache.ode.bpel.engine.BpelProcess.extractProperty(BpelProcess.java
> :222)
>         at
> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKey(
> PartnerLinkMyRoleImpl.java:309)
>         ... 16 more
> 10:40:53,781 DEBUG [BpelProcess] Unable to evaluate correlation keys,
> invalid message format.
> org.apache.ode.bpel.common.InvalidMessageException: Unable to evaluate
> apply
> property alias "OMessageVarType#7[payload][
> {OXPath10Expression TaskMsg}]" to incoming message: No results for
> expression: {OXPath10Expression TaskMsg}
>         at
> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKey(
> PartnerLinkMyRoleImpl.java:313)
>         at
> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKeys(
> PartnerLinkMyRoleImpl.java:278)
>         at
> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeMyRole(
> PartnerLinkMyRoleImpl.java:126)
>         at
> org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:169)
>         at
> org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java
> :306)
>         at
> org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(
> BpelEngineImpl.java:318)
>         at
> org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(
> BpelServerImpl.java:364)
>         at
> org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(
> SimpleScheduler.java:335)
>         at
> org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(
> SimpleScheduler.java:334)
>         at
> org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(
> SimpleScheduler.java:173)
>         at
> org.apache.ode.scheduler.simple.SimpleScheduler$4.call(
> SimpleScheduler.java:333)
>         at
> org.apache.ode.scheduler.simple.SimpleScheduler$4.call(
> SimpleScheduler.java:330)
>         at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:123)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
> ThreadPoolExecutor.java:650)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java
> :675)
>         at java.lang.Thread.run(Thread.java:595)
> Caused by: org.apache.ode.bpel.common.FaultException: No results for
> expression: {OXPath10Expression TaskMsg}
>         at
>
> org.apache.ode.bpel.elang.xpath20.runtime.XPath20ExpressionRuntime.evaluateNode
> (XPath20ExpressionRuntime.java
> :139)
>         at
> org.apache.ode.bpel.runtime.ExpressionLanguageRuntimeRegistry.evaluateNode
> (ExpressionLanguageRuntimeRegistry.
> java:84)
>         at
> org.apache.ode.bpel.engine.BpelProcess.extractProperty(BpelProcess.java
> :222)
>         at
> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKey(
> PartnerLinkMyRoleImpl.java:309)
>
> Cheers
> Anup
>
> --
> View this message in context:
> http://www.nabble.com/Correlation-%3A-Unable-to-evaluate-apply-property-alias-tf4506806.html#a12853261
> Sent from the Apache Ode User mailing list archive at Nabble.com.
>
>