You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ode.apache.org by Stefano Tranquillini <st...@gmail.com> on 2009/10/22 17:21:42 UTC

Correlation using complex type under ode

Hi all
i've developed a bpel using netbeans. since now i used the
netbeans&glassfish stuff to deploy the bpel and manage it. the bpel contains
correlation done by the netbeans's wizard. all these stuff works fine in
glassfish&co.

but, i want deploy the bpel using ode, so i create the deploy.xml and i
deploy the project (this part works). i created the stub and i tried to
invoke the bpel service, here i found a problem.

this is the debug messages:


DEBUG - GeronimoLog.debug(66) | SET MEX property isTwoWay = false
DEBUG - GeronimoLog.debug(66) | Invoking ODE using MEX
{MyRoleMex#hqejbhcnphr4ovklgf65ne [Client hqejbhcnphr4ovklgf65nd] calling {
http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService.Start(...)<http://j2ee.netbeans.org/wsdl/BPELService%7DBPELServiceService.Start%28...%29>
}
DEBUG - GeronimoLog.debug(66) | Message content:  <?xml version="1.0"
encoding="UTF-8"?>
<message><part1><init xmlns="http://xml.netbeans.org/schema/Data"
xmlns:ns1="http://xml.netbeans.org/schema/Data" xmlns:soapenv="
http://www.w3.org/2003/05/soap-envelope"><id
xmlns="">5F0EE07A30962904EA0993DF6627C018</id></init></part1></message>
DEBUG - GeronimoLog.debug(66) | invoke() EPR= null ==> BpelProcess[{
http://enterprise.netbeans.org/bpel/BPEL/LocatorMap}LocatorMap-36<http://enterprise.netbeans.org/bpel/BPEL/LocatorMap%7DLocatorMap-36>
]
DEBUG - GeronimoLog.debug(66) | Commiting ODE MEX
{MyRoleMex#hqejbhcnphr4ovklgf65ne [Client hqejbhcnphr4ovklgf65nd] calling {
http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService.Start(...)<http://j2ee.netbeans.org/wsdl/BPELService%7DBPELServiceService.Start%28...%29>
}
DEBUG - GeronimoLog.debug(66) | Commiting transaction.
DEBUG - GeronimoLog.debug(66) | Releasing mex hqejbhcnphr4ovklgf65ne
DEBUG - GeronimoLog.debug(66) | handleWorkEvent: InvokeInternal event for
mexid hqejbhcnphr4ovklgf65ne
DEBUG - GeronimoLog.debug(66) | >>
handleWorkEvent(jobData={mexid=hqejbhcnphr4ovklgf65ne, pid={
http://enterprise.netbeans.org/bpel/BPEL/LocatorMap}LocatorMap-36<http://enterprise.netbeans.org/bpel/BPEL/LocatorMap%7DLocatorMap-36>,
type=INVOKE_INTERNAL})
DEBUG - GeronimoLog.debug(66) | InvokeInternal event for mexid
hqejbhcnphr4ovklgf65ne
DEBUG - GeronimoLog.debug(66) | GET MEX property
org.apache.ode.bpel.myRoleSessionId = null
DEBUG - GeronimoLog.debug(66) | GET MEX property
org.apache.ode.bpel.myRoleSessionId = null
DEBUG - GeronimoLog.debug(66) | GET MEX property
org.apache.ode.bpel.partnerRoleSessionId = null
DEBUG - GeronimoLog.debug(66) | INPUTMSG: PartnerLink1.Start: MSG RCVD
keys=[] mySessionId=null partnerSessionId=null
DEBUG - GeronimoLog.debug(66) | INPUTMSG: PartnerLink1.Start: routing
failed, CREATING NEW INSTANCE
DEBUG - GeronimoLog.debug(66) | BpelRuntimeContextImpl created for instance
3003. INDEXED STATE={}
DEBUG - GeronimoLog.debug(66) | SELECT: PickResponseChannel#9: USING
CORRELATOR PartnerLink1.Start
DEBUG - GeronimoLog.debug(66) | SELECT: PickResponseChannel#9: CHECKING for
NEW INSTANCE match
DEBUG - GeronimoLog.debug(66) | INPUTMSGMATCH: Changing process instance
state from ready to active
DEBUG - GeronimoLog.debug(66) | SELECT: PickResponseChannel#9: FOUND match
for NEW instance mexRef={MyRoleMex#hqejbhcnphr4ovklgf65ne [Client
hqejbhcnphr4ovklgf65nd] calling {
http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService.Start(...)<http://j2ee.netbeans.org/wsdl/BPELService%7DBPELServiceService.Start%28...%29>
}
DEBUG - GeronimoLog.debug(66) | Couldn't extract property '{OProperty {
http://enterprise.netbeans.org/bpel/WizardCorrelationProperties}wzrd_prop_id_id<http://enterprise.netbeans.org/bpel/WizardCorrelationProperties%7Dwzrd_prop_id_id>}'
in property pre-extraction: org.apache.ode.bpel.common.FaultException: No
results for expression: {OXPath10Expression /ns0:init/id}
ERROR - GeronimoLog.error(104) | org.apache.ode.bpel.common.FaultException:
No results for expression: {OXPath10Expression /ns0:init/id}
DEBUG - GeronimoLog.debug(66) | ProcessImpl completed with fault '{
http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure<http://docs.oasis-open.org/wsbpel/2.0/process/executable%7DselectionFailure>
'
DEBUG - GeronimoLog.debug(66) | Processing an async reply from service {
http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService<http://j2ee.netbeans.org/wsdl/BPELService%7DBPELServiceService>
DEBUG - GeronimoLog.debug(66) | Releasing mex hqejbhcnphr4ovklgf65ne
DEBUG - GeronimoLog.debug(66) | Received myrole mex response callback
DEBUG - GeronimoLog.debug(66) | Received myrole mex response callback


in particular this part:
DEBUG - GeronimoLog.debug(66) | Couldn't extract property '{OProperty {
http://enterprise.netbeans.org/bpel/WizardCorrelationProperties}wzrd_prop_id_id<http://enterprise.netbeans.org/bpel/WizardCorrelationProperties%7Dwzrd_prop_id_id>}'
in property pre-extraction: org.apache.ode.bpel.common.FaultException: No
results for expression: {OXPath10Expression /ns0:init/id}

this is the message:
Message content:
<?xml version="1.0" encoding="UTF-8"?>
<message>
<part1>
<init xmlns="http://xml.netbeans.org/schema/Data" xmlns:ns1="
http://xml.netbeans.org/schema/Data" xmlns:soapenv="
http://www.w3.org/2003/05/soap-envelope">
<id xmlns="">5F0EE07A30962904EA0993DF6627C018</id>
</init>
</part1>
</message>


the problem is over the correlation, is sounds like the ode doesn't
undestand the correlation syntax, he dosen't find the id into my message.

this is the deploy.xml

<deploy xmlns="http://www.apache.org/ode/schemas/dd/2007/03"
    xmlns:pns="http://enterprise.netbeans.org/bpel/BPEL/LocatorMap"
        xmlns:wns="http://j2ee.netbeans.org/wsdl/BPELService">
    <process name="pns:LocatorMap">
        <active>true</active>
        <provide partnerLink="PartnerLink1">
            <service name="wns:BPELServiceService" port="BPELServicePort"/>
        </provide>
    </process>
</deploy>

and this is the correlations part

<?xml version="1.0" encoding="UTF-8"?>

<definitions
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
name="WizardCorrelationProperties.wsdl" targetNamespace="
http://enterprise.netbeans.org/bpel/WizardCorrelationProperties"
xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop" xmlns:ns="
http://j2ee.netbeans.org/wsdl/BPELService" xmlns:ns0="
http://xml.netbeans.org/schema/Data" xmlns:tns="
http://enterprise.netbeans.org/bpel/WizardCorrelationProperties">
    <import namespace="http://j2ee.netbeans.org/wsdl/BPELService"
location="BPELService.wsdl"/>
    <types>
        <xsd:schema targetNamespace="
http://enterprise.netbeans.org/bpel/WizardCorrelationProperties">
            <xsd:import namespace="http://xml.netbeans.org/schema/Data"
schemaLocation="Data.xsd"/>
        </xsd:schema>
    </types>
    <vprop:property name="wzrd_prop_id_id" type="xsd:string"/>
    <vprop:propertyAlias propertyName="tns:wzrd_prop_id_id"
messageType="ns:InitMessage" part="part1">
        <vprop:query>/ns0:init/id</vprop:query>
    </vprop:propertyAlias>
    <vprop:propertyAlias propertyName="tns:wzrd_prop_id_id"
messageType="ns:QueryMessageIn" part="part1">
        <vprop:query>/ns0:queryIn/id</vprop:query>
    </vprop:propertyAlias>
    <vprop:propertyAlias propertyName="tns:wzrd_prop_id_id"
messageType="ns:StopMessage" part="part1">
        <vprop:query>/ns0:end/id</vprop:query>
    </vprop:propertyAlias>
</definitions>

the BPELService (that contains the initMessage definition)

<?xml version="1.0" encoding="UTF-8"?>
<definitions name="BPELService" targetNamespace="
http://j2ee.netbeans.org/wsdl/BPELService"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="
http://j2ee.netbeans.org/wsdl/BPELService" xmlns:ns="
http://xml.netbeans.org/schema/Data" xmlns:plnk="
http://docs.oasis-open.org/wsbpel/2.0/plnktype" xmlns:soap="
http://schemas.xmlsoap.org/wsdl/soap/">
    <types>
        <xsd:schema targetNamespace="
http://j2ee.netbeans.org/wsdl/BPELService">
            <xsd:import namespace="http://xml.netbeans.org/schema/Data"
schemaLocation="Data.xsd"/>
        </xsd:schema>
    </types>
    <message name="InitMessage">
        <part name="part1" element="ns:init"/>
    </message>
    <message name="QueryMessageIn">
        <part name="part1" element="ns:queryIn"/>
    </message>
    <message name="StopMessage">
        <part name="part1" element="ns:end"/>
    </message>
    <message name="Out">
        <part name="part1" element="ns:result"/>
    </message>
    <portType name="BPELServicePortType">
        <operation name="Query">
            <input name="input2" message="tns:QueryMessageIn"/>
        </operation>
        <operation name="Stop">
            <input name="input3" message="tns:StopMessage"/>
        </operation>
        <operation name="Start">
            <input name="input1" message="tns:InitMessage"/>

        </operation>
    </portType>
    <binding name="BPELServiceBinding" type="tns:BPELServicePortType">
        <soap:binding style="document" transport="
http://schemas.xmlsoap.org/soap/http"/>
        <operation name="Query">
            <soap:operation/>
            <input name="input2">
                <soap:body use="literal"/>
            </input>
        </operation>
        <operation name="Stop">
            <soap:operation/>
            <input name="input3">
                <soap:body use="literal"/>
            </input>
        </operation>
        <operation name="Start">
            <soap:operation/>
            <input name="input1">
                <soap:body use="literal"/>
            </input>

        </operation>
    </binding>
    <service name="BPELServiceService">
        <port name="BPELServicePort" binding="tns:BPELServiceBinding">
            <soap:address location="http://localhost:
${HttpDefaultPort}/BPELServiceService/BPELServicePort"/>
        </port>
    </service>
    <plnk:partnerLinkType name="BPELService">
        <!-- A partner link type is automatically generated when a new port
type is added. Partner link types are used by BPEL processes.
In a BPEL process, a partner link represents the interaction between the
BPEL process and a partner service. Each partner link is associated with a
partner link type.
A partner link type characterizes the conversational relationship between
two services. The partner link type can have one or two roles.-->
        <plnk:role name="BPELServicePortTypeRole"
portType="tns:BPELServicePortType"/>
    </plnk:partnerLinkType>
</definitions>


this is the data.xsd (contains the init message)

<?xml version="1.0" encoding="UTF-8"?>

<xsd:schema
    xmlns="http://www.w3.org/2001/XMLSchema"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://xml.netbeans.org/schema/Data" xmlns:ns="
http://xml.netbeans.org/schema/Data"
    >
    <element name="init">
        <complexType>
            <sequence>
                <element name="id" type="xsd:string"/>
            </sequence>
        </complexType>
    </element>
    <element name="end">
        <complexType>
            <sequence>
                <element name="id" type="xsd:string"/>
            </sequence>
        </complexType>
    </element>

    <element name="queryIn">
        <complexType>
            <sequence>
                <element name="query" type="xsd:string"/>
                <element name="location" type="xsd:string"/>
                <element name="id" type="xsd:string"/>
            </sequence>
        </complexType>
    </element>
    <element name="result">
        <complexType>
            <sequence>
                <element name="value" type="xsd:string"/>
                <element name="id" type="xsd:string"/>

            </sequence>
        </complexType>
    </element>


</xsd:schema>


if someone wants to see all the files (the bpel and so on) i'd putted all
online here: http://bako.interfree.it/BPELCorrelationProblem.zip in this
file there's also present the service for axis2 that will makes all the bpel
works.

i'm getting crazy
thanks all.


-- 
Stefano

Re: Correlation using complex type under ode

Posted by Rafal Rusin <ra...@gmail.com>.
2009/10/23 Stefano Tranquillini <st...@gmail.com>:
>> You can check out management console and see instances. This
>> selectionFailure is runtime exception for your process.
>>
>
>
> sorry but i'm not so expert, what's this management console?

Management console is available in WAR distro after deployment. You
can connect to it using web browser and ODE URL. Usually
http://localhost:8080/ode
It's used for monitoring BPEL instances and deployed processes.

-- 
Rafał Rusin
http://www.touk.pl
http://top.touk.pl
http://people.apache.org/~rr/

Re: Correlation using complex type under ode

Posted by Stefano Tranquillini <st...@gmail.com>.
> You can check out management console and see instances. This
> selectionFailure is runtime exception for your process.
>


sorry but i'm not so expert, what's this management console?


> --
> Rafał Rusin
> http://www.touk.pl
> http://top.touk.pl
> http://people.apache.org/~rr/ <http://people.apache.org/%7Err/>
>



-- 
Stefano

Re: Correlation using complex type under ode

Posted by Rafal Rusin <ra...@gmail.com>.
2009/10/23 Stefano Tranquillini <st...@gmail.com>:
> maybe i forgot some import in the deploy.xml,possibly?

You can check out management console and see instances. This
selectionFailure is runtime exception for your process.

-- 
Rafał Rusin
http://www.touk.pl
http://top.touk.pl
http://people.apache.org/~rr/

Re: Correlation using complex type under ode

Posted by Stefano Tranquillini <st...@gmail.com>.
Thanks, this things are very usefull, i solve the first fault but now, i get
another one (dammit)

this is the new fault:

 <ns:fault-info>
                  <ns:name xmlns:exec="
http://docs.oasis-open.org/wsbpel/2.0/process/executable
">exec:selectionFailure</ns:name>
                  <ns:explanation>No results for expression:
{OXPath10Expression $GetLocationIn.parameters/ns0:query}</ns:explanation>
                  <ns:line-number>73</ns:line-number>
                  <ns:aiid>74</ns:aiid>
               </ns:fault-info>

this is the piece of code:

  <copy>
                                <from>$QueryIn1.part1/query</from>
                                <to>$GetLocationIn.parameters/ns0:query</to>
                            </copy>

i think the ode has a different interpretation (Xpath?) respect the netbeans
editor, it's possible?

how can i fix it?

the complete package of the bpel is here:
http://bako.interfree.it/Ex2.zipif fix the first fault and change some
things in deploy.xml

On Fri, Oct 23, 2009 at 14:44, Stefano Tranquillini <
stefano.tranquillini@gmail.com> wrote:

> thanks, i'll try your hint.
> anyway, i think i forgot the invoke things in the deploy.xml
>
>
> On Fri, Oct 23, 2009 at 13:00, Rafal Rusin <ra...@gmail.com> wrote:
>
>> 2009/10/23 Stefano Tranquillini <st...@gmail.com>:
>> > Thanks,
>> > i can access to http://localhost:8080/ode/
>> >
>> > but i can only:
>> > see a chart that show how many istance have on the server and if is
>> start
>> > terminate failed and so on
>> > see the current deployed project
>> > see the current istance and status
>> > deploy new service
>> >
>> > nothing that are useful.
>> > in the istance i had the status like: FAILED,but no more words, so i
>> can't
>> > undestand what's the problem.
>> >
>> > i was thinking before, i'd to specify in the deploy.xm the other wsdl
>> that
>> > are involved in the bpel?
>> >
>> > someone can check if my deploy.xml is right?
>> > or maybe the problem is the other wsdl (the service involved in the
>> BPEL).
>> >
>> > thanks all.
>>
>> Hmm, we should add fault info into console.
>> By now, you can invoke listAllInstances request on pmapi.
>> This should show fault explanation like this:
>>
>> <soapenv:Envelope xmlns:soapenv="
>> http://schemas.xmlsoap.org/soap/envelope/">
>>   <soapenv:Body>
>>      <axis2ns15:listAllInstancesResponse
>> xmlns:axis2ns15="http://www.apache.org/ode/pmapi">
>>         <instance-info-list>
>>            <ns:instance-info
>> xmlns:ns="http://www.apache.org/ode/pmapi/types/2006/08/02/">
>>               <ns:iid>718</ns:iid>
>>               <ns:pid>{
>> http://enterprise.netbeans.org/bpel/BPEL/LocatorMap}LocatorMap-10<http://enterprise.netbeans.org/bpel/BPEL/LocatorMap%7DLocatorMap-10>
>> </ns:pid>
>>               <ns:process-name
>> xmlns:loc="http://enterprise.netbeans.org/bpel/BPEL/LocatorMap
>> ">loc:LocatorMap</ns:process-name>
>>               <ns:status>FAILED</ns:status>
>>               <ns:dt-started>2009-10-22T22:50:33.858+02:00</ns:dt-started>
>>
>> <ns:dt-last-active>2009-10-22T22:50:33.914+02:00</ns:dt-last-active>
>>               <ns:correlation-properties>
>>                  <ns:correlation-property
>> propertyName="wiz:wzrd_prop_id_id"
>> xmlns:wiz="
>> http://enterprise.netbeans.org/bpel/WizardCorrelationProperties
>> ">1234567</ns:correlation-property>
>>               </ns:correlation-properties>
>>               <ns:correlation-properties>
>>                  <ns:correlation-property
>> propertyName="wiz:wzrd_prop_id_id"
>> xmlns:wiz="
>> http://enterprise.netbeans.org/bpel/WizardCorrelationProperties
>> ">1234567</ns:correlation-property>
>>               </ns:correlation-properties>
>>               <ns:fault-info>
>>                  <ns:name
>> xmlns:exec="http://docs.oasis-open.org/wsbpel/2.0/process/executable
>> ">exec:selectionFailure</ns:name>
>>                  <ns:explanation>An exception occured while
>> evaluating "{OXPath10Expression
>> saxon:parse(xsd:string($Start.part1/ns4:ble/text()))}": No Such
>> Function parse</ns:explanation>
>>                  <ns:line-number>49</ns:line-number>
>>                  <ns:aiid>62</ns:aiid>
>>               </ns:fault-info>
>>            </ns:instance-info>
>>         </instance-info-list>
>>      </axis2ns15:listAllInstancesResponse>
>>   </soapenv:Body>
>>
>>
>> I'm attaching required files (actually soapui project can be easily
>> generated).
>>
>> Regards,
>> --
>> Rafał Rusin
>> http://www.touk.pl
>> http://top.touk.pl
>> http://people.apache.org/~rr/ <http://people.apache.org/%7Err/>
>>
>
>
>
> --
> Stefano
>



-- 
Stefano

Re: Correlation using complex type under ode

Posted by Stefano Tranquillini <st...@gmail.com>.
thanks, i'll try your hint.
anyway, i think i forgot the invoke things in the deploy.xml

On Fri, Oct 23, 2009 at 13:00, Rafal Rusin <ra...@gmail.com> wrote:

> 2009/10/23 Stefano Tranquillini <st...@gmail.com>:
> > Thanks,
> > i can access to http://localhost:8080/ode/
> >
> > but i can only:
> > see a chart that show how many istance have on the server and if is start
> > terminate failed and so on
> > see the current deployed project
> > see the current istance and status
> > deploy new service
> >
> > nothing that are useful.
> > in the istance i had the status like: FAILED,but no more words, so i
> can't
> > undestand what's the problem.
> >
> > i was thinking before, i'd to specify in the deploy.xm the other wsdl
> that
> > are involved in the bpel?
> >
> > someone can check if my deploy.xml is right?
> > or maybe the problem is the other wsdl (the service involved in the
> BPEL).
> >
> > thanks all.
>
> Hmm, we should add fault info into console.
> By now, you can invoke listAllInstances request on pmapi.
> This should show fault explanation like this:
>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
> ">
>   <soapenv:Body>
>      <axis2ns15:listAllInstancesResponse
> xmlns:axis2ns15="http://www.apache.org/ode/pmapi">
>         <instance-info-list>
>            <ns:instance-info
> xmlns:ns="http://www.apache.org/ode/pmapi/types/2006/08/02/">
>               <ns:iid>718</ns:iid>
>               <ns:pid>{
> http://enterprise.netbeans.org/bpel/BPEL/LocatorMap}LocatorMap-10<http://enterprise.netbeans.org/bpel/BPEL/LocatorMap%7DLocatorMap-10>
> </ns:pid>
>               <ns:process-name
> xmlns:loc="http://enterprise.netbeans.org/bpel/BPEL/LocatorMap
> ">loc:LocatorMap</ns:process-name>
>               <ns:status>FAILED</ns:status>
>               <ns:dt-started>2009-10-22T22:50:33.858+02:00</ns:dt-started>
>
> <ns:dt-last-active>2009-10-22T22:50:33.914+02:00</ns:dt-last-active>
>               <ns:correlation-properties>
>                  <ns:correlation-property
> propertyName="wiz:wzrd_prop_id_id"
> xmlns:wiz="http://enterprise.netbeans.org/bpel/WizardCorrelationProperties
> ">1234567</ns:correlation-property>
>               </ns:correlation-properties>
>               <ns:correlation-properties>
>                  <ns:correlation-property
> propertyName="wiz:wzrd_prop_id_id"
> xmlns:wiz="http://enterprise.netbeans.org/bpel/WizardCorrelationProperties
> ">1234567</ns:correlation-property>
>               </ns:correlation-properties>
>               <ns:fault-info>
>                  <ns:name
> xmlns:exec="http://docs.oasis-open.org/wsbpel/2.0/process/executable
> ">exec:selectionFailure</ns:name>
>                  <ns:explanation>An exception occured while
> evaluating "{OXPath10Expression
> saxon:parse(xsd:string($Start.part1/ns4:ble/text()))}": No Such
> Function parse</ns:explanation>
>                  <ns:line-number>49</ns:line-number>
>                  <ns:aiid>62</ns:aiid>
>               </ns:fault-info>
>            </ns:instance-info>
>         </instance-info-list>
>      </axis2ns15:listAllInstancesResponse>
>   </soapenv:Body>
>
>
> I'm attaching required files (actually soapui project can be easily
> generated).
>
> Regards,
> --
> Rafał Rusin
> http://www.touk.pl
> http://top.touk.pl
> http://people.apache.org/~rr/ <http://people.apache.org/%7Err/>
>



-- 
Stefano

Re: Correlation using complex type under ode

Posted by Rafal Rusin <ra...@gmail.com>.
2009/10/23 Stefano Tranquillini <st...@gmail.com>:
> Thanks,
> i can access to http://localhost:8080/ode/
>
> but i can only:
> see a chart that show how many istance have on the server and if is start
> terminate failed and so on
> see the current deployed project
> see the current istance and status
> deploy new service
>
> nothing that are useful.
> in the istance i had the status like: FAILED,but no more words, so i can't
> undestand what's the problem.
>
> i was thinking before, i'd to specify in the deploy.xm the other wsdl that
> are involved in the bpel?
>
> someone can check if my deploy.xml is right?
> or maybe the problem is the other wsdl (the service involved in the BPEL).
>
> thanks all.

Hmm, we should add fault info into console.
By now, you can invoke listAllInstances request on pmapi.
This should show fault explanation like this:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Body>
      <axis2ns15:listAllInstancesResponse
xmlns:axis2ns15="http://www.apache.org/ode/pmapi">
         <instance-info-list>
            <ns:instance-info
xmlns:ns="http://www.apache.org/ode/pmapi/types/2006/08/02/">
               <ns:iid>718</ns:iid>
               <ns:pid>{http://enterprise.netbeans.org/bpel/BPEL/LocatorMap}LocatorMap-10</ns:pid>
               <ns:process-name
xmlns:loc="http://enterprise.netbeans.org/bpel/BPEL/LocatorMap">loc:LocatorMap</ns:process-name>
               <ns:status>FAILED</ns:status>
               <ns:dt-started>2009-10-22T22:50:33.858+02:00</ns:dt-started>
               <ns:dt-last-active>2009-10-22T22:50:33.914+02:00</ns:dt-last-active>
               <ns:correlation-properties>
                  <ns:correlation-property
propertyName="wiz:wzrd_prop_id_id"
xmlns:wiz="http://enterprise.netbeans.org/bpel/WizardCorrelationProperties">1234567</ns:correlation-property>
               </ns:correlation-properties>
               <ns:correlation-properties>
                  <ns:correlation-property
propertyName="wiz:wzrd_prop_id_id"
xmlns:wiz="http://enterprise.netbeans.org/bpel/WizardCorrelationProperties">1234567</ns:correlation-property>
               </ns:correlation-properties>
               <ns:fault-info>
                  <ns:name
xmlns:exec="http://docs.oasis-open.org/wsbpel/2.0/process/executable">exec:selectionFailure</ns:name>
                  <ns:explanation>An exception occured while
evaluating "{OXPath10Expression
saxon:parse(xsd:string($Start.part1/ns4:ble/text()))}": No Such
Function parse</ns:explanation>
                  <ns:line-number>49</ns:line-number>
                  <ns:aiid>62</ns:aiid>
               </ns:fault-info>
            </ns:instance-info>
         </instance-info-list>
      </axis2ns15:listAllInstancesResponse>
   </soapenv:Body>


I'm attaching required files (actually soapui project can be easily generated).

Regards,
-- 
Rafał Rusin
http://www.touk.pl
http://top.touk.pl
http://people.apache.org/~rr/

Re: Correlation using complex type under ode

Posted by Stefano Tranquillini <st...@gmail.com>.
Thanks,
i can access to http://localhost:8080/ode/

but i can only:
see a chart that show how many istance have on the server and if is start
terminate failed and so on
see the current deployed project
see the current istance and status
deploy new service

nothing that are useful.
in the istance i had the status like: FAILED,but no more words, so i can't
undestand what's the problem.

i was thinking before, i'd to specify in the deploy.xm the other wsdl that
are involved in the bpel?

someone can check if my deploy.xml is right?
or maybe the problem is the other wsdl (the service involved in the BPEL).

thanks all.

On Fri, Oct 23, 2009 at 11:13, Rafal Rusin <ra...@gmail.com> wrote:

> 2009/10/23 Stefano Tranquillini <st...@gmail.com>:
> > another thing,
> > if the message is like this:
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <message><part1>
> > <End xmlns="http://xml.netbeans.org/schema/Data" xmlns:ns1="
> > http://xml.netbeans.org/schema/Data" xmlns:soapenv="
> > http://www.w3.org/2003/05/soap-envelope">
> > <name>name</name>
> > <id>a</id>
> > </End>
> > </part1>
> > </message>
> >
> > what's the right string for the correlation /id dosen't work, //id
> neither
> > too
>
> There's probably a problem with your request.
> Possibly operation you are sending to ODE in your request doesn't have
> End element defined for input in WSDL message's part.
>
> --
> Rafał Rusin
> http://www.touk.pl
> http://top.touk.pl
> http://people.apache.org/~rr/ <http://people.apache.org/%7Err/>
>



-- 
Stefano

Re: Correlation using complex type under ode

Posted by Rafal Rusin <ra...@gmail.com>.
2009/10/23 Stefano Tranquillini <st...@gmail.com>:
> another thing,
> if the message is like this:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <message><part1>
> <End xmlns="http://xml.netbeans.org/schema/Data" xmlns:ns1="
> http://xml.netbeans.org/schema/Data" xmlns:soapenv="
> http://www.w3.org/2003/05/soap-envelope">
> <name>name</name>
> <id>a</id>
> </End>
> </part1>
> </message>
>
> what's the right string for the correlation /id dosen't work, //id neither
> too

There's probably a problem with your request.
Possibly operation you are sending to ODE in your request doesn't have
End element defined for input in WSDL message's part.

-- 
Rafał Rusin
http://www.touk.pl
http://top.touk.pl
http://people.apache.org/~rr/

Re: Correlation using complex type under ode

Posted by Stefano Tranquillini <st...@gmail.com>.
another thing,
if the message is like this:

<?xml version="1.0" encoding="UTF-8"?>
<message><part1>
<End xmlns="http://xml.netbeans.org/schema/Data" xmlns:ns1="
http://xml.netbeans.org/schema/Data" xmlns:soapenv="
http://www.w3.org/2003/05/soap-envelope">
<name>name</name>
<id>a</id>
</End>
</part1>
</message>

what's the right string for the correlation /id dosen't work, //id neither
too

2009/10/23 Stefano Tranquillini <st...@gmail.com>

> maybe i forgot some import in the deploy.xml,possibly?
>
>
> On Fri, Oct 23, 2009 at 10:48, Stefano Tranquillini <
> stefano.tranquillini@gmail.com> wrote:
>
>> how can i check this exception, if it's possible?
>>
>>
>> On Fri, Oct 23, 2009 at 10:37, Rafal Rusin <ra...@gmail.com> wrote:
>>
>>> 2009/10/23 Stefano Tranquillini <st...@gmail.com>:
>>> > Hi.
>>> > i tried, there's no result (maybe is another problem, and no the
>>> correlation
>>> > now)
>>> > anyway, i seen in the log that there are some lines strange (last 2
>>> lines):
>>> >
>>> > DEBUG - GeronimoLog.debug(66) | The system is checking for the
>>> operation
>>> > using the following WSAAction: //
>>> > j2ee.netbeans.org/wsdl/BPELService/BPELServicePortType/input1
>>> > DEBUG - GeronimoLog.debug(66) | Checking for Operation using SOAP
>>> message
>>> > body's first child's local name : init
>>> > DEBUG - GeronimoLog.debug(66) | Received one-way message for
>>> BPELService.{
>>> > http://j2ee.netbeans.org/wsdl/BPELService}Start<http://j2ee.netbeans.org/wsdl/BPELService%7DStart>
>>> > DEBUG - GeronimoLog.debug(66) | Starting transaction.
>>> > DEBUG - GeronimoLog.debug(66) | Routed: svcQname {
>>> > http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService<http://j2ee.netbeans.org/wsdl/BPELService%7DBPELServiceService>-->
>>> > [BpelProcess[{
>>> > http://enterprise.netbeans.org/bpel/BPEL/LocatorMap}LocatorMap-44<http://enterprise.netbeans.org/bpel/BPEL/LocatorMap%7DLocatorMap-44>
>>> ]]
>>> > DEBUG - GeronimoLog.debug(66) | ODE routed to operation Operation:
>>> > name=Start
>>> > style=ONE_WAY,0
>>> > Input: name=input1
>>> > Message: name={http://j2ee.netbeans.org/wsdl/BPELService}InitMessage<http://j2ee.netbeans.org/wsdl/BPELService%7DInitMessage>
>>> > Part: name=part1
>>> > elementName={http://xml.netbeans.org/schema/Data}init<http://xml.netbeans.org/schema/Data%7Dinit>from service {
>>> > http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService<http://j2ee.netbeans.org/wsdl/BPELService%7DBPELServiceService>
>>> > DEBUG - GeronimoLog.debug(66) | SET MEX property isTwoWay = false
>>> > DEBUG - GeronimoLog.debug(66) | Invoking ODE using MEX
>>> > {MyRoleMex#hqejbhcnphr4oxqcmc2bkx [Client hqejbhcnphr4oxqcmc2bkw]
>>> calling {
>>> >
>>> http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService.Start(...)<http://j2ee.netbeans.org/wsdl/BPELService%7DBPELServiceService.Start%28...%29>
>>> }
>>> > DEBUG - GeronimoLog.debug(66) | Message content:  <?xml version="1.0"
>>> > encoding="UTF-8"?>
>>> > <message><part1><init xmlns="http://xml.netbeans.org/schema/Data"
>>> > xmlns:ns1="http://xml.netbeans.org/schema/Data" xmlns:soapenv="
>>> > http://www.w3.org/2003/05/soap-envelope"><id
>>> > xmlns="">61E893FB248940C653FBCBDA9AF1D32A</id></init></part1></message>
>>> > DEBUG - GeronimoLog.debug(66) | invoke() EPR= null ==> BpelProcess[{
>>> > http://enterprise.netbeans.org/bpel/BPEL/LocatorMap}LocatorMap-44<http://enterprise.netbeans.org/bpel/BPEL/LocatorMap%7DLocatorMap-44>
>>> ]
>>> > DEBUG - GeronimoLog.debug(66) | Commiting ODE MEX
>>> > {MyRoleMex#hqejbhcnphr4oxqcmc2bkx [Client hqejbhcnphr4oxqcmc2bkw]
>>> calling {
>>> >
>>> http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService.Start(...)<http://j2ee.netbeans.org/wsdl/BPELService%7DBPELServiceService.Start%28...%29>
>>> }
>>> > DEBUG - GeronimoLog.debug(66) | Commiting transaction.
>>> > DEBUG - GeronimoLog.debug(66) | Releasing mex hqejbhcnphr4oxqcmc2bkx
>>> > DEBUG - GeronimoLog.debug(66) | handleWorkEvent: InvokeInternal event
>>> for
>>> > mexid hqejbhcnphr4oxqcmc2bkx
>>> > DEBUG - GeronimoLog.debug(66) | >>
>>> > handleWorkEvent(jobData={mexid=hqejbhcnphr4oxqcmc2bkx, pid={
>>> > http://enterprise.netbeans.org/bpel/BPEL/LocatorMap}LocatorMap-44<http://enterprise.netbeans.org/bpel/BPEL/LocatorMap%7DLocatorMap-44>
>>> ,
>>> > type=INVOKE_INTERNAL})
>>> > DEBUG - GeronimoLog.debug(66) | InvokeInternal event for mexid
>>> > hqejbhcnphr4oxqcmc2bkx
>>> > DEBUG - GeronimoLog.debug(66) | GET MEX property
>>> > org.apache.ode.bpel.myRoleSessionId = null
>>> > DEBUG - GeronimoLog.debug(66) | GET MEX property
>>> > org.apache.ode.bpel.myRoleSessionId = null
>>> > DEBUG - GeronimoLog.debug(66) | GET MEX property
>>> > org.apache.ode.bpel.partnerRoleSessionId = null
>>> > DEBUG - GeronimoLog.debug(66) | INPUTMSG: PartnerLink1.Start: MSG RCVD
>>> > keys=[] mySessionId=null partnerSessionId=null
>>> > DEBUG - GeronimoLog.debug(66) | INPUTMSG: PartnerLink1.Start: routing
>>> > failed, CREATING NEW INSTANCE
>>> > DEBUG - GeronimoLog.debug(66) | BpelRuntimeContextImpl created for
>>> instance
>>> > 4601. INDEXED STATE={}
>>> > DEBUG - GeronimoLog.debug(66) | SELECT: PickResponseChannel#9: USING
>>> > CORRELATOR PartnerLink1.Start
>>> > DEBUG - GeronimoLog.debug(66) | SELECT: PickResponseChannel#9: CHECKING
>>> for
>>> > NEW INSTANCE match
>>> > DEBUG - GeronimoLog.debug(66) | INPUTMSGMATCH: Changing process
>>> instance
>>> > state from ready to active
>>> > DEBUG - GeronimoLog.debug(66) | SELECT: PickResponseChannel#9: FOUND
>>> match
>>> > for NEW instance mexRef={MyRoleMex#hqejbhcnphr4oxqcmc2bkx [Client
>>> > hqejbhcnphr4oxqcmc2bkw] calling {
>>> >
>>> http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService.Start(...)<http://j2ee.netbeans.org/wsdl/BPELService%7DBPELServiceService.Start%28...%29>
>>> }
>>> > DEBUG - GeronimoLog.debug(66) | ProcessImpl completed with fault '{
>>> >
>>> http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure<http://docs.oasis-open.org/wsbpel/2.0/process/executable%7DselectionFailure>
>>> '
>>> > DEBUG - GeronimoLog.debug(66) | Processing an async reply from service
>>> {
>>> > http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService<http://j2ee.netbeans.org/wsdl/BPELService%7DBPELServiceService>
>>> > DEBUG - GeronimoLog.debug(66) | Releasing mex hqejbhcnphr4oxqcmc2bkx
>>> > DEBUG - GeronimoLog.debug(66) | Received myrole mex response callback
>>> > DEBUG - GeronimoLog.debug(66) | Received myrole mex response callback
>>> > DEBUG - GeronimoLog.debug(66) | The system is checking for the
>>> operation
>>> > using the following WSAAction: //
>>> > j2ee.netbeans.org/wsdl/BPELService/BPELServicePortType/input2
>>> > DEBUG - GeronimoLog.debug(66) | Checking for Operation using SOAP
>>> message
>>> > body's first child's local name : queryIn
>>> > DEBUG - GeronimoLog.debug(66) | Received one-way message for
>>> BPELService.{
>>> > http://j2ee.netbeans.org/wsdl/BPELService}Query<http://j2ee.netbeans.org/wsdl/BPELService%7DQuery>
>>> > DEBUG - GeronimoLog.debug(66) | Starting transaction.
>>> > DEBUG - GeronimoLog.debug(66) | Routed: svcQname {
>>> > http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService<http://j2ee.netbeans.org/wsdl/BPELService%7DBPELServiceService>-->
>>> > [BpelProcess[{
>>> > http://enterprise.netbeans.org/bpel/BPEL/LocatorMap}LocatorMap-44<http://enterprise.netbeans.org/bpel/BPEL/LocatorMap%7DLocatorMap-44>
>>> ]]
>>> > DEBUG - GeronimoLog.debug(66) | ODE routed to operation Operation:
>>> > name=Query
>>> > style=ONE_WAY,0
>>> > Input: name=input2
>>> > Message: name={
>>> http://j2ee.netbeans.org/wsdl/BPELService}QueryMessageIn<http://j2ee.netbeans.org/wsdl/BPELService%7DQueryMessageIn>
>>> > Part: name=part1
>>> > elementName={http://xml.netbeans.org/schema/Data}queryIn<http://xml.netbeans.org/schema/Data%7DqueryIn>from service {
>>> > http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService<http://j2ee.netbeans.org/wsdl/BPELService%7DBPELServiceService>
>>> > DEBUG - GeronimoLog.debug(66) | SET MEX property isTwoWay = false
>>> > DEBUG - GeronimoLog.debug(66) | Invoking ODE using MEX
>>> > {MyRoleMex#hqejbhcnphr4oxqcmc2bl3 [Client hqejbhcnphr4oxqcmc2bl2]
>>> calling {
>>> >
>>> http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService.Query(...)<http://j2ee.netbeans.org/wsdl/BPELService%7DBPELServiceService.Query%28...%29>
>>> }
>>> > DEBUG - GeronimoLog.debug(66) | Message content:  <?xml version="1.0"
>>> > encoding="UTF-8"?>
>>> > <message><part1><queryIn xmlns="http://xml.netbeans.org/schema/Data"
>>> > xmlns:ns1="http://xml.netbeans.org/schema/Data" xmlns:soapenv="
>>> > http://www.w3.org/2003/05/soap-envelope"><query
>>> > xmlns="">pizza</query><location xmlns="">miami</location><id
>>> >
>>> xmlns="">61E893FB248940C653FBCBDA9AF1D32A</id></queryIn></part1></message>
>>> > DEBUG - GeronimoLog.debug(66) | invoke() EPR= null ==> BpelProcess[{
>>> > http://enterprise.netbeans.org/bpel/BPEL/LocatorMap}LocatorMap-44<http://enterprise.netbeans.org/bpel/BPEL/LocatorMap%7DLocatorMap-44>
>>> ]
>>> > DEBUG - GeronimoLog.debug(66) | Commiting ODE MEX
>>> > {MyRoleMex#hqejbhcnphr4oxqcmc2bl3 [Client hqejbhcnphr4oxqcmc2bl2]
>>> calling {
>>> >
>>> http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService.Query(...)<http://j2ee.netbeans.org/wsdl/BPELService%7DBPELServiceService.Query%28...%29>
>>> }
>>> > DEBUG - GeronimoLog.debug(66) | Commiting transaction.
>>> > DEBUG - GeronimoLog.debug(66) | handleWorkEvent: InvokeInternal event
>>> for
>>> > mexid hqejbhcnphr4oxqcmc2bl3
>>> > DEBUG - GeronimoLog.debug(66) | >>
>>> > handleWorkEvent(jobData={mexid=hqejbhcnphr4oxqcmc2bl3, pid={
>>> > http://enterprise.netbeans.org/bpel/BPEL/LocatorMap}LocatorMap-44<http://enterprise.netbeans.org/bpel/BPEL/LocatorMap%7DLocatorMap-44>
>>> ,
>>> > type=INVOKE_INTERNAL})
>>> > DEBUG - GeronimoLog.debug(66) | InvokeInternal event for mexid
>>> > hqejbhcnphr4oxqcmc2bl3
>>> > DEBUG - GeronimoLog.debug(66) | Releasing mex hqejbhcnphr4oxqcmc2bl3
>>> > DEBUG - GeronimoLog.debug(66) | GET MEX property
>>> > org.apache.ode.bpel.myRoleSessionId = null
>>> > DEBUG - GeronimoLog.debug(66) | GET MEX property
>>> > org.apache.ode.bpel.myRoleSessionId = null
>>> > DEBUG - GeronimoLog.debug(66) | GET MEX property
>>> > org.apache.ode.bpel.partnerRoleSessionId = null
>>> > DEBUG - GeronimoLog.debug(66) | INPUTMSG: PartnerLink1.Query: MSG RCVD
>>> > keys=[{CorrelationKey setId=wzrd_set_Receive1_OnMessage_Pick1_Query,
>>> > values=[61E893FB248940C653FBCBDA9AF1D32A]}] mySessionId=null
>>> > partnerSessionId=null
>>> > DEBUG - GeronimoLog.debug(66) | INPUTMSG: PartnerLink1.Query: SAVING to
>>> DB
>>> > (no match)
>>> >
>>> >
>>> >
>>> >
>>> > the last 2 line is right? it seems to take the value but this value is
>>> not
>>> > present, or it is ok?
>>>
>>> The last two lines show that correlation values are properly set (so
>>> aliases are OK).
>>> The problem might be with
>>> DEBUG - GeronimoLog.debug(66) | ProcessImpl completed with fault '{
>>> http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure<http://docs.oasis-open.org/wsbpel/2.0/process/executable%7DselectionFailure>
>>> '
>>>
>>> So your instance completed with fault for some other reason.
>>>
>>>
>>> --
>>> Rafał Rusin
>>> http://www.touk.pl
>>> http://top.touk.pl
>>> http://people.apache.org/~rr/ <http://people.apache.org/%7Err/>
>>>
>>
>>
>>
>> --
>> Stefano
>>
>
>
>
> --
> Stefano
>



-- 
Stefano

Re: Correlation using complex type under ode

Posted by Stefano Tranquillini <st...@gmail.com>.
maybe i forgot some import in the deploy.xml,possibly?

On Fri, Oct 23, 2009 at 10:48, Stefano Tranquillini <
stefano.tranquillini@gmail.com> wrote:

> how can i check this exception, if it's possible?
>
>
> On Fri, Oct 23, 2009 at 10:37, Rafal Rusin <ra...@gmail.com> wrote:
>
>> 2009/10/23 Stefano Tranquillini <st...@gmail.com>:
>> > Hi.
>> > i tried, there's no result (maybe is another problem, and no the
>> correlation
>> > now)
>> > anyway, i seen in the log that there are some lines strange (last 2
>> lines):
>> >
>> > DEBUG - GeronimoLog.debug(66) | The system is checking for the operation
>> > using the following WSAAction: //
>> > j2ee.netbeans.org/wsdl/BPELService/BPELServicePortType/input1
>> > DEBUG - GeronimoLog.debug(66) | Checking for Operation using SOAP
>> message
>> > body's first child's local name : init
>> > DEBUG - GeronimoLog.debug(66) | Received one-way message for
>> BPELService.{
>> > http://j2ee.netbeans.org/wsdl/BPELService}Start<http://j2ee.netbeans.org/wsdl/BPELService%7DStart>
>> > DEBUG - GeronimoLog.debug(66) | Starting transaction.
>> > DEBUG - GeronimoLog.debug(66) | Routed: svcQname {
>> > http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService<http://j2ee.netbeans.org/wsdl/BPELService%7DBPELServiceService>-->
>> > [BpelProcess[{
>> > http://enterprise.netbeans.org/bpel/BPEL/LocatorMap}LocatorMap-44<http://enterprise.netbeans.org/bpel/BPEL/LocatorMap%7DLocatorMap-44>
>> ]]
>> > DEBUG - GeronimoLog.debug(66) | ODE routed to operation Operation:
>> > name=Start
>> > style=ONE_WAY,0
>> > Input: name=input1
>> > Message: name={http://j2ee.netbeans.org/wsdl/BPELService}InitMessage<http://j2ee.netbeans.org/wsdl/BPELService%7DInitMessage>
>> > Part: name=part1
>> > elementName={http://xml.netbeans.org/schema/Data}init<http://xml.netbeans.org/schema/Data%7Dinit>from service {
>> > http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService<http://j2ee.netbeans.org/wsdl/BPELService%7DBPELServiceService>
>> > DEBUG - GeronimoLog.debug(66) | SET MEX property isTwoWay = false
>> > DEBUG - GeronimoLog.debug(66) | Invoking ODE using MEX
>> > {MyRoleMex#hqejbhcnphr4oxqcmc2bkx [Client hqejbhcnphr4oxqcmc2bkw]
>> calling {
>> > http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService.Start(...)<http://j2ee.netbeans.org/wsdl/BPELService%7DBPELServiceService.Start%28...%29>
>> }
>> > DEBUG - GeronimoLog.debug(66) | Message content:  <?xml version="1.0"
>> > encoding="UTF-8"?>
>> > <message><part1><init xmlns="http://xml.netbeans.org/schema/Data"
>> > xmlns:ns1="http://xml.netbeans.org/schema/Data" xmlns:soapenv="
>> > http://www.w3.org/2003/05/soap-envelope"><id
>> > xmlns="">61E893FB248940C653FBCBDA9AF1D32A</id></init></part1></message>
>> > DEBUG - GeronimoLog.debug(66) | invoke() EPR= null ==> BpelProcess[{
>> > http://enterprise.netbeans.org/bpel/BPEL/LocatorMap}LocatorMap-44<http://enterprise.netbeans.org/bpel/BPEL/LocatorMap%7DLocatorMap-44>
>> ]
>> > DEBUG - GeronimoLog.debug(66) | Commiting ODE MEX
>> > {MyRoleMex#hqejbhcnphr4oxqcmc2bkx [Client hqejbhcnphr4oxqcmc2bkw]
>> calling {
>> > http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService.Start(...)<http://j2ee.netbeans.org/wsdl/BPELService%7DBPELServiceService.Start%28...%29>
>> }
>> > DEBUG - GeronimoLog.debug(66) | Commiting transaction.
>> > DEBUG - GeronimoLog.debug(66) | Releasing mex hqejbhcnphr4oxqcmc2bkx
>> > DEBUG - GeronimoLog.debug(66) | handleWorkEvent: InvokeInternal event
>> for
>> > mexid hqejbhcnphr4oxqcmc2bkx
>> > DEBUG - GeronimoLog.debug(66) | >>
>> > handleWorkEvent(jobData={mexid=hqejbhcnphr4oxqcmc2bkx, pid={
>> > http://enterprise.netbeans.org/bpel/BPEL/LocatorMap}LocatorMap-44<http://enterprise.netbeans.org/bpel/BPEL/LocatorMap%7DLocatorMap-44>
>> ,
>> > type=INVOKE_INTERNAL})
>> > DEBUG - GeronimoLog.debug(66) | InvokeInternal event for mexid
>> > hqejbhcnphr4oxqcmc2bkx
>> > DEBUG - GeronimoLog.debug(66) | GET MEX property
>> > org.apache.ode.bpel.myRoleSessionId = null
>> > DEBUG - GeronimoLog.debug(66) | GET MEX property
>> > org.apache.ode.bpel.myRoleSessionId = null
>> > DEBUG - GeronimoLog.debug(66) | GET MEX property
>> > org.apache.ode.bpel.partnerRoleSessionId = null
>> > DEBUG - GeronimoLog.debug(66) | INPUTMSG: PartnerLink1.Start: MSG RCVD
>> > keys=[] mySessionId=null partnerSessionId=null
>> > DEBUG - GeronimoLog.debug(66) | INPUTMSG: PartnerLink1.Start: routing
>> > failed, CREATING NEW INSTANCE
>> > DEBUG - GeronimoLog.debug(66) | BpelRuntimeContextImpl created for
>> instance
>> > 4601. INDEXED STATE={}
>> > DEBUG - GeronimoLog.debug(66) | SELECT: PickResponseChannel#9: USING
>> > CORRELATOR PartnerLink1.Start
>> > DEBUG - GeronimoLog.debug(66) | SELECT: PickResponseChannel#9: CHECKING
>> for
>> > NEW INSTANCE match
>> > DEBUG - GeronimoLog.debug(66) | INPUTMSGMATCH: Changing process instance
>> > state from ready to active
>> > DEBUG - GeronimoLog.debug(66) | SELECT: PickResponseChannel#9: FOUND
>> match
>> > for NEW instance mexRef={MyRoleMex#hqejbhcnphr4oxqcmc2bkx [Client
>> > hqejbhcnphr4oxqcmc2bkw] calling {
>> > http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService.Start(...)<http://j2ee.netbeans.org/wsdl/BPELService%7DBPELServiceService.Start%28...%29>
>> }
>> > DEBUG - GeronimoLog.debug(66) | ProcessImpl completed with fault '{
>> >
>> http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure<http://docs.oasis-open.org/wsbpel/2.0/process/executable%7DselectionFailure>
>> '
>> > DEBUG - GeronimoLog.debug(66) | Processing an async reply from service {
>> > http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService<http://j2ee.netbeans.org/wsdl/BPELService%7DBPELServiceService>
>> > DEBUG - GeronimoLog.debug(66) | Releasing mex hqejbhcnphr4oxqcmc2bkx
>> > DEBUG - GeronimoLog.debug(66) | Received myrole mex response callback
>> > DEBUG - GeronimoLog.debug(66) | Received myrole mex response callback
>> > DEBUG - GeronimoLog.debug(66) | The system is checking for the operation
>> > using the following WSAAction: //
>> > j2ee.netbeans.org/wsdl/BPELService/BPELServicePortType/input2
>> > DEBUG - GeronimoLog.debug(66) | Checking for Operation using SOAP
>> message
>> > body's first child's local name : queryIn
>> > DEBUG - GeronimoLog.debug(66) | Received one-way message for
>> BPELService.{
>> > http://j2ee.netbeans.org/wsdl/BPELService}Query<http://j2ee.netbeans.org/wsdl/BPELService%7DQuery>
>> > DEBUG - GeronimoLog.debug(66) | Starting transaction.
>> > DEBUG - GeronimoLog.debug(66) | Routed: svcQname {
>> > http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService<http://j2ee.netbeans.org/wsdl/BPELService%7DBPELServiceService>-->
>> > [BpelProcess[{
>> > http://enterprise.netbeans.org/bpel/BPEL/LocatorMap}LocatorMap-44<http://enterprise.netbeans.org/bpel/BPEL/LocatorMap%7DLocatorMap-44>
>> ]]
>> > DEBUG - GeronimoLog.debug(66) | ODE routed to operation Operation:
>> > name=Query
>> > style=ONE_WAY,0
>> > Input: name=input2
>> > Message: name={http://j2ee.netbeans.org/wsdl/BPELService}QueryMessageIn<http://j2ee.netbeans.org/wsdl/BPELService%7DQueryMessageIn>
>> > Part: name=part1
>> > elementName={http://xml.netbeans.org/schema/Data}queryIn<http://xml.netbeans.org/schema/Data%7DqueryIn>from service {
>> > http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService<http://j2ee.netbeans.org/wsdl/BPELService%7DBPELServiceService>
>> > DEBUG - GeronimoLog.debug(66) | SET MEX property isTwoWay = false
>> > DEBUG - GeronimoLog.debug(66) | Invoking ODE using MEX
>> > {MyRoleMex#hqejbhcnphr4oxqcmc2bl3 [Client hqejbhcnphr4oxqcmc2bl2]
>> calling {
>> > http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService.Query(...)<http://j2ee.netbeans.org/wsdl/BPELService%7DBPELServiceService.Query%28...%29>
>> }
>> > DEBUG - GeronimoLog.debug(66) | Message content:  <?xml version="1.0"
>> > encoding="UTF-8"?>
>> > <message><part1><queryIn xmlns="http://xml.netbeans.org/schema/Data"
>> > xmlns:ns1="http://xml.netbeans.org/schema/Data" xmlns:soapenv="
>> > http://www.w3.org/2003/05/soap-envelope"><query
>> > xmlns="">pizza</query><location xmlns="">miami</location><id
>> >
>> xmlns="">61E893FB248940C653FBCBDA9AF1D32A</id></queryIn></part1></message>
>> > DEBUG - GeronimoLog.debug(66) | invoke() EPR= null ==> BpelProcess[{
>> > http://enterprise.netbeans.org/bpel/BPEL/LocatorMap}LocatorMap-44<http://enterprise.netbeans.org/bpel/BPEL/LocatorMap%7DLocatorMap-44>
>> ]
>> > DEBUG - GeronimoLog.debug(66) | Commiting ODE MEX
>> > {MyRoleMex#hqejbhcnphr4oxqcmc2bl3 [Client hqejbhcnphr4oxqcmc2bl2]
>> calling {
>> > http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService.Query(...)<http://j2ee.netbeans.org/wsdl/BPELService%7DBPELServiceService.Query%28...%29>
>> }
>> > DEBUG - GeronimoLog.debug(66) | Commiting transaction.
>> > DEBUG - GeronimoLog.debug(66) | handleWorkEvent: InvokeInternal event
>> for
>> > mexid hqejbhcnphr4oxqcmc2bl3
>> > DEBUG - GeronimoLog.debug(66) | >>
>> > handleWorkEvent(jobData={mexid=hqejbhcnphr4oxqcmc2bl3, pid={
>> > http://enterprise.netbeans.org/bpel/BPEL/LocatorMap}LocatorMap-44<http://enterprise.netbeans.org/bpel/BPEL/LocatorMap%7DLocatorMap-44>
>> ,
>> > type=INVOKE_INTERNAL})
>> > DEBUG - GeronimoLog.debug(66) | InvokeInternal event for mexid
>> > hqejbhcnphr4oxqcmc2bl3
>> > DEBUG - GeronimoLog.debug(66) | Releasing mex hqejbhcnphr4oxqcmc2bl3
>> > DEBUG - GeronimoLog.debug(66) | GET MEX property
>> > org.apache.ode.bpel.myRoleSessionId = null
>> > DEBUG - GeronimoLog.debug(66) | GET MEX property
>> > org.apache.ode.bpel.myRoleSessionId = null
>> > DEBUG - GeronimoLog.debug(66) | GET MEX property
>> > org.apache.ode.bpel.partnerRoleSessionId = null
>> > DEBUG - GeronimoLog.debug(66) | INPUTMSG: PartnerLink1.Query: MSG RCVD
>> > keys=[{CorrelationKey setId=wzrd_set_Receive1_OnMessage_Pick1_Query,
>> > values=[61E893FB248940C653FBCBDA9AF1D32A]}] mySessionId=null
>> > partnerSessionId=null
>> > DEBUG - GeronimoLog.debug(66) | INPUTMSG: PartnerLink1.Query: SAVING to
>> DB
>> > (no match)
>> >
>> >
>> >
>> >
>> > the last 2 line is right? it seems to take the value but this value is
>> not
>> > present, or it is ok?
>>
>> The last two lines show that correlation values are properly set (so
>> aliases are OK).
>> The problem might be with
>> DEBUG - GeronimoLog.debug(66) | ProcessImpl completed with fault '{
>> http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure<http://docs.oasis-open.org/wsbpel/2.0/process/executable%7DselectionFailure>
>> '
>>
>> So your instance completed with fault for some other reason.
>>
>>
>> --
>> Rafał Rusin
>> http://www.touk.pl
>> http://top.touk.pl
>> http://people.apache.org/~rr/ <http://people.apache.org/%7Err/>
>>
>
>
>
> --
> Stefano
>



-- 
Stefano

Re: Correlation using complex type under ode

Posted by Stefano Tranquillini <st...@gmail.com>.
how can i check this exception, if it's possible?

On Fri, Oct 23, 2009 at 10:37, Rafal Rusin <ra...@gmail.com> wrote:

> 2009/10/23 Stefano Tranquillini <st...@gmail.com>:
> > Hi.
> > i tried, there's no result (maybe is another problem, and no the
> correlation
> > now)
> > anyway, i seen in the log that there are some lines strange (last 2
> lines):
> >
> > DEBUG - GeronimoLog.debug(66) | The system is checking for the operation
> > using the following WSAAction: //
> > j2ee.netbeans.org/wsdl/BPELService/BPELServicePortType/input1
> > DEBUG - GeronimoLog.debug(66) | Checking for Operation using SOAP message
> > body's first child's local name : init
> > DEBUG - GeronimoLog.debug(66) | Received one-way message for
> BPELService.{
> > http://j2ee.netbeans.org/wsdl/BPELService}Start<http://j2ee.netbeans.org/wsdl/BPELService%7DStart>
> > DEBUG - GeronimoLog.debug(66) | Starting transaction.
> > DEBUG - GeronimoLog.debug(66) | Routed: svcQname {
> > http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService<http://j2ee.netbeans.org/wsdl/BPELService%7DBPELServiceService>-->
> > [BpelProcess[{
> > http://enterprise.netbeans.org/bpel/BPEL/LocatorMap}LocatorMap-44<http://enterprise.netbeans.org/bpel/BPEL/LocatorMap%7DLocatorMap-44>
> ]]
> > DEBUG - GeronimoLog.debug(66) | ODE routed to operation Operation:
> > name=Start
> > style=ONE_WAY,0
> > Input: name=input1
> > Message: name={http://j2ee.netbeans.org/wsdl/BPELService}InitMessage<http://j2ee.netbeans.org/wsdl/BPELService%7DInitMessage>
> > Part: name=part1
> > elementName={http://xml.netbeans.org/schema/Data}init<http://xml.netbeans.org/schema/Data%7Dinit>from service {
> > http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService<http://j2ee.netbeans.org/wsdl/BPELService%7DBPELServiceService>
> > DEBUG - GeronimoLog.debug(66) | SET MEX property isTwoWay = false
> > DEBUG - GeronimoLog.debug(66) | Invoking ODE using MEX
> > {MyRoleMex#hqejbhcnphr4oxqcmc2bkx [Client hqejbhcnphr4oxqcmc2bkw] calling
> {
> > http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService.Start(...)<http://j2ee.netbeans.org/wsdl/BPELService%7DBPELServiceService.Start%28...%29>
> }
> > DEBUG - GeronimoLog.debug(66) | Message content:  <?xml version="1.0"
> > encoding="UTF-8"?>
> > <message><part1><init xmlns="http://xml.netbeans.org/schema/Data"
> > xmlns:ns1="http://xml.netbeans.org/schema/Data" xmlns:soapenv="
> > http://www.w3.org/2003/05/soap-envelope"><id
> > xmlns="">61E893FB248940C653FBCBDA9AF1D32A</id></init></part1></message>
> > DEBUG - GeronimoLog.debug(66) | invoke() EPR= null ==> BpelProcess[{
> > http://enterprise.netbeans.org/bpel/BPEL/LocatorMap}LocatorMap-44<http://enterprise.netbeans.org/bpel/BPEL/LocatorMap%7DLocatorMap-44>
> ]
> > DEBUG - GeronimoLog.debug(66) | Commiting ODE MEX
> > {MyRoleMex#hqejbhcnphr4oxqcmc2bkx [Client hqejbhcnphr4oxqcmc2bkw] calling
> {
> > http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService.Start(...)<http://j2ee.netbeans.org/wsdl/BPELService%7DBPELServiceService.Start%28...%29>
> }
> > DEBUG - GeronimoLog.debug(66) | Commiting transaction.
> > DEBUG - GeronimoLog.debug(66) | Releasing mex hqejbhcnphr4oxqcmc2bkx
> > DEBUG - GeronimoLog.debug(66) | handleWorkEvent: InvokeInternal event for
> > mexid hqejbhcnphr4oxqcmc2bkx
> > DEBUG - GeronimoLog.debug(66) | >>
> > handleWorkEvent(jobData={mexid=hqejbhcnphr4oxqcmc2bkx, pid={
> > http://enterprise.netbeans.org/bpel/BPEL/LocatorMap}LocatorMap-44<http://enterprise.netbeans.org/bpel/BPEL/LocatorMap%7DLocatorMap-44>
> ,
> > type=INVOKE_INTERNAL})
> > DEBUG - GeronimoLog.debug(66) | InvokeInternal event for mexid
> > hqejbhcnphr4oxqcmc2bkx
> > DEBUG - GeronimoLog.debug(66) | GET MEX property
> > org.apache.ode.bpel.myRoleSessionId = null
> > DEBUG - GeronimoLog.debug(66) | GET MEX property
> > org.apache.ode.bpel.myRoleSessionId = null
> > DEBUG - GeronimoLog.debug(66) | GET MEX property
> > org.apache.ode.bpel.partnerRoleSessionId = null
> > DEBUG - GeronimoLog.debug(66) | INPUTMSG: PartnerLink1.Start: MSG RCVD
> > keys=[] mySessionId=null partnerSessionId=null
> > DEBUG - GeronimoLog.debug(66) | INPUTMSG: PartnerLink1.Start: routing
> > failed, CREATING NEW INSTANCE
> > DEBUG - GeronimoLog.debug(66) | BpelRuntimeContextImpl created for
> instance
> > 4601. INDEXED STATE={}
> > DEBUG - GeronimoLog.debug(66) | SELECT: PickResponseChannel#9: USING
> > CORRELATOR PartnerLink1.Start
> > DEBUG - GeronimoLog.debug(66) | SELECT: PickResponseChannel#9: CHECKING
> for
> > NEW INSTANCE match
> > DEBUG - GeronimoLog.debug(66) | INPUTMSGMATCH: Changing process instance
> > state from ready to active
> > DEBUG - GeronimoLog.debug(66) | SELECT: PickResponseChannel#9: FOUND
> match
> > for NEW instance mexRef={MyRoleMex#hqejbhcnphr4oxqcmc2bkx [Client
> > hqejbhcnphr4oxqcmc2bkw] calling {
> > http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService.Start(...)<http://j2ee.netbeans.org/wsdl/BPELService%7DBPELServiceService.Start%28...%29>
> }
> > DEBUG - GeronimoLog.debug(66) | ProcessImpl completed with fault '{
> >
> http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure<http://docs.oasis-open.org/wsbpel/2.0/process/executable%7DselectionFailure>
> '
> > DEBUG - GeronimoLog.debug(66) | Processing an async reply from service {
> > http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService<http://j2ee.netbeans.org/wsdl/BPELService%7DBPELServiceService>
> > DEBUG - GeronimoLog.debug(66) | Releasing mex hqejbhcnphr4oxqcmc2bkx
> > DEBUG - GeronimoLog.debug(66) | Received myrole mex response callback
> > DEBUG - GeronimoLog.debug(66) | Received myrole mex response callback
> > DEBUG - GeronimoLog.debug(66) | The system is checking for the operation
> > using the following WSAAction: //
> > j2ee.netbeans.org/wsdl/BPELService/BPELServicePortType/input2
> > DEBUG - GeronimoLog.debug(66) | Checking for Operation using SOAP message
> > body's first child's local name : queryIn
> > DEBUG - GeronimoLog.debug(66) | Received one-way message for
> BPELService.{
> > http://j2ee.netbeans.org/wsdl/BPELService}Query<http://j2ee.netbeans.org/wsdl/BPELService%7DQuery>
> > DEBUG - GeronimoLog.debug(66) | Starting transaction.
> > DEBUG - GeronimoLog.debug(66) | Routed: svcQname {
> > http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService<http://j2ee.netbeans.org/wsdl/BPELService%7DBPELServiceService>-->
> > [BpelProcess[{
> > http://enterprise.netbeans.org/bpel/BPEL/LocatorMap}LocatorMap-44<http://enterprise.netbeans.org/bpel/BPEL/LocatorMap%7DLocatorMap-44>
> ]]
> > DEBUG - GeronimoLog.debug(66) | ODE routed to operation Operation:
> > name=Query
> > style=ONE_WAY,0
> > Input: name=input2
> > Message: name={http://j2ee.netbeans.org/wsdl/BPELService}QueryMessageIn<http://j2ee.netbeans.org/wsdl/BPELService%7DQueryMessageIn>
> > Part: name=part1
> > elementName={http://xml.netbeans.org/schema/Data}queryIn<http://xml.netbeans.org/schema/Data%7DqueryIn>from service {
> > http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService<http://j2ee.netbeans.org/wsdl/BPELService%7DBPELServiceService>
> > DEBUG - GeronimoLog.debug(66) | SET MEX property isTwoWay = false
> > DEBUG - GeronimoLog.debug(66) | Invoking ODE using MEX
> > {MyRoleMex#hqejbhcnphr4oxqcmc2bl3 [Client hqejbhcnphr4oxqcmc2bl2] calling
> {
> > http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService.Query(...)<http://j2ee.netbeans.org/wsdl/BPELService%7DBPELServiceService.Query%28...%29>
> }
> > DEBUG - GeronimoLog.debug(66) | Message content:  <?xml version="1.0"
> > encoding="UTF-8"?>
> > <message><part1><queryIn xmlns="http://xml.netbeans.org/schema/Data"
> > xmlns:ns1="http://xml.netbeans.org/schema/Data" xmlns:soapenv="
> > http://www.w3.org/2003/05/soap-envelope"><query
> > xmlns="">pizza</query><location xmlns="">miami</location><id
> >
> xmlns="">61E893FB248940C653FBCBDA9AF1D32A</id></queryIn></part1></message>
> > DEBUG - GeronimoLog.debug(66) | invoke() EPR= null ==> BpelProcess[{
> > http://enterprise.netbeans.org/bpel/BPEL/LocatorMap}LocatorMap-44<http://enterprise.netbeans.org/bpel/BPEL/LocatorMap%7DLocatorMap-44>
> ]
> > DEBUG - GeronimoLog.debug(66) | Commiting ODE MEX
> > {MyRoleMex#hqejbhcnphr4oxqcmc2bl3 [Client hqejbhcnphr4oxqcmc2bl2] calling
> {
> > http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService.Query(...)<http://j2ee.netbeans.org/wsdl/BPELService%7DBPELServiceService.Query%28...%29>
> }
> > DEBUG - GeronimoLog.debug(66) | Commiting transaction.
> > DEBUG - GeronimoLog.debug(66) | handleWorkEvent: InvokeInternal event for
> > mexid hqejbhcnphr4oxqcmc2bl3
> > DEBUG - GeronimoLog.debug(66) | >>
> > handleWorkEvent(jobData={mexid=hqejbhcnphr4oxqcmc2bl3, pid={
> > http://enterprise.netbeans.org/bpel/BPEL/LocatorMap}LocatorMap-44<http://enterprise.netbeans.org/bpel/BPEL/LocatorMap%7DLocatorMap-44>
> ,
> > type=INVOKE_INTERNAL})
> > DEBUG - GeronimoLog.debug(66) | InvokeInternal event for mexid
> > hqejbhcnphr4oxqcmc2bl3
> > DEBUG - GeronimoLog.debug(66) | Releasing mex hqejbhcnphr4oxqcmc2bl3
> > DEBUG - GeronimoLog.debug(66) | GET MEX property
> > org.apache.ode.bpel.myRoleSessionId = null
> > DEBUG - GeronimoLog.debug(66) | GET MEX property
> > org.apache.ode.bpel.myRoleSessionId = null
> > DEBUG - GeronimoLog.debug(66) | GET MEX property
> > org.apache.ode.bpel.partnerRoleSessionId = null
> > DEBUG - GeronimoLog.debug(66) | INPUTMSG: PartnerLink1.Query: MSG RCVD
> > keys=[{CorrelationKey setId=wzrd_set_Receive1_OnMessage_Pick1_Query,
> > values=[61E893FB248940C653FBCBDA9AF1D32A]}] mySessionId=null
> > partnerSessionId=null
> > DEBUG - GeronimoLog.debug(66) | INPUTMSG: PartnerLink1.Query: SAVING to
> DB
> > (no match)
> >
> >
> >
> >
> > the last 2 line is right? it seems to take the value but this value is
> not
> > present, or it is ok?
>
> The last two lines show that correlation values are properly set (so
> aliases are OK).
> The problem might be with
> DEBUG - GeronimoLog.debug(66) | ProcessImpl completed with fault '{
> http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure<http://docs.oasis-open.org/wsbpel/2.0/process/executable%7DselectionFailure>
> '
>
> So your instance completed with fault for some other reason.
>
>
> --
> Rafał Rusin
> http://www.touk.pl
> http://top.touk.pl
> http://people.apache.org/~rr/ <http://people.apache.org/%7Err/>
>



-- 
Stefano

Re: Correlation using complex type under ode

Posted by Rafal Rusin <ra...@gmail.com>.
2009/10/23 Stefano Tranquillini <st...@gmail.com>:
> Hi.
> i tried, there's no result (maybe is another problem, and no the correlation
> now)
> anyway, i seen in the log that there are some lines strange (last 2 lines):
>
> DEBUG - GeronimoLog.debug(66) | The system is checking for the operation
> using the following WSAAction: //
> j2ee.netbeans.org/wsdl/BPELService/BPELServicePortType/input1
> DEBUG - GeronimoLog.debug(66) | Checking for Operation using SOAP message
> body's first child's local name : init
> DEBUG - GeronimoLog.debug(66) | Received one-way message for BPELService.{
> http://j2ee.netbeans.org/wsdl/BPELService}Start
> DEBUG - GeronimoLog.debug(66) | Starting transaction.
> DEBUG - GeronimoLog.debug(66) | Routed: svcQname {
> http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService -->
> [BpelProcess[{
> http://enterprise.netbeans.org/bpel/BPEL/LocatorMap}LocatorMap-44]]
> DEBUG - GeronimoLog.debug(66) | ODE routed to operation Operation:
> name=Start
> style=ONE_WAY,0
> Input: name=input1
> Message: name={http://j2ee.netbeans.org/wsdl/BPELService}InitMessage
> Part: name=part1
> elementName={http://xml.netbeans.org/schema/Data}init from service {
> http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService
> DEBUG - GeronimoLog.debug(66) | SET MEX property isTwoWay = false
> DEBUG - GeronimoLog.debug(66) | Invoking ODE using MEX
> {MyRoleMex#hqejbhcnphr4oxqcmc2bkx [Client hqejbhcnphr4oxqcmc2bkw] calling {
> http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService.Start(...)}
> DEBUG - GeronimoLog.debug(66) | Message content:  <?xml version="1.0"
> encoding="UTF-8"?>
> <message><part1><init xmlns="http://xml.netbeans.org/schema/Data"
> xmlns:ns1="http://xml.netbeans.org/schema/Data" xmlns:soapenv="
> http://www.w3.org/2003/05/soap-envelope"><id
> xmlns="">61E893FB248940C653FBCBDA9AF1D32A</id></init></part1></message>
> DEBUG - GeronimoLog.debug(66) | invoke() EPR= null ==> BpelProcess[{
> http://enterprise.netbeans.org/bpel/BPEL/LocatorMap}LocatorMap-44]
> DEBUG - GeronimoLog.debug(66) | Commiting ODE MEX
> {MyRoleMex#hqejbhcnphr4oxqcmc2bkx [Client hqejbhcnphr4oxqcmc2bkw] calling {
> http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService.Start(...)}
> DEBUG - GeronimoLog.debug(66) | Commiting transaction.
> DEBUG - GeronimoLog.debug(66) | Releasing mex hqejbhcnphr4oxqcmc2bkx
> DEBUG - GeronimoLog.debug(66) | handleWorkEvent: InvokeInternal event for
> mexid hqejbhcnphr4oxqcmc2bkx
> DEBUG - GeronimoLog.debug(66) | >>
> handleWorkEvent(jobData={mexid=hqejbhcnphr4oxqcmc2bkx, pid={
> http://enterprise.netbeans.org/bpel/BPEL/LocatorMap}LocatorMap-44,
> type=INVOKE_INTERNAL})
> DEBUG - GeronimoLog.debug(66) | InvokeInternal event for mexid
> hqejbhcnphr4oxqcmc2bkx
> DEBUG - GeronimoLog.debug(66) | GET MEX property
> org.apache.ode.bpel.myRoleSessionId = null
> DEBUG - GeronimoLog.debug(66) | GET MEX property
> org.apache.ode.bpel.myRoleSessionId = null
> DEBUG - GeronimoLog.debug(66) | GET MEX property
> org.apache.ode.bpel.partnerRoleSessionId = null
> DEBUG - GeronimoLog.debug(66) | INPUTMSG: PartnerLink1.Start: MSG RCVD
> keys=[] mySessionId=null partnerSessionId=null
> DEBUG - GeronimoLog.debug(66) | INPUTMSG: PartnerLink1.Start: routing
> failed, CREATING NEW INSTANCE
> DEBUG - GeronimoLog.debug(66) | BpelRuntimeContextImpl created for instance
> 4601. INDEXED STATE={}
> DEBUG - GeronimoLog.debug(66) | SELECT: PickResponseChannel#9: USING
> CORRELATOR PartnerLink1.Start
> DEBUG - GeronimoLog.debug(66) | SELECT: PickResponseChannel#9: CHECKING for
> NEW INSTANCE match
> DEBUG - GeronimoLog.debug(66) | INPUTMSGMATCH: Changing process instance
> state from ready to active
> DEBUG - GeronimoLog.debug(66) | SELECT: PickResponseChannel#9: FOUND match
> for NEW instance mexRef={MyRoleMex#hqejbhcnphr4oxqcmc2bkx [Client
> hqejbhcnphr4oxqcmc2bkw] calling {
> http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService.Start(...)}
> DEBUG - GeronimoLog.debug(66) | ProcessImpl completed with fault '{
> http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure'
> DEBUG - GeronimoLog.debug(66) | Processing an async reply from service {
> http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService
> DEBUG - GeronimoLog.debug(66) | Releasing mex hqejbhcnphr4oxqcmc2bkx
> DEBUG - GeronimoLog.debug(66) | Received myrole mex response callback
> DEBUG - GeronimoLog.debug(66) | Received myrole mex response callback
> DEBUG - GeronimoLog.debug(66) | The system is checking for the operation
> using the following WSAAction: //
> j2ee.netbeans.org/wsdl/BPELService/BPELServicePortType/input2
> DEBUG - GeronimoLog.debug(66) | Checking for Operation using SOAP message
> body's first child's local name : queryIn
> DEBUG - GeronimoLog.debug(66) | Received one-way message for BPELService.{
> http://j2ee.netbeans.org/wsdl/BPELService}Query
> DEBUG - GeronimoLog.debug(66) | Starting transaction.
> DEBUG - GeronimoLog.debug(66) | Routed: svcQname {
> http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService -->
> [BpelProcess[{
> http://enterprise.netbeans.org/bpel/BPEL/LocatorMap}LocatorMap-44]]
> DEBUG - GeronimoLog.debug(66) | ODE routed to operation Operation:
> name=Query
> style=ONE_WAY,0
> Input: name=input2
> Message: name={http://j2ee.netbeans.org/wsdl/BPELService}QueryMessageIn
> Part: name=part1
> elementName={http://xml.netbeans.org/schema/Data}queryIn from service {
> http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService
> DEBUG - GeronimoLog.debug(66) | SET MEX property isTwoWay = false
> DEBUG - GeronimoLog.debug(66) | Invoking ODE using MEX
> {MyRoleMex#hqejbhcnphr4oxqcmc2bl3 [Client hqejbhcnphr4oxqcmc2bl2] calling {
> http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService.Query(...)}
> DEBUG - GeronimoLog.debug(66) | Message content:  <?xml version="1.0"
> encoding="UTF-8"?>
> <message><part1><queryIn xmlns="http://xml.netbeans.org/schema/Data"
> xmlns:ns1="http://xml.netbeans.org/schema/Data" xmlns:soapenv="
> http://www.w3.org/2003/05/soap-envelope"><query
> xmlns="">pizza</query><location xmlns="">miami</location><id
> xmlns="">61E893FB248940C653FBCBDA9AF1D32A</id></queryIn></part1></message>
> DEBUG - GeronimoLog.debug(66) | invoke() EPR= null ==> BpelProcess[{
> http://enterprise.netbeans.org/bpel/BPEL/LocatorMap}LocatorMap-44]
> DEBUG - GeronimoLog.debug(66) | Commiting ODE MEX
> {MyRoleMex#hqejbhcnphr4oxqcmc2bl3 [Client hqejbhcnphr4oxqcmc2bl2] calling {
> http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService.Query(...)}
> DEBUG - GeronimoLog.debug(66) | Commiting transaction.
> DEBUG - GeronimoLog.debug(66) | handleWorkEvent: InvokeInternal event for
> mexid hqejbhcnphr4oxqcmc2bl3
> DEBUG - GeronimoLog.debug(66) | >>
> handleWorkEvent(jobData={mexid=hqejbhcnphr4oxqcmc2bl3, pid={
> http://enterprise.netbeans.org/bpel/BPEL/LocatorMap}LocatorMap-44,
> type=INVOKE_INTERNAL})
> DEBUG - GeronimoLog.debug(66) | InvokeInternal event for mexid
> hqejbhcnphr4oxqcmc2bl3
> DEBUG - GeronimoLog.debug(66) | Releasing mex hqejbhcnphr4oxqcmc2bl3
> DEBUG - GeronimoLog.debug(66) | GET MEX property
> org.apache.ode.bpel.myRoleSessionId = null
> DEBUG - GeronimoLog.debug(66) | GET MEX property
> org.apache.ode.bpel.myRoleSessionId = null
> DEBUG - GeronimoLog.debug(66) | GET MEX property
> org.apache.ode.bpel.partnerRoleSessionId = null
> DEBUG - GeronimoLog.debug(66) | INPUTMSG: PartnerLink1.Query: MSG RCVD
> keys=[{CorrelationKey setId=wzrd_set_Receive1_OnMessage_Pick1_Query,
> values=[61E893FB248940C653FBCBDA9AF1D32A]}] mySessionId=null
> partnerSessionId=null
> DEBUG - GeronimoLog.debug(66) | INPUTMSG: PartnerLink1.Query: SAVING to DB
> (no match)
>
>
>
>
> the last 2 line is right? it seems to take the value but this value is not
> present, or it is ok?

The last two lines show that correlation values are properly set (so
aliases are OK).
The problem might be with
DEBUG - GeronimoLog.debug(66) | ProcessImpl completed with fault '{
http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure'

So your instance completed with fault for some other reason.


-- 
Rafał Rusin
http://www.touk.pl
http://top.touk.pl
http://people.apache.org/~rr/

Re: Correlation using complex type under ode

Posted by Stefano Tranquillini <st...@gmail.com>.
Hi.
i tried, there's no result (maybe is another problem, and no the correlation
now)
anyway, i seen in the log that there are some lines strange (last 2 lines):

DEBUG - GeronimoLog.debug(66) | The system is checking for the operation
using the following WSAAction: //
j2ee.netbeans.org/wsdl/BPELService/BPELServicePortType/input1
DEBUG - GeronimoLog.debug(66) | Checking for Operation using SOAP message
body's first child's local name : init
DEBUG - GeronimoLog.debug(66) | Received one-way message for BPELService.{
http://j2ee.netbeans.org/wsdl/BPELService}Start
DEBUG - GeronimoLog.debug(66) | Starting transaction.
DEBUG - GeronimoLog.debug(66) | Routed: svcQname {
http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService -->
[BpelProcess[{
http://enterprise.netbeans.org/bpel/BPEL/LocatorMap}LocatorMap-44]]
DEBUG - GeronimoLog.debug(66) | ODE routed to operation Operation:
name=Start
style=ONE_WAY,0
Input: name=input1
Message: name={http://j2ee.netbeans.org/wsdl/BPELService}InitMessage
Part: name=part1
elementName={http://xml.netbeans.org/schema/Data}init from service {
http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService
DEBUG - GeronimoLog.debug(66) | SET MEX property isTwoWay = false
DEBUG - GeronimoLog.debug(66) | Invoking ODE using MEX
{MyRoleMex#hqejbhcnphr4oxqcmc2bkx [Client hqejbhcnphr4oxqcmc2bkw] calling {
http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService.Start(...)}
DEBUG - GeronimoLog.debug(66) | Message content:  <?xml version="1.0"
encoding="UTF-8"?>
<message><part1><init xmlns="http://xml.netbeans.org/schema/Data"
xmlns:ns1="http://xml.netbeans.org/schema/Data" xmlns:soapenv="
http://www.w3.org/2003/05/soap-envelope"><id
xmlns="">61E893FB248940C653FBCBDA9AF1D32A</id></init></part1></message>
DEBUG - GeronimoLog.debug(66) | invoke() EPR= null ==> BpelProcess[{
http://enterprise.netbeans.org/bpel/BPEL/LocatorMap}LocatorMap-44]
DEBUG - GeronimoLog.debug(66) | Commiting ODE MEX
{MyRoleMex#hqejbhcnphr4oxqcmc2bkx [Client hqejbhcnphr4oxqcmc2bkw] calling {
http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService.Start(...)}
DEBUG - GeronimoLog.debug(66) | Commiting transaction.
DEBUG - GeronimoLog.debug(66) | Releasing mex hqejbhcnphr4oxqcmc2bkx
DEBUG - GeronimoLog.debug(66) | handleWorkEvent: InvokeInternal event for
mexid hqejbhcnphr4oxqcmc2bkx
DEBUG - GeronimoLog.debug(66) | >>
handleWorkEvent(jobData={mexid=hqejbhcnphr4oxqcmc2bkx, pid={
http://enterprise.netbeans.org/bpel/BPEL/LocatorMap}LocatorMap-44,
type=INVOKE_INTERNAL})
DEBUG - GeronimoLog.debug(66) | InvokeInternal event for mexid
hqejbhcnphr4oxqcmc2bkx
DEBUG - GeronimoLog.debug(66) | GET MEX property
org.apache.ode.bpel.myRoleSessionId = null
DEBUG - GeronimoLog.debug(66) | GET MEX property
org.apache.ode.bpel.myRoleSessionId = null
DEBUG - GeronimoLog.debug(66) | GET MEX property
org.apache.ode.bpel.partnerRoleSessionId = null
DEBUG - GeronimoLog.debug(66) | INPUTMSG: PartnerLink1.Start: MSG RCVD
keys=[] mySessionId=null partnerSessionId=null
DEBUG - GeronimoLog.debug(66) | INPUTMSG: PartnerLink1.Start: routing
failed, CREATING NEW INSTANCE
DEBUG - GeronimoLog.debug(66) | BpelRuntimeContextImpl created for instance
4601. INDEXED STATE={}
DEBUG - GeronimoLog.debug(66) | SELECT: PickResponseChannel#9: USING
CORRELATOR PartnerLink1.Start
DEBUG - GeronimoLog.debug(66) | SELECT: PickResponseChannel#9: CHECKING for
NEW INSTANCE match
DEBUG - GeronimoLog.debug(66) | INPUTMSGMATCH: Changing process instance
state from ready to active
DEBUG - GeronimoLog.debug(66) | SELECT: PickResponseChannel#9: FOUND match
for NEW instance mexRef={MyRoleMex#hqejbhcnphr4oxqcmc2bkx [Client
hqejbhcnphr4oxqcmc2bkw] calling {
http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService.Start(...)}
DEBUG - GeronimoLog.debug(66) | ProcessImpl completed with fault '{
http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure'
DEBUG - GeronimoLog.debug(66) | Processing an async reply from service {
http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService
DEBUG - GeronimoLog.debug(66) | Releasing mex hqejbhcnphr4oxqcmc2bkx
DEBUG - GeronimoLog.debug(66) | Received myrole mex response callback
DEBUG - GeronimoLog.debug(66) | Received myrole mex response callback
DEBUG - GeronimoLog.debug(66) | The system is checking for the operation
using the following WSAAction: //
j2ee.netbeans.org/wsdl/BPELService/BPELServicePortType/input2
DEBUG - GeronimoLog.debug(66) | Checking for Operation using SOAP message
body's first child's local name : queryIn
DEBUG - GeronimoLog.debug(66) | Received one-way message for BPELService.{
http://j2ee.netbeans.org/wsdl/BPELService}Query
DEBUG - GeronimoLog.debug(66) | Starting transaction.
DEBUG - GeronimoLog.debug(66) | Routed: svcQname {
http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService -->
[BpelProcess[{
http://enterprise.netbeans.org/bpel/BPEL/LocatorMap}LocatorMap-44]]
DEBUG - GeronimoLog.debug(66) | ODE routed to operation Operation:
name=Query
style=ONE_WAY,0
Input: name=input2
Message: name={http://j2ee.netbeans.org/wsdl/BPELService}QueryMessageIn
Part: name=part1
elementName={http://xml.netbeans.org/schema/Data}queryIn from service {
http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService
DEBUG - GeronimoLog.debug(66) | SET MEX property isTwoWay = false
DEBUG - GeronimoLog.debug(66) | Invoking ODE using MEX
{MyRoleMex#hqejbhcnphr4oxqcmc2bl3 [Client hqejbhcnphr4oxqcmc2bl2] calling {
http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService.Query(...)}
DEBUG - GeronimoLog.debug(66) | Message content:  <?xml version="1.0"
encoding="UTF-8"?>
<message><part1><queryIn xmlns="http://xml.netbeans.org/schema/Data"
xmlns:ns1="http://xml.netbeans.org/schema/Data" xmlns:soapenv="
http://www.w3.org/2003/05/soap-envelope"><query
xmlns="">pizza</query><location xmlns="">miami</location><id
xmlns="">61E893FB248940C653FBCBDA9AF1D32A</id></queryIn></part1></message>
DEBUG - GeronimoLog.debug(66) | invoke() EPR= null ==> BpelProcess[{
http://enterprise.netbeans.org/bpel/BPEL/LocatorMap}LocatorMap-44]
DEBUG - GeronimoLog.debug(66) | Commiting ODE MEX
{MyRoleMex#hqejbhcnphr4oxqcmc2bl3 [Client hqejbhcnphr4oxqcmc2bl2] calling {
http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService.Query(...)}
DEBUG - GeronimoLog.debug(66) | Commiting transaction.
DEBUG - GeronimoLog.debug(66) | handleWorkEvent: InvokeInternal event for
mexid hqejbhcnphr4oxqcmc2bl3
DEBUG - GeronimoLog.debug(66) | >>
handleWorkEvent(jobData={mexid=hqejbhcnphr4oxqcmc2bl3, pid={
http://enterprise.netbeans.org/bpel/BPEL/LocatorMap}LocatorMap-44,
type=INVOKE_INTERNAL})
DEBUG - GeronimoLog.debug(66) | InvokeInternal event for mexid
hqejbhcnphr4oxqcmc2bl3
DEBUG - GeronimoLog.debug(66) | Releasing mex hqejbhcnphr4oxqcmc2bl3
DEBUG - GeronimoLog.debug(66) | GET MEX property
org.apache.ode.bpel.myRoleSessionId = null
DEBUG - GeronimoLog.debug(66) | GET MEX property
org.apache.ode.bpel.myRoleSessionId = null
DEBUG - GeronimoLog.debug(66) | GET MEX property
org.apache.ode.bpel.partnerRoleSessionId = null
DEBUG - GeronimoLog.debug(66) | INPUTMSG: PartnerLink1.Query: MSG RCVD
keys=[{CorrelationKey setId=wzrd_set_Receive1_OnMessage_Pick1_Query,
values=[61E893FB248940C653FBCBDA9AF1D32A]}] mySessionId=null
partnerSessionId=null
DEBUG - GeronimoLog.debug(66) | INPUTMSG: PartnerLink1.Query: SAVING to DB
(no match)




the last 2 line is right? it seems to take the value but this value is not
present, or it is ok?




-- 
Stefano

Re: Correlation using complex type under ode

Posted by Rafal Rusin <ra...@gmail.com>.
Thanks for providing whole package.
In your case
    <vprop:propertyAlias propertyName="tns:wzrd_prop_id_id"
messageType="ns:InitMessage" part="part1">
        <vprop:query>/id</vprop:query>
    </vprop:propertyAlias>

resolves problem. This log shows it:
21:28:43,748 | DEBUG | ODEServer-6 | BpelJacobRunnable        |
eronimo.kernel.log.GeronimoLog   66 | Setting correlation property
{http://enterprise.netbeans.org/bpel/WizardCorrelationProperties}wzrd_prop_id_id=1234567

ODE sets evaluation context inside WSDL Message's part element
declaration. I think it's good, because you don't actually need to
type element's name inside every xpath. But I'm not sure it's so spec
compatible though.


2009/10/22 Stefano Tranquillini <st...@gmail.com>:
> Hi all
> i've developed a bpel using netbeans. since now i used the
> netbeans&glassfish stuff to deploy the bpel and manage it. the bpel contains
> correlation done by the netbeans's wizard. all these stuff works fine in
> glassfish&co.
>
> but, i want deploy the bpel using ode, so i create the deploy.xml and i
> deploy the project (this part works). i created the stub and i tried to
> invoke the bpel service, here i found a problem.
>
> this is the debug messages:
>
>
> DEBUG - GeronimoLog.debug(66) | SET MEX property isTwoWay = false
> DEBUG - GeronimoLog.debug(66) | Invoking ODE using MEX
> {MyRoleMex#hqejbhcnphr4ovklgf65ne [Client hqejbhcnphr4ovklgf65nd] calling {
> http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService.Start(...)<http://j2ee.netbeans.org/wsdl/BPELService%7DBPELServiceService.Start%28...%29>
> }
> DEBUG - GeronimoLog.debug(66) | Message content:  <?xml version="1.0"
> encoding="UTF-8"?>
> <message><part1><init xmlns="http://xml.netbeans.org/schema/Data"
> xmlns:ns1="http://xml.netbeans.org/schema/Data" xmlns:soapenv="
> http://www.w3.org/2003/05/soap-envelope"><id
> xmlns="">5F0EE07A30962904EA0993DF6627C018</id></init></part1></message>
> DEBUG - GeronimoLog.debug(66) | invoke() EPR= null ==> BpelProcess[{
> http://enterprise.netbeans.org/bpel/BPEL/LocatorMap}LocatorMap-36<http://enterprise.netbeans.org/bpel/BPEL/LocatorMap%7DLocatorMap-36>
> ]
> DEBUG - GeronimoLog.debug(66) | Commiting ODE MEX
> {MyRoleMex#hqejbhcnphr4ovklgf65ne [Client hqejbhcnphr4ovklgf65nd] calling {
> http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService.Start(...)<http://j2ee.netbeans.org/wsdl/BPELService%7DBPELServiceService.Start%28...%29>
> }
> DEBUG - GeronimoLog.debug(66) | Commiting transaction.
> DEBUG - GeronimoLog.debug(66) | Releasing mex hqejbhcnphr4ovklgf65ne
> DEBUG - GeronimoLog.debug(66) | handleWorkEvent: InvokeInternal event for
> mexid hqejbhcnphr4ovklgf65ne
> DEBUG - GeronimoLog.debug(66) | >>
> handleWorkEvent(jobData={mexid=hqejbhcnphr4ovklgf65ne, pid={
> http://enterprise.netbeans.org/bpel/BPEL/LocatorMap}LocatorMap-36<http://enterprise.netbeans.org/bpel/BPEL/LocatorMap%7DLocatorMap-36>,
> type=INVOKE_INTERNAL})
> DEBUG - GeronimoLog.debug(66) | InvokeInternal event for mexid
> hqejbhcnphr4ovklgf65ne
> DEBUG - GeronimoLog.debug(66) | GET MEX property
> org.apache.ode.bpel.myRoleSessionId = null
> DEBUG - GeronimoLog.debug(66) | GET MEX property
> org.apache.ode.bpel.myRoleSessionId = null
> DEBUG - GeronimoLog.debug(66) | GET MEX property
> org.apache.ode.bpel.partnerRoleSessionId = null
> DEBUG - GeronimoLog.debug(66) | INPUTMSG: PartnerLink1.Start: MSG RCVD
> keys=[] mySessionId=null partnerSessionId=null
> DEBUG - GeronimoLog.debug(66) | INPUTMSG: PartnerLink1.Start: routing
> failed, CREATING NEW INSTANCE
> DEBUG - GeronimoLog.debug(66) | BpelRuntimeContextImpl created for instance
> 3003. INDEXED STATE={}
> DEBUG - GeronimoLog.debug(66) | SELECT: PickResponseChannel#9: USING
> CORRELATOR PartnerLink1.Start
> DEBUG - GeronimoLog.debug(66) | SELECT: PickResponseChannel#9: CHECKING for
> NEW INSTANCE match
> DEBUG - GeronimoLog.debug(66) | INPUTMSGMATCH: Changing process instance
> state from ready to active
> DEBUG - GeronimoLog.debug(66) | SELECT: PickResponseChannel#9: FOUND match
> for NEW instance mexRef={MyRoleMex#hqejbhcnphr4ovklgf65ne [Client
> hqejbhcnphr4ovklgf65nd] calling {
> http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService.Start(...)<http://j2ee.netbeans.org/wsdl/BPELService%7DBPELServiceService.Start%28...%29>
> }
> DEBUG - GeronimoLog.debug(66) | Couldn't extract property '{OProperty {
> http://enterprise.netbeans.org/bpel/WizardCorrelationProperties}wzrd_prop_id_id<http://enterprise.netbeans.org/bpel/WizardCorrelationProperties%7Dwzrd_prop_id_id>}'
> in property pre-extraction: org.apache.ode.bpel.common.FaultException: No
> results for expression: {OXPath10Expression /ns0:init/id}
> ERROR - GeronimoLog.error(104) | org.apache.ode.bpel.common.FaultException:
> No results for expression: {OXPath10Expression /ns0:init/id}
> DEBUG - GeronimoLog.debug(66) | ProcessImpl completed with fault '{
> http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure<http://docs.oasis-open.org/wsbpel/2.0/process/executable%7DselectionFailure>
> '
> DEBUG - GeronimoLog.debug(66) | Processing an async reply from service {
> http://j2ee.netbeans.org/wsdl/BPELService}BPELServiceService<http://j2ee.netbeans.org/wsdl/BPELService%7DBPELServiceService>
> DEBUG - GeronimoLog.debug(66) | Releasing mex hqejbhcnphr4ovklgf65ne
> DEBUG - GeronimoLog.debug(66) | Received myrole mex response callback
> DEBUG - GeronimoLog.debug(66) | Received myrole mex response callback
>
>
> in particular this part:
> DEBUG - GeronimoLog.debug(66) | Couldn't extract property '{OProperty {
> http://enterprise.netbeans.org/bpel/WizardCorrelationProperties}wzrd_prop_id_id<http://enterprise.netbeans.org/bpel/WizardCorrelationProperties%7Dwzrd_prop_id_id>}'
> in property pre-extraction: org.apache.ode.bpel.common.FaultException: No
> results for expression: {OXPath10Expression /ns0:init/id}
>
> this is the message:
> Message content:
> <?xml version="1.0" encoding="UTF-8"?>
> <message>
> <part1>
> <init xmlns="http://xml.netbeans.org/schema/Data" xmlns:ns1="
> http://xml.netbeans.org/schema/Data" xmlns:soapenv="
> http://www.w3.org/2003/05/soap-envelope">
> <id xmlns="">5F0EE07A30962904EA0993DF6627C018</id>
> </init>
> </part1>
> </message>
>
>
> the problem is over the correlation, is sounds like the ode doesn't
> undestand the correlation syntax, he dosen't find the id into my message.
>
> this is the deploy.xml
>
> <deploy xmlns="http://www.apache.org/ode/schemas/dd/2007/03"
>    xmlns:pns="http://enterprise.netbeans.org/bpel/BPEL/LocatorMap"
>        xmlns:wns="http://j2ee.netbeans.org/wsdl/BPELService">
>    <process name="pns:LocatorMap">
>        <active>true</active>
>        <provide partnerLink="PartnerLink1">
>            <service name="wns:BPELServiceService" port="BPELServicePort"/>
>        </provide>
>    </process>
> </deploy>
>
> and this is the correlations part
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <definitions
>    xmlns="http://schemas.xmlsoap.org/wsdl/"
>    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
>    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> name="WizardCorrelationProperties.wsdl" targetNamespace="
> http://enterprise.netbeans.org/bpel/WizardCorrelationProperties"
> xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop" xmlns:ns="
> http://j2ee.netbeans.org/wsdl/BPELService" xmlns:ns0="
> http://xml.netbeans.org/schema/Data" xmlns:tns="
> http://enterprise.netbeans.org/bpel/WizardCorrelationProperties">
>    <import namespace="http://j2ee.netbeans.org/wsdl/BPELService"
> location="BPELService.wsdl"/>
>    <types>
>        <xsd:schema targetNamespace="
> http://enterprise.netbeans.org/bpel/WizardCorrelationProperties">
>            <xsd:import namespace="http://xml.netbeans.org/schema/Data"
> schemaLocation="Data.xsd"/>
>        </xsd:schema>
>    </types>
>    <vprop:property name="wzrd_prop_id_id" type="xsd:string"/>
>    <vprop:propertyAlias propertyName="tns:wzrd_prop_id_id"
> messageType="ns:InitMessage" part="part1">
>        <vprop:query>/ns0:init/id</vprop:query>
>    </vprop:propertyAlias>
>    <vprop:propertyAlias propertyName="tns:wzrd_prop_id_id"
> messageType="ns:QueryMessageIn" part="part1">
>        <vprop:query>/ns0:queryIn/id</vprop:query>
>    </vprop:propertyAlias>
>    <vprop:propertyAlias propertyName="tns:wzrd_prop_id_id"
> messageType="ns:StopMessage" part="part1">
>        <vprop:query>/ns0:end/id</vprop:query>
>    </vprop:propertyAlias>
> </definitions>
>
> the BPELService (that contains the initMessage definition)
>
> <?xml version="1.0" encoding="UTF-8"?>
> <definitions name="BPELService" targetNamespace="
> http://j2ee.netbeans.org/wsdl/BPELService"
>    xmlns="http://schemas.xmlsoap.org/wsdl/"
>    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>    xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="
> http://j2ee.netbeans.org/wsdl/BPELService" xmlns:ns="
> http://xml.netbeans.org/schema/Data" xmlns:plnk="
> http://docs.oasis-open.org/wsbpel/2.0/plnktype" xmlns:soap="
> http://schemas.xmlsoap.org/wsdl/soap/">
>    <types>
>        <xsd:schema targetNamespace="
> http://j2ee.netbeans.org/wsdl/BPELService">
>            <xsd:import namespace="http://xml.netbeans.org/schema/Data"
> schemaLocation="Data.xsd"/>
>        </xsd:schema>
>    </types>
>    <message name="InitMessage">
>        <part name="part1" element="ns:init"/>
>    </message>
>    <message name="QueryMessageIn">
>        <part name="part1" element="ns:queryIn"/>
>    </message>
>    <message name="StopMessage">
>        <part name="part1" element="ns:end"/>
>    </message>
>    <message name="Out">
>        <part name="part1" element="ns:result"/>
>    </message>
>    <portType name="BPELServicePortType">
>        <operation name="Query">
>            <input name="input2" message="tns:QueryMessageIn"/>
>        </operation>
>        <operation name="Stop">
>            <input name="input3" message="tns:StopMessage"/>
>        </operation>
>        <operation name="Start">
>            <input name="input1" message="tns:InitMessage"/>
>
>        </operation>
>    </portType>
>    <binding name="BPELServiceBinding" type="tns:BPELServicePortType">
>        <soap:binding style="document" transport="
> http://schemas.xmlsoap.org/soap/http"/>
>        <operation name="Query">
>            <soap:operation/>
>            <input name="input2">
>                <soap:body use="literal"/>
>            </input>
>        </operation>
>        <operation name="Stop">
>            <soap:operation/>
>            <input name="input3">
>                <soap:body use="literal"/>
>            </input>
>        </operation>
>        <operation name="Start">
>            <soap:operation/>
>            <input name="input1">
>                <soap:body use="literal"/>
>            </input>
>
>        </operation>
>    </binding>
>    <service name="BPELServiceService">
>        <port name="BPELServicePort" binding="tns:BPELServiceBinding">
>            <soap:address location="http://localhost:
> ${HttpDefaultPort}/BPELServiceService/BPELServicePort"/>
>        </port>
>    </service>
>    <plnk:partnerLinkType name="BPELService">
>        <!-- A partner link type is automatically generated when a new port
> type is added. Partner link types are used by BPEL processes.
> In a BPEL process, a partner link represents the interaction between the
> BPEL process and a partner service. Each partner link is associated with a
> partner link type.
> A partner link type characterizes the conversational relationship between
> two services. The partner link type can have one or two roles.-->
>        <plnk:role name="BPELServicePortTypeRole"
> portType="tns:BPELServicePortType"/>
>    </plnk:partnerLinkType>
> </definitions>
>
>
> this is the data.xsd (contains the init message)
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <xsd:schema
>    xmlns="http://www.w3.org/2001/XMLSchema"
>    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>    targetNamespace="http://xml.netbeans.org/schema/Data" xmlns:ns="
> http://xml.netbeans.org/schema/Data"
>    >
>    <element name="init">
>        <complexType>
>            <sequence>
>                <element name="id" type="xsd:string"/>
>            </sequence>
>        </complexType>
>    </element>
>    <element name="end">
>        <complexType>
>            <sequence>
>                <element name="id" type="xsd:string"/>
>            </sequence>
>        </complexType>
>    </element>
>
>    <element name="queryIn">
>        <complexType>
>            <sequence>
>                <element name="query" type="xsd:string"/>
>                <element name="location" type="xsd:string"/>
>                <element name="id" type="xsd:string"/>
>            </sequence>
>        </complexType>
>    </element>
>    <element name="result">
>        <complexType>
>            <sequence>
>                <element name="value" type="xsd:string"/>
>                <element name="id" type="xsd:string"/>
>
>            </sequence>
>        </complexType>
>    </element>
>
>
> </xsd:schema>
>
>
> if someone wants to see all the files (the bpel and so on) i'd putted all
> online here: http://bako.interfree.it/BPELCorrelationProblem.zip in this
> file there's also present the service for axis2 that will makes all the bpel
> works.
>
> i'm getting crazy
> thanks all.

I hope I saved your day :-)

Regards,
-- 
Rafał Rusin
http://www.touk.pl
http://top.touk.pl
http://people.apache.org/~rr/