I was able to fix this with a minor update on the helloworld.bpel file
to assign only the result string to helloResponse.
<assign name="assignToHelloResponse">
<copy>
<from>$greetingsResponse.parameters/greetings:getGreetingsReturn</from>
<to>$helloResponse.TestPart</to>
</copy>
</assign>
We now have the (should i say initial) Reference support working, and
I just need to cleanup the code and make it a bit more flexible
without some hard code stuff I was using to speed up on my side.
Thanks All for all the help.
On Fri, Apr 18, 2008 at 3:43 PM, Luciano Resende <[EMAIL PROTECTED]> wrote:
> Thanks Juergen, that was really helpful.
>
> I have made minor enhancements on the test case to use a WSDL
> interface (revision #649700 and 649701), and with the additional
> information from the the interface, I can now create proper response
> messages for the reference invocation..
>
>
> <?xml version="1.0" encoding="UTF-8"?>
> <message>
> <parameters>
> <getGreetingsResponse xmlns="http://greetings">
> <getGreetingsReturn>Hello Luciano</getGreetingsReturn>
> </getGreetingsResponse>
> </parameters>
> </message>
>
> But the test case is still failing with null response back from the
> BPEL Invocation. Looks like the original reply might be still
> inproper, I'm debugging it now.
>
> Bellow is the reply for the BPEL invocation that is actually being
> sent to ODE engine: :
>
> <message>
> <TestPart>
> <hello xmlns="http://helloworld">
> <getGreetingsReturn xmlns="http://greetings">Hello
> Luciano</getGreetingsReturn>
> </hello>
> </TestPart>
> </message>
>
> And comparing with the plain helloworld bpel responses, the message
> looks little different.
>
> <message>
> <TestPart>
> <hello
> xmlns="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl">Hello
> World</hello>
> </TestPart>
> </message>
>
>
> I'll let you know if I can make further progress.
>
>
>
> On Fri, Apr 18, 2008 at 6:31 AM, <[EMAIL PROTECTED]> wrote:
> > Hi again,
> >
> >
> > > <assign name="assignToHelloResponse">
> > > <copy>
> > > <from>$greetingsResponse.parameters</from>
> > > <to>$helloResponse.TestPart</to>
> > > </copy>
> > > </assign>
> >
> > This one makes the test succeed:
> >
> > <from>$greetingsResponse/getGreetingsResponse/return</from>
> >
> > But I'm quite sure that this is not the correct fix ...
> > but at least the tranaction handling is fine, it seems.
> >
> > Cheers,
> > Juergen
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
>
> --
>
>
> Luciano Resende
> Apache Tuscany Committer
> http://people.apache.org/~lresende
> http://lresende.blogspot.com/
>
--
Luciano Resende
Apache Tuscany Committer
http://people.apache.org/~lresende
http://lresende.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]