cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Ma (JIRA)" <>
Subject [jira] [Created] (CXF-6752) Nillable header element is missing in soap header
Date Thu, 21 Jan 2016 06:24:39 GMT
Jim Ma created CXF-6752:

             Summary: Nillable header element is missing in soap header
                 Key: CXF-6752
             Project: CXF
          Issue Type: Bug
          Components: Soap Binding
    Affects Versions: 3.1.4, 3.0.7
            Reporter: Jim Ma
            Assignee: Jim Ma
             Fix For: 3.1.5, 3.0.8

 SoapOutInterceptor moves nillable header element to soap body when its value is set to null[1].
 For example, when the following header part value is set to null, this nillable element will
appear in soap body. 
public String echo(@WebParam(name = "message") String message.

    @WebParam(name = "paramOut",mode = WebParam.Mode.INOUT, header = true) Holder<String>
paramOut) {
        paramOut.value = null;
        return "echo: " + message;
<soap:Body><ns2:echoResponse xmlns:ns2="urn:echo"><result>echo: test</result></ns2:echoResponse><ns2:paramOut
xmlns:ns2="urn:echo" xmlns:xsi="" xsi:nil="true"/></soap:Body>

This message was sent by Atlassian JIRA

View raw message