Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.7.4, 2.6.7
-
None
-
Unknown
Description
CXF support to setup the namespaces in the soap envelope by setting the property of soap.env.ns.map like the below setting, but it doesn't take effect when throwing the fault from handler like this.
<jaxws:endpoint id="cxfEndpoint" address="http://localhost:5555" wsdlURL="wsdl/demo.wsdl" serviceClass="example.esb.testing.HelloPortType" serviceName="s:HelloService" xmlns:s="urn:example:esb:testing"> <jaxws:properties> <entry key="soap.env.ns.map"> <map> <entry key="esb" value="http://www.example.com/esb/20080930/header" /> </map> </entry> </jaxws:properties> <jaxws:handlers> <ref bean="faultThrowingHandler" /> </jaxws:handlers> </jaxws:endpoint>