Hi Guy.

Take a look at this link
http://willemjiang.blogspot.com/2011/01/how-to-map-soap-fault-message-with.html
Maybe it can help a little.

BR,
Stas

On Thu, Jan 5, 2012 at 11:12 AM, Guy Pardon <[email protected]> wrote:
> Indeed, it works. Cool!
>
> Guy
>
> On 4-jan-2012, at 16:25, Daniel Kulp wrote:
>
> On Thursday, December 29, 2011 3:29:29 PM Guy Pardon wrote:
>> Hi,
>>
>> What is the easiest way to set the "Code" element of an exception thrown by
>> my @WebMethod?
>
> I THINK if the "cause" of an exception that is thrown is a SOAPFaultException,
> the information from that SOAPFault is used to populate the returned fault.
> Thus, you can set the code there.
>
> --
> Daniel Kulp
> [email protected] - http://dankulp.com/blog
> Talend Community Coder - http://coders.talend.com
>
> Dr. Guy Pardon | Atomikos BVBA | a 'Cool Vendor' by Gartner in 2011
>
> CTO
> Phone: +32 15 61 30 55 | Email: [email protected] | Twitter: 
> http://twitter.com/guypardon | Skype: guypardon | YahooIM: guypardon
>
> Europe: CET (local time: http://www.timeanddate.com/worldclock/city.html?n=48)
>
> Visit us at http://www.atomikos.com/
>
> Visit our blog at http://blog.atomikos.com/
>
> Visit the Atomikos TransactionsEssentials Community at 
> http://fogbugz.atomikos.com/default.asp?community
>
> Visit the Atomikos Training site at 
> http://www.atomikos.com/Main/AtomikosTraining
>
> The information in this email is confidential and only meant for the 
> addressee(s). The content of this email is informal and will not be legally 
> binding for Atomikos.
>

Reply via email to