ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christoph M. Pflügler" <christoph.pflueg...@heigl-service.de>
Subject Re: accessing fault data
Date Sun, 14 Sep 2008 19:44:38 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I found the corresponding jira issue. So, faultName and fault type
(faultMessage?) have to have the same name, right? If so, are we talking
about qualified names? In other words, do they have to be in the same
namespace?

Thanks,
Christoph

Christoph M. Pflügler schrieb:
> Hi everybody,
> 
> I have the following exception message and corresponding element:
> 
> <wsdl:message name="ExceptionMSG">
>   	<wsdl:part name="exc" element="docs:ExceptionType"></wsdl:part>
>   </wsdl:message>
> 
> <xs:element name="ExceptionType">
> 	<xs:complexType>
> 		<xs:sequence>
> 			<xs:element ref="signals:Exception"/>
> 			<xs:element fixed="false" name="isPositiveSignal" type="xs:boolean"/>
> 		</xs:sequence>
> 	</xs:complexType>
> </xs:element>
> 
> In ODE-1.2RC1 I caught this exception-type as follows (without a problem):
> 
> <faultHandlers>
>    <catch faultMessageType="common_msg:ExceptionMSG"
> 	faultVariable="RAexceptionVar">
>    <sequence>
> 	...
>    </sequence>
>    </catch>
> </faultHandlers>
> 
> The problem is that exactly the same code works neither in ODE-1.2 nor
> in ODE-1.1.1 (it runs into the catchAll-clause).
> 
> Can somebody please tell me the correct catch statement for catching a
> fault like the above one and accessing the fault data in ODE 1.2?
> 
> Regards,
> Christoph
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIzWml0Do4wUHmzBsRAkQCAKC0C8mViGLhw14wHcKRESf2uz8TCwCfeqKe
hGenBZLmN3/L77DX2VukvOg=
=O6yN
-----END PGP SIGNATURE-----

Mime
View raw message