I think you need to initialise the variable before you copy something to that variable
----------------------------------------------------- Regards, Waruna Ranasinghe BLOG: http://warunapw.blogspot.com 2009/6/24 <[email protected]> > Hi everyone, > > What I need to do in order to access the data of a Fault message? Currently > I have a process that defines a fault message, and inside this message there > are 2 values: > > Fault in WSDL > -------------------------------------------------------------- > <element name="FaultMsg"> > <complexType> > <sequence> > <element name="errorTime" type="string"/> > <element name="errorDescription" type="string"/> > </sequence> > </complexType> > </element> > > For example, I'm triying to modify the value of errorDescription like this: > > </bpws:copy> > <bpws:copy> > <bpws:from> > <bpws:literal>Error found</bpws:literal> > </bpws:from> > <bpws:to part="payload" variable="error"> > <bpws:query > queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[/tns:errorDescription]]></bpws:query> > </bpws:to> > </bpws:copy> > > but it's getting me error like this: > "selectionFailure: No results for expression:" > > What I need to do? > > Best regards >
