cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Diephouse <...@envoisolutions.com>
Subject Re: Fault Message
Date Sun, 15 Oct 2006 16:30:11 GMT
James Mao wrote:

> I'm wondering if the String getMessage() in 
> org.apache.cxf.interceptor.Fault can be changed to List<String> 
> getMessage()
> The previous one assumed that there is only one line of the message, 
> the latter will allow us to put multiple lines into the fault message.
> Because in SOAP12 Fault, the SOAP Reason element allow one or *more* 
> Text element.
>
> Thoughts?
>
> - james.

Good catch. That sounds good to me. Although I might suggest having a 
getMessage() which returns the first String in the list and a 
getMessages() which returns List<String>.

- Dan

-- 
Dan Diephouse
(616) 971-2053
Envoi Solutions LLC
http://netzooid.com


Mime
View raw message