ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Waruna Ranasinghe <waruna...@gmail.com>
Subject Re: Access Fault data
Date Wed, 24 Jun 2009 03:28:37 GMT
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 <adiaz.noriega@gmail.com>

> 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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message