Håkon,

First thing to check is whether or not you can access the stylesheet itself in 
the browser.  ServiceMix might not be serving this type of file from the 
servicemix-http component.

Secondly, if you don't see the processing instruction in the published WSDL, it 
is probably filtered out when ServiceMix generates the WSDL for the endpoint.  
Feel free to raise a JIRA to add the possibility to keep processsing 
instructions from the original WSDL file -- it would be nice if you could 
provide us with a unit test or failing SU/SA to show the problem, which makes 
it a lot easier to test/add this.


Gert



Håkon Sagehaug wrote:
hi

In one of my wsdl's I've got a stylesheet line like this
<?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/";

But when I go to the published address in smx I only see the usual wsdl
representation in my browser.

Does anyone have a solution for this, also tried to have the stylesheet in
the src/main/resource folder, also when I look at src of the wsdl there is
no line that is spesifying the xml stylesheet

cheers, Håkon



Reply via email to