roskart / dropwizard-jaxws

Dropwizard bundle that enables building SOAP web services and clients using JAX-WS API
Apache License 2.0
43 stars 36 forks source link

Setting the SOAP envelope prefix? #18

Closed chriskessel closed 5 years ago

chriskessel commented 5 years ago

Not really an issue, but I can't figure how how to do this. I need the SOAP envelop elements prefixed with "S" rather than "soap" for backwards compatibility with the app I'm replacing. How do I do that with dropwizard-jaxws?

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
chriskessel commented 5 years ago

Apologies, I found some example code in your repo that shows adding an interceptor and from there I figured out how to hack a CXF interceptor to do it. Hurray for example code :)