Hello everybody,
the WebService response generated by Spring-WS always adds all namespaces that are known by the JAXB Context:
You can see that ns3 is added to the response even though it is not used.Code:<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header/> <SOAP-ENV:Body> <ns2:MyResponse para1="123 xmlns:ns2="http://mycomp.com/myapp2" xmlns:ns3="http://mycomp.com/myapp3"/> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
Does anybody know a way how to drop unused namespaces from the response?
Thanks for any advice,
Christian


Reply With Quote