You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Niek Palm (JIRA)" <ji...@apache.org> on 2009/08/10 10:50:14 UTC

[jira] Created: (CXF-2384) SOAPFaultExcption thrown instead of a WebServiceException

SOAPFaultExcption thrown instead of a WebServiceException
---------------------------------------------------------

                 Key: CXF-2384
                 URL: https://issues.apache.org/jira/browse/CXF-2384
             Project: CXF
          Issue Type: Bug
    Affects Versions: 2.2.2
         Environment: jdk1.6, ubuntu 9.10
            Reporter: Niek Palm


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, Service.Mode.MESSAGE);
	SOAPMessage response = dispatch.invoke(request);

Looking in the API  (http://java.sun.com/javase/6/docs/api/javax/xml/ws/Dispatch.html#invoke(T)), 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.


[jira] Commented: (CXF-2384) SOAPFaultExcption thrown instead of a WebServiceException

Posted by "Niek Palm (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12897595#action_12897595 ] 

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 above. 

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: https://issues.apache.org/jira/browse/CXF-2384
>             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, Service.Mode.MESSAGE);
> 	SOAPMessage response = dispatch.invoke(request);
> Looking in the API  (http://java.sun.com/javase/6/docs/api/javax/xml/ws/Dispatch.html#invoke(T)), 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.


[jira] Commented: (CXF-2384) SOAPFaultExcption thrown instead of a WebServiceException

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12897362#action_12897362 ] 

Daniel Kulp commented on CXF-2384:
----------------------------------



You'll probably need to provide a full test case.  If you see the test that was added for this:

http://svn.apache.org/viewvc/cxf/trunk/systests/jaxws/src/test/java/org/apache/cxf/systest/dispatch/DispatchClientServerTest.java?view=markup

(line 128) you can see it specifically asserts that it's not a SOAPFaultException.



> SOAPFaultExcption thrown instead of a WebServiceException
> ---------------------------------------------------------
>
>                 Key: CXF-2384
>                 URL: https://issues.apache.org/jira/browse/CXF-2384
>             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, Service.Mode.MESSAGE);
> 	SOAPMessage response = dispatch.invoke(request);
> Looking in the API  (http://java.sun.com/javase/6/docs/api/javax/xml/ws/Dispatch.html#invoke(T)), 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.


[jira] Reopened: (CXF-2384) SOAPFaultExcption thrown instead of a WebServiceException

Posted by "Niek Palm (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Niek Palm reopened CXF-2384:
----------------------------


I test the solution against 2.2.7 and 2.2.9, it seems still not fixed.

I test the the solution by calling a not running service. We still get a SOAPFaultException which means that there is a SOAPFault. Since the service cannot be called there is no SOAPFault. The correct solution should be throw an exception that is a instance of WebServiceException based on a ConnectionException in stead of throwing an SOAPFaultException based on a ConnectionException.


So here a CXF code snippet.

class: org.apache.cxf.jaxws.DispatchImpl

...
    private RuntimeException mapException(Exception ex) {
        if (ex instanceof Fault && ex.getCause() instanceof IOException) {
            throw new WebServiceException(ex.getMessage(), ex.getCause());
        }

should be changed to some like:
...
    private RuntimeException mapException(Exception ex) {
        if (ex instanceof Fault && (ex.getCause() instanceof IOException || ex.getCause() instanceof ConnectionException)) {
            throw new WebServiceException(ex.getMessage(), ex.getCause());
        }

Maybe there is no need (anymore to check against an IOExcption

> SOAPFaultExcption thrown instead of a WebServiceException
> ---------------------------------------------------------
>
>                 Key: CXF-2384
>                 URL: https://issues.apache.org/jira/browse/CXF-2384
>             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, Service.Mode.MESSAGE);
> 	SOAPMessage response = dispatch.invoke(request);
> Looking in the API  (http://java.sun.com/javase/6/docs/api/javax/xml/ws/Dispatch.html#invoke(T)), 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.


[jira] Reopened: (CXF-2384) SOAPFaultExcption thrown instead of a WebServiceException

Posted by "Niek Palm (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Niek Palm reopened CXF-2384:
----------------------------


We have upgraded to cxf 2.2.6 but still get a SOAPFaultExcpetion instead of a WebServiceException when the service is not running. 





> SOAPFaultExcption thrown instead of a WebServiceException
> ---------------------------------------------------------
>
>                 Key: CXF-2384
>                 URL: https://issues.apache.org/jira/browse/CXF-2384
>             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.4
>
>
> 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, Service.Mode.MESSAGE);
> 	SOAPMessage response = dispatch.invoke(request);
> Looking in the API  (http://java.sun.com/javase/6/docs/api/javax/xml/ws/Dispatch.html#invoke(T)), 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.


[jira] Commented: (CXF-2384) SOAPFaultExcption thrown instead of a WebServiceException

Posted by "Jonathan Anstey (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12905486#action_12905486 ] 

Jonathan Anstey commented on CXF-2384:
--------------------------------------

Hi Dan,

I don't want to make this any more confusing but there seems to be a mismatch between the spec and the javadoc... the spec says the following about a failed dispatch:

{quote}
4.3.1 Configuration
...
Conformance (Failed Dispatch.invoke): When an operation is invoked using an invoke method, an
implementation MUST throw a WebServiceException if there is any error in the configuration of the
Dispatch instance or a ProtocolException if an error occurs during the remote operation invocation.
{quote}

whereas the javadoc, as was pointed out in an earlier comment, says:

{quote}
Throws:
WebServiceException - If a fault occurs during communication with the service
WebServiceException - If there is any error in the configuration of the Dispatch instance
{quote}

Technically, a ProtocolException IS a WebServiceException but you would have thought that the javadoc would have said that

{quote}
Throws:
ProtocolException - If a fault occurs during communication with the service
WebServiceException - If there is any error in the configuration of the Dispatch instance
{quote}

Wondering if this is a "bug" in the javadoc or if they just loosened the requirement a bit.

Any thoughts?

Cheers,
Jon

> SOAPFaultExcption thrown instead of a WebServiceException
> ---------------------------------------------------------
>
>                 Key: CXF-2384
>                 URL: https://issues.apache.org/jira/browse/CXF-2384
>             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, Service.Mode.MESSAGE);
> 	SOAPMessage response = dispatch.invoke(request);
> Looking in the API  (http://java.sun.com/javase/6/docs/api/javax/xml/ws/Dispatch.html#invoke(T)), 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.


[jira] Commented: (CXF-2384) SOAPFaultExcption thrown instead of a WebServiceException

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12897813#action_12897813 ] 

Daniel Kulp commented on CXF-2384:
----------------------------------


If I comment out the line that starts the server, the test also passes.  

I've also added a test in the same class that tests the case where it's using a correct port, but a path to where a service isn't running. (aka: gets a 404 return code back)    That is also passing with a WebServiceException wrappering an IOException.

Thus, everything looks like it's  working correctly from my point of view.   To do much of anything else, we'll really need a  complete test case.

> SOAPFaultExcption thrown instead of a WebServiceException
> ---------------------------------------------------------
>
>                 Key: CXF-2384
>                 URL: https://issues.apache.org/jira/browse/CXF-2384
>             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, Service.Mode.MESSAGE);
> 	SOAPMessage response = dispatch.invoke(request);
> Looking in the API  (http://java.sun.com/javase/6/docs/api/javax/xml/ws/Dispatch.html#invoke(T)), 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.


[jira] Commented: (CXF-2384) SOAPFaultExcption thrown instead of a WebServiceException

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12905534#action_12905534 ] 

Daniel Kulp commented on CXF-2384:
----------------------------------



My gut feeling says it's a bug in the javadoc.  Normally, you wouldn't list the same exception twice in the javadoc throws.

> SOAPFaultExcption thrown instead of a WebServiceException
> ---------------------------------------------------------
>
>                 Key: CXF-2384
>                 URL: https://issues.apache.org/jira/browse/CXF-2384
>             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, Service.Mode.MESSAGE);
> 	SOAPMessage response = dispatch.invoke(request);
> Looking in the API  (http://java.sun.com/javase/6/docs/api/javax/xml/ws/Dispatch.html#invoke(T)), 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.


[jira] Assigned: (CXF-2384) SOAPFaultExcption thrown instead of a WebServiceException

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp reassigned CXF-2384:
--------------------------------

    Assignee: Daniel Kulp

> SOAPFaultExcption thrown instead of a WebServiceException
> ---------------------------------------------------------
>
>                 Key: CXF-2384
>                 URL: https://issues.apache.org/jira/browse/CXF-2384
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.2
>         Environment: jdk1.6, ubuntu 9.10
>            Reporter: Niek Palm
>            Assignee: Daniel Kulp
>
> 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, Service.Mode.MESSAGE);
> 	SOAPMessage response = dispatch.invoke(request);
> Looking in the API  (http://java.sun.com/javase/6/docs/api/javax/xml/ws/Dispatch.html#invoke(T)), 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.


[jira] Resolved: (CXF-2384) SOAPFaultExcption thrown instead of a WebServiceException

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-2384.
------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.2.4)
                   2.2.7


OK.   Better testcase written and bug fixed.

> SOAPFaultExcption thrown instead of a WebServiceException
> ---------------------------------------------------------
>
>                 Key: CXF-2384
>                 URL: https://issues.apache.org/jira/browse/CXF-2384
>             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, Service.Mode.MESSAGE);
> 	SOAPMessage response = dispatch.invoke(request);
> Looking in the API  (http://java.sun.com/javase/6/docs/api/javax/xml/ws/Dispatch.html#invoke(T)), 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.


[jira] Resolved: (CXF-2384) SOAPFaultExcption thrown instead of a WebServiceException

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-2384.
------------------------------

    Resolution: Fixed


Re-marking this as resolved as the tests pass.

HOWEVER, this may also be a "won't fix" as I think I know the issue.  CXF delays connecting until a buffer (defaults to 4K fills) or the message finishes writing so that we can flip to non-chunked mode for small messages.   If the connection is made during the writing of larger requests, we may get the exceptions wrapped in a variety of different exceptions (like JAXB exceptions or Stax exceptions and such) and thus may be difficult or impossible to detect.  The workaround is to configure in a larger buffer size.   See ChunkingThreshold info at:
https://cwiki.apache.org/confluence/display/CXF20DOC/Client+HTTP+Transport+(including+SSL+support)

> SOAPFaultExcption thrown instead of a WebServiceException
> ---------------------------------------------------------
>
>                 Key: CXF-2384
>                 URL: https://issues.apache.org/jira/browse/CXF-2384
>             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, Service.Mode.MESSAGE);
> 	SOAPMessage response = dispatch.invoke(request);
> Looking in the API  (http://java.sun.com/javase/6/docs/api/javax/xml/ws/Dispatch.html#invoke(T)), 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.


[jira] Commented: (CXF-2384) SOAPFaultExcption thrown instead of a WebServiceException

Posted by "Adriaan Wisse (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12754993#action_12754993 ] 

Adriaan Wisse commented on CXF-2384:
------------------------------------

We are still facing this problem. Will there be any response?

> SOAPFaultExcption thrown instead of a WebServiceException
> ---------------------------------------------------------
>
>                 Key: CXF-2384
>                 URL: https://issues.apache.org/jira/browse/CXF-2384
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.2
>         Environment: jdk1.6, ubuntu 9.10
>            Reporter: Niek Palm
>
> 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, Service.Mode.MESSAGE);
> 	SOAPMessage response = dispatch.invoke(request);
> Looking in the API  (http://java.sun.com/javase/6/docs/api/javax/xml/ws/Dispatch.html#invoke(T)), 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.


[jira] Resolved: (CXF-2384) SOAPFaultExcption thrown instead of a WebServiceException

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-2384.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.4

> SOAPFaultExcption thrown instead of a WebServiceException
> ---------------------------------------------------------
>
>                 Key: CXF-2384
>                 URL: https://issues.apache.org/jira/browse/CXF-2384
>             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.4
>
>
> 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, Service.Mode.MESSAGE);
> 	SOAPMessage response = dispatch.invoke(request);
> Looking in the API  (http://java.sun.com/javase/6/docs/api/javax/xml/ws/Dispatch.html#invoke(T)), 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.