Hi Glen,
Actually I have same concern with you.
This request is from a servicemix user but I'm not sure if it's
reasonable for wsdl, so I post question here to get more feedback.
Regards
Freeman
Glen Mazza wrote:
Should WSDLs have stylesheets? After all, as they say, web services are for
computers what web browsers are for human beings--but computers don't care
about how data looks, so the need for stylesheets is less clear. (Although
I certainly understand that the intention of the stylesheet is for the WSDL
to be more pleasing to the human.)
Another concern about allowing stylesheets is that they could visually mask
or alter the web service's appearance. Hide some operations, for example,
possibly even change values (I think)--how much of a concern is that? We
have a JAX-WS requirement that the wsdl be viewable at
http://endpointurl?wsdl, but arguably that is still met even if the WSDL
looks different to the human eye (because of the stylesheet) than it does
when processed by the machine.
Regards,
Glen
Freeman Fang wrote:
Hi,
For the wsdl like
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl"
href="http://api.bioinfo.no/stylesheets/WSDLDocumentation.xslt"?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
....
Is it possible that we publish stylesheet as well when we publish the
wsdl, I mean if customer get wsdl from http://serviceaddress?wsdl, they
can also see the stylesheet their.
Or any reason we shouldn't do it?
Thanks
Freeman