Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.7.14, 2.7.15
-
None
-
Unknown
Description
When using CXF 2.7.14 or later this request fails
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SOAP-ENV:Body xmlns:xs="http://www.w3.org/2001/XMLSchema"> <ns0:echo xmlns:ns0="http://example.com"> <ns0:s xsi:type="xs:string">hello</ns0:s> </ns0:echo> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
with the error
<Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"/> <soap:Body> <soap:Fault> <faultcode>soap:Server</faultcode> <faultstring>prefix xs is not bound to a namespace</faultstring> </soap:Fault> </soap:Body> </soap:Envelope>
Prior to the changes for CXF-5891 this worked without any problems. Analysis from Red Hat engineering seems to say that it looks that all attributes and namespace settings in soap:envelop or soap:body elements are all ignored in ReadHeaderInterceptor and SAAJInInterceptor.
Attachments
Issue Links
- relates to
-
CXF-5891 ReadHeadersInterceptor performances improvement
- Closed