Aki Yoshida created CXF-4647:
--------------------------------

             Summary: A wrong soap action when using ws-addressing may lead to 
an empty response or the fault with the wrong action
                 Key: CXF-4647
                 URL: https://issues.apache.org/jira/browse/CXF-4647
             Project: CXF
          Issue Type: Bug
          Components: WS-* Components
    Affects Versions: 2.7.0
            Reporter: Aki Yoshida
            Assignee: Aki Yoshida


This issue was reported in users@cxf
http://cxf.547215.n5.nabble.com/SOAPAction-tc5718944.html

When the soap action value does not match the ws-addressing's action or that 
action is not supported by the endpoint, an exception is raised and an 
appropriate SOAP fault message must be returned, which is specified in
http://www.w3.org/TR/2006/REC-ws-addr-soap-20060509/#soapfaults

Currently, there are two issues:

1. the soap fault code is correctly set but the soap action value is not 
correctly set to http://www.w3.org/2005/08/addressing/fault.

2. if the endpoint defines a fault type that has no message part, an NPE is 
thrown and this can lead to an empty response instead of a fault response.



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to