Hi,
Thanks for suggestion.. But it did not work either..  But I can see by
the posts of Rich Taylor that this feature is working, at least in his
case..

What I've been trying do was to migrate a BPEL document that was
running in an pre-bpel 2.0 engine to ODE. May be some mistake was
hidden somewhere in the process & wsdl's  due to the complexity..

Now I'm going to try writing a simple BPLE doc to reproduce this case.
I'll log a Jira if it seems a bug in ODE.

thanks,
Thilina

On 10/23/07, Matthieu Riou <[EMAIL PROTECTED]> wrote:
> From the snippet you pasted everything looks fine, could you try the
> following:
>
>    - Use the BPEL 2.0 notation for the to assignment:
>    <bpws:to>$Adder_addInput.AddInputMessagePart</bpws:to>. Normally both 
> should
>    work exactly in the same way but you might have spotted a regression.
>    - If it doesn't work, set the org.apache.ode category to debug and
>    check if you see the assignment being done with the proper XML literal. 
> Send
>    you log if you don't see anything.
>
> Hopefully this will help a bit. The next step would be to create a Jira
> issue with your process if we still can't make it work.
>
> Cheers,
> Matthieu
>
> On 10/23/07, Thilina Gunarathne <[EMAIL PROTECTED]> wrote:
> >
> > Hi all,
> > I've been trying for last few days to get a simple BPEL document with
> > the following to work in ODE. Actually earlier I was trying to
> > initialize the variable inline, but realized that ODE does not support
> > that only after seeing a recent a mail in the list.
> > Then I tried to initialize the variable using an Assign activity as in
> > the attached BPEL snippet. But I ended up getting the following
> > error..
> >
> > 12:48:40,005 ERROR [INVOKE] org.apache.ode.bpel.common.FaultException:
> > {
> > http://docs.oasis-open.org/wsbpel/2.0/process/executable}uninitializedVariable
> > :
> > The variable Adder_addInput isn't properly initialized.
> >
> > What am I doing wrong?.. Hope a BPEL guru in this list will be able to
> > figure out what I missed.
> >
> > thanks,
> > Thilina
> >
> > <bpws:variable messageType="adder_add:AddInputMessage"
> > name="Adder_addInput"/>
> > ......
> >                 <bpws:assign name="Assign" validate="no">
> >                     <bpws:copy>
> >                         <bpws:from>
> >                             <bpws:literal>
> >                                 <adder_addtypens:AddInput
> > xmlns:adder_addtypens="http://www.tempuri.org/";>
> >                                     <x>10</x>
> >                                     <y>20</y>
> >                                 </adder_addtypens:AddInput>
> >                             </bpws:literal>
> >                         </bpws:from>
> >                         <bpws:to part="AddInputMessagePart"
> > variable="Adder_addInput"/>
> >                     </bpws:copy>
> >                 </bpws:assign>
> >
> >                 <bpws:invoke inputVariable="Adder_addInput"
> >                     name="Adder_add" operation="add"
> >                     outputVariable="Adder_addOutput"
> >                     partnerLink="Adder_addPartner"
> > portType="adder_add:Adder"/>...
> >
> > Schema and message declaration;
> >
> >                 <schema
> > elementFormDefault="unqualified"        targetNamespace="
> > http://www.tempuri.org/";
> >                         xmlns="http://www.w3.org/2001/XMLSchema";>
> >                         <element name="AddInput"
> > type="typens:AddInputType" />
> >                         <complexType name="AddInputType">
> >                                 <sequence>
> >                                         <element name="x" type="xsd:int">
> >                                         </element>
> >                                         <element name="y" type="xsd:int">
> >                                         </element>
> >                                 </sequence>
> >                         </complexType>....</schema>
> >
> > <message name="AddInputMessage">
> >                 <part name="AddInputMessagePart" element="typens:AddInput"
> > />
> >         </message>
> >
> >
> > --
> > Thilina Gunarathne  - http://thilinag.blogspot.com
> >
>


-- 
Thilina Gunarathne  - http://thilinag.blogspot.com

Reply via email to