...
In the sDep I set the wsdlMsgTOMIME
Code Block | ||
---|---|---|
XML | XML | <fmm:MethodReturnType wsdlMsgName="xslt_response" wsdlMsgTOMIME="image/svg+xml"/> |
and the WSDL output
Code Block | ||
---|---|---|
XML | XML |
<wsdl:output>
<mime:content type="image/svg+xml"/>
</wsdl:output>
|
...
I suppose you are using the Saxon xslt service? Then you have to set the media-type attribute on the output element of your stylesheet. That will overrule all the other declarations.
Code Block | XML | XML
---|
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes" media-type="image/svg+xml"/> .... |