On Jun 4, 2008, at 5:35 AM, John-M Baker wrote:

Hello,

If a SOAP call defines an exception, does CXF handle this correctly? I
recall Axis2 totally fails to throw exceptions.

i.e. public String myMethod(String arg) throws MyException ...

Depends on the exception and how you define "correctly".   :-)

Seriously, the JAX-WS spec dictates some details about how Exceptions are to be mapped and handled. If the "MyException" exception follows basic "bean like" rules, we can handle it. Alternatively, if you can modify the exception to add @WebFault annotations and getFaultInfo methods to map it to a bean like state, we will use that as well.


Dan







John Baker
--
Web SSO
IT Infrastructure
Deutsche Bank London

URL:  http://websso.cto.gt.intranet.db.com


---

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e- mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.

Please refer to http://www.db.com/en/content/eu_disclosures.htm for additional EU corporate and regulatory disclosures.

---
Daniel Kulp
[EMAIL PROTECTED]
http://www.dankulp.com/blog




Reply via email to