A customer has asked us to remove comments generated by Jx-WS from the generated WSDL and XSD files. The generated files have such comments:
& lt ;! - JAX-WS RI 2.x.x-xxx- version of RI published by JAGS-WS-RI at http://jax-ws.dev.java.net. - & gt; I just could not find anything to do this, so I will ask here. Apart from the JADS-PS strip any of its easy solution?
To answer my own question: The easiest solution to patch the version number in the jar file For which file name version. Properties are read (/com/sun/xml/ws/util/version.properties) and rebuild the jar file jaxws-rt.jar, in which this class.
An alternative approach also works by using the servlet filter in tomcat, but there is also a performance penalty.
Comments
Post a Comment