May 1st, 2009, 07:09 AM
Customise auto-generated WSDL?
Is it possible to customise an auto-generated WSDL? If so, I'd be grateful if someone could point me in the right direction. I'm guessing it might involve either subclassing MessageDispatcherServlet or writing a custom Wsdl11Definition class.
The required customisation is currently very simple: just want to add the version number of my product as a comment. But in the future I might want to do more advanced stuff like filtering the WSDL based on an 'API version' property.
May 6th, 2009, 03:52 AM
OK, I'm going to assume that Spring-WS provides no straightforward way to achieve this. (Surprising, since other parts of Spring generally provide ample hooks and extension points for customisation.)
In lieu of this I've implemented a Servlet filter to customise the WSDL response.
May 6th, 2009, 10:31 AM
As far as I could see, you either go with the auto-generated WSDL with maybe a few xsl tweaks possible OR you go with a hard-copy wsdl.
All depends on how good you are with xsl?
May 11th, 2009, 06:27 AM
Customize the Operation Name
Is there is any way I can customize the operation name that comes when the WSDL is generated.
Tags for this Thread