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 accessing fault data
Date Sat, 13 Sep 2008 12:38:38 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

iD8DBQFIy7RO0Do4wUHmzBsRAt2zAJ0dTer6dEdYBfsWn6YlN/Fu9iy0iQCeMc5h
17MMLnQugC+nDwuoYIdxu6E=
=D+F4
-----END PGP SIGNATURE-----

Mime
View raw message