cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Sosnoski <...@sosnoski.com>
Subject Re: Handling connection problems in WS-RM
Date Wed, 23 Feb 2011 20:20:22 GMT
On 02/24/2011 04:47 AM, Daniel Kulp wrote:
> On Wednesday 23 February 2011 5:11:27 AM Dennis Sosnoski wrote:
>   
>
>> Handling incomplete receive messages looks more involved. There are many
>> places in the code where XMLStreamException is caught and converted into
>> a Fault. I suppose I'd need to intercept the Fault handling and look at
>> whether the Fault was internally generated or received from the other
>> endpoint, and only pass those received from the other endpoint on to the
>> application. Is there any easy way I can tell?
>>     
> ...
> Actually, looking at ClientFaultConverter, it seems to already be done.   If 
> the FaultMode is UNCHECKED_APPLICATION_FAULT or CHECKED_APPLICATION_FAULT, it 
> would be from the other side (and would depend on if it's wsdl defined or 
> not).   If it's not one of those or is unset, it would be a local generated 
> fault.
>
>
> Does that help?
>   

Sounds good. I'll give it a try and see how it works out.

Thanks!

  - Dennis


Mime
View raw message