Hi all,
I have the following problem using a provider to redirect SOAP web service
invocation from client to a server.
I have the class:

public class CustomProvider implements Provider<Source>{
    ....
        public Source invoke(Source request) {
                DOMSource source = ...;
                Dispatch<Source> dispatcher = ....;
                try{
                        Source response = dispatcher.invoke(source);
                        // 4. convert the response into a DOMSource to return 
to the
client
                        DOMSource domS = 
toDOMSourceFromSAX((SAXSource)response);
                        // Return service response to consumer
                        return domS;
                }catch(Exception ex){
                        throw new WebServiceException(ex); 
                }
        
        }
}
The anomalous behavior is the following:
of an exception is launched from the server, it is caught in the try catch
block of my CustomProvider,
however the new WebServiceException launched by the provider never arrives
to the client and client continues to wait a response.
Does anyone know why this happens?
Thanks a lot,

Andrea



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

Reply via email to