On Wed, Jul 2, 2008 at 5:23 PM, Matthieu Riou <[EMAIL PROTECTED]> wrote:
> Can you try with the 1.2 we're currently releasing? It's published here for
> now (until the release is final):
>
> http://people.apache.org/~mriou/ode-1.2/org/apache/ode/apache-ode-war/1.2/
Hi Matthieu, that's what I did just before your email. With the same
process definition etc. I sent yesterday I noticed a different
behavior: a selectionFailure for OrderId. This is actually the
correlation property and I found its property aliases in the file
Test2Artifacts.wsdl, which is automatically generated by
Lomboz/EclipseBPEL, where there were the following:
<vprop:propertyAlias messageType="wsdl:HelloWorldRequestMessage"
part="payload" propertyName="tns:OrderId">
<vprop:query><![CDATA[/OrderId]]></vprop:query>
</vprop:propertyAlias>
<vprop:propertyAlias messageType="wsdl:HelloWorldResponseMessage"
part="payload" propertyName="tns:OrderId">
<vprop:query><![CDATA[/OrderId]]></vprop:query>
</vprop:propertyAlias>
So what I thought is that the xpath contained in the vprop:query
should include the correct namespace prefix (is that correct?).
Therefore I changed these queries to have "/wsdl:OrderId" instead of
just "/OrderId" (because the ns prefix of the messageType is "wsdl").
You can find the modified file attached.
After this change I get the same error I had with ode 1.1.1
(java.lang.NullPointerException at
org.apache.ode.bpel.engine.MyRoleMessageExchangeImpl.invoke(MyRoleMessageExchangeImpl.java:134)
)
I also tried removing the correlation and using the "implicit
correlation" but the problem persists.
>From http://ssfak.org/temp/Test2.zip you can get the zip of all the
files ready to be deployed (it seems that I can not send the zip as
attachment)
Best regards,
Stelios
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
xmlns:tns="urn:test2:steliosArtifacts"
xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop"
xmlns:wsdl="http://sample.bpel.org/bpel/sample"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
name="Test2Artifacts" targetNamespace="urn:test2:steliosArtifacts">
<import location="AsyncHello.wsdl" namespace="http://sample.bpel.org/bpel/sample"/>
<plnk:partnerLinkType name="EchoHelloPLT">
<plnk:role name="EchoHelloServer" portType="wsdl:MyHelloWorld"/>
<plnk:role name="EchoHelloRequester" portType="wsdl:HelloWorldCallback"/>
</plnk:partnerLinkType>
<vprop:property name="OrderId" type="xsd:string"/>
<vprop:propertyAlias messageType="wsdl:HelloWorldRequestMessage" part="payload" propertyName="tns:OrderId">
<vprop:query><![CDATA[/wsdl:OrderId]]></vprop:query>
</vprop:propertyAlias>
<vprop:propertyAlias messageType="wsdl:HelloWorldResponseMessage" part="payload" propertyName="tns:OrderId">
<vprop:query><![CDATA[/wsdl:OrderId]]></vprop:query>
</vprop:propertyAlias>
</definitions>