Missing <SOAP-ENV:Header> after upgrading from JBoss EAP 7.0 to 7.3

Posted on

Hi all,

I just upgraded the JBoss EAP from 7.0 to 7.3.4 but when I deployed our apps and test it I notice the SOAP-ENV:Header tag were missing in the SOAP response. Because we do want to break the client's application, Is there any way I can add it back to the SOAP response?

Sorry I had to mask the namespace and output.

JBoss EAP 7.0.0

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"/>
    <soap:Body>
        <ns2:processLeadAsXMLResponse xmlns:ns2="## masked ##">
            <result>
                <tns:GenericMessage xmlns:tns="## masked ##"
                    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="## masked ##">                    
                        ## masked ##                    
                    <InputData><![CDATA[## masked ##]]></InputData>
                </tns:GenericMessage>
            </result>
        </ns2:processLeadAsXMLResponse>
    </soap:Body>
</soap:Envelope>

JBoss EAP 7.3.4

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
        <ns2:processLeadAsXMLResponse xmlns:ns2="## masked ##">
            <result>
                <tns:GenericMessage xmlns:tns="## masked ##"
                    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="## masked ##">
                    ## masked ##
                    <InputData><![CDATA[## masked ##]]></InputData>
                </tns:GenericMessage>
            </result>
        </ns2:processLeadAsXMLResponse>
    </soap:Body>
</soap:Envelope>

Responses