Håkon Sagehaug wrote:
Hi

2008/6/23 Gert Vanthienen <[EMAIL PROTECTED]>:

Håkon,


First thing to check is whether or not you can access the stylesheet itself
in the browser.

I can access it in a browser, using  ff 3

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.

When I go to the wsdl published by servicemix it does not contain the
reference to the stylesheet, seems to be lost somewhere on the way.
I'm using only the spring config file like this

 <cxfbc:consumer wsdl="classpath:service.wsdl"
                      endpoint="Jaspar_service"
                      service="js:Jaspar_service"
                      targetEndpoint="JasparServiceProxy"
                      targetService="js:Jaspar_service"
                      targetInterface="js:Jaspar_service"
                      busCfg="cxf-config.xml"
                      >
    </cxfbc:consumer>
I don't think cxf can support style sheet published in the wsdl so far. The wsdl process in cxf is based on wsdl4j, and all we kept for the wsdl model is all that in the definition tag.
And the service.wsdl is just copied from the source and no generated

cheers, Håkon


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