The problem is that the client enters in the while cicle of the follofing
method of ClientImpl class: 

    protected void waitResponse(Exchange exchange) {
        int remaining = synchronousTimeout;
        while (!Boolean.TRUE.equals(exchange.get(FINISHED)) && remaining >
0) {
            long start = System.currentTimeMillis();
            try {
                exchange.wait(remaining);
            } catch (InterruptedException ex) {
                // ignore
            }
            long end = System.currentTimeMillis();
            remaining -= (int)(end - start);
        }
        if (!Boolean.TRUE.equals(exchange.get(FINISHED))) {
            LogUtils.log(LOG, Level.WARNING, "RESPONSE_TIMEOUT",
                exchange.get(OperationInfo.class).getName().toString());
        }
    }
        
and this happens because the message received from the dispatcher, when an
exception occurs, doesnt't contain the property:
    exchange.finished=true
Where can I set this property to avoid to wait?
Thanks,

Andrea



--
View this message in context: 
http://cxf.547215.n5.nabble.com/WebServiceException-is-not-propagated-from-Provider-Source-to-the-client-tp5728573p5728738.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to