[ 
https://issues.apache.org/jira/browse/CXF-2463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Kulp resolved CXF-2463.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.5
                   2.1.8
         Assignee: Daniel Kulp

> SOAP 1.2 service return SOAP 1.2 Fault message in response to SOAP 1.1 
> request when exception is thrown
> -------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-2463
>                 URL: https://issues.apache.org/jira/browse/CXF-2463
>             Project: CXF
>          Issue Type: Bug
>          Components: Soap Binding
>    Affects Versions: 2.2.3
>            Reporter: Michael Brennan
>            Assignee: Daniel Kulp
>             Fix For: 2.1.8, 2.2.5
>
>
> I've created a JAX-WS web service using JAXB databinding that I would like to 
> support both SOAP 1.1 and SOAP 1.2. Based on info I saw referenced elsewhere, 
> I configured it as a SOAP 1.2 endpoint expecting that CXF (as of version 
> 2.2.3, anyway) would properly return a SOAP 1.1 response to a SOAP 1.1 
> request.
> This works fine for successful responses, but when my service throws an 
> exception, CXF is returning a SOAP 1.2 fault message. I tried changing my 
> code to throw a SOAPFaultException and used SOAPFactory to explicity create a 
> SOAPFault for SOAP 1.1. protocol. In this case, the fault code ends up scoped 
> to the SOAP 1.1 namespace, but it's returned in a SOAP 1.2 envelope (and SOAP 
> 1.2 format Reason).

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

Reply via email to