[
https://issues.apache.org/jira/browse/CXF-2780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Freeman Fang resolved CXF-2780.
-------------------------------
Fix Version/s: 2.3
2.2.8
Resolution: Fixed
commit fix
http://svn.apache.org/viewvc?rev=939241&view=rev for trunk
http://svn.apache.org/viewvc?rev=939243&view=rev for 2.2 branch
> Wrong soap fault code thrown on network connection failure
> ----------------------------------------------------------
>
> Key: CXF-2780
> URL: https://issues.apache.org/jira/browse/CXF-2780
> Project: CXF
> Issue Type: Bug
> Components: Soap Binding
> Affects Versions: 2.2
> Environment: Windows XP
> Reporter: Tomasz Olszewski
> Assignee: Freeman Fang
> Fix For: 2.3, 2.2.8
>
>
> When a webservice call fails due to a network failure (for example when the
> server is down and no connection can be made) CXF throws SoapFault with
> client fault code. This violates the following rule:
> "The Client class of errors indicate that the message was incorrectly formed
> or did not contain the appropriate information in order to succeed. For
> example, the message could lack the proper authentication or payment
> information. It is generally an indication that the message should not be
> resent without change."
> (http://www.w3.org/TR/2000/NOTE-SOAP-20000508/#_Toc478383510)
> Exception is thrown in the following
> place:http://fisheye6.atlassian.com/browse/cxf/branches/2.2.x-fixes/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/SoapOutInterceptor.java?r=920584#l285.
> I believe that it should be enough and safe to change
> "soapVersion.getSender()" in the linked code to "soapVersion.getReceiver()".
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.