Hi,
if i use this method to create a fault, i can add a locale element.
But if i look into Soap1.2 spec, they support multiple reason strings with different languages:Code:soapBody().addClientOrSenderFault(myFault.getMessage(), Locale.ENGLISH);
But the javadoc of "addClientOrSenderFault" says:Code:<env:Reason> <env:Text xml:lang="en-US">Processing error</env:Text> <env:Text xml:lang="cs">Chyba zpracování</env:Text> </env:Reason> <env:Detail>...
This would mean, i can't add fault reasons in different languages.Adding a fault removes the current content of the body.
Cheers,
Ingo


Reply With Quote
