Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.7.6, 1.7.7, 1.7.9
-
None
-
None
Description
After following uplift:
- Axiom API current version 1.2.14 (Dec, 2012), uplifted to version in MVN Repository 1.2.22 (Jan, 2019)
- Apache Axis2 current version 1.6.3 (Jun, 2015), uplifted to version in MVN Repository 1.7.9 (Nov, 2018)
we found there is a extra empty tag <soapenv:Header/> in the soap fault envelop:
<?xml version='1.0' encoding='UTF-8'?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Client</faultcode>
<faultstring>FaultException</faultstring>
<detail>
...
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
It is not a error as <soapenv:Header> is optional. But this extra empty tag failed many test cases and might impact customer as well.
Why this behavior changed to send such empty tag <soapenv:Header/> (comparing to 1.6.4)?
Is there some options for axis2 user to get rid of this extra <soapenv:Header/> if it is empty?
Regards,
Jian