2.1.2 has a bug fix to preserve stylesheets in WSDL, but that isn't
quite enough. You'd have to encapsulate the WSDL factory.

On Thu, Aug 14, 2008 at 4:35 AM, ejoch <[EMAIL PROTECTED]> wrote:
>
> I'm actually not using wsdl2java - I'm doing JAX-WS Annotated Services from
> Java inside an application server (in this case Mule).
>
> I was looking to avoid any local wsdl parsing and apply the xsl in realtime,
> so that no document generation or local work is needed every time a wsdl is
> altered. something along the lines of:
>
> <?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl"
> href="http://etcetc/etcetc.xsl";?><wsdl:definitions
> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; --snip---
>
> top ofj the wsdl. I did this with Spring-ws by extending the class that
> generates the wsdl document itself. It's helpful because anyone wanting to
> view your documentation just goes to the wsdl URL, and if it's properly
> annotated, that'll be all they need.
>
> not sure if this is possible with CXF, if it isn't then I guess saving
> locally and transforming there is the only option.
>
> thanks
>
>
> --
> View this message in context: 
> http://www.nabble.com/CXF-Jax-ws-wsdls%3A-applying-a-stylesheet-tp18965177p18977720.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>
>

Reply via email to