cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: how is set the lang parameter in a soap fault
Date Fri, 21 Dec 2012 15:41:37 GMT

On Dec 21, 2012, at 6:24 AM, WIELGUS Franck <Franck.WIELGUS@solucom.fr> wrote:

> Hi
> 
> How is set the "lang" parameter for a reason in a soap fault ?
> 
> soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
>   <soap:Body>
>      <soap:Fault>
>         <soap:Code>
>            <soap:Value>soap:Receiver</soap:Value>
>         </soap:Code>
>         <soap:Reason>
>            <soap:Text xml:lang="en">tttt</soap:Text>
>         </soap:Reason>
> 
> Is it based on the default locale of the JVM ? Is it related to a specific parameter
(bundle ? locale ? ) that is used when the SoapFault is generated ?

Right now, it's just:

String code = LOG.getResourceBundle().getLocale().getLanguage();

which would mean the default locale of the JVM.



-- 
Daniel Kulp
dkulp@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com


Mime
View raw message