On Dec 21, 2012, at 6:24 AM, WIELGUS Franck <franck.wiel...@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 dk...@apache.org - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com