cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niek Palm (JIRA)" <>
Subject [jira] Commented: (CXF-2384) SOAPFaultExcption thrown instead of a WebServiceException
Date Thu, 12 Aug 2010 07:02:20 GMT


Niek Palm commented on CXF-2384:

The problem is that the test does not test the scenario when no server is running. You are
testing against a webservice against a running service and an invallid port.

Using the same test without running the service should will result in the point mentioned

Since I am not succeed to run the cxf test cases using maven it is not so easy to provide
the testcase.

> SOAPFaultExcption thrown instead of a WebServiceException
> ---------------------------------------------------------
>                 Key: CXF-2384
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.2
>         Environment: jdk1.6, ubuntu 9.10
>            Reporter: Niek Palm
>            Assignee: Daniel Kulp
>             Fix For: 2.2.7
> When the connection of the webservice is lost we get a SoapFaultException instead of
of a WebServiceException. We use the dispachter in the following way:
> 	Service service = Service.create(SERVICE_NAME);
> 	service.addPort(PORT_NAME, SOAPBinding.SOAP11HTTP_BINDING, url.toString());
> 	Dispatch<SOAPMessage> dispatch = service.createDispatch(PORT_NAME, SOAPMessage.class,
> 	SOAPMessage response = dispatch.invoke(request);
> Looking in the API  (,
there is specified that any communication problem will cause in a WebServiceException. To
our point of view this is a bug in cxf.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message