eclipse-ee4j / metro-jax-ws

metro-jax-ws
https://eclipse-ee4j.github.io/metro-jax-ws/
BSD 3-Clause "New" or "Revised" License
72 stars 40 forks source link

Default exception handles adds useless namespace when SOAP 1.1 is used #555

Open Tomas-Kraus opened 2 years ago

Tomas-Kraus commented 2 years ago

When some exception is thrown which is not modeled, the following is returned:

<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <s:Header xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" />
  <S:Body>
    <S:Fault xmlns:ns4="http://www.w3.org/2003/05/soap-envelope">
      <faultcode>S:Server</faultcode>
      <faultstring>org.xml.sax.SAXParseException</faultstring>
    </S:Fault>
  </S:Body>
</S:Envelope>

The WSDL uses sole SOAP 1.1, still the WSDL generated at runtime adds the ns4 namespace which is SOAP 1.2. This is useless and irritating.

Affected Versions

[2.2.8]

Source: https://github.com/javaee/metro-jax-ws/issues/1165 Author: glassfishrobot