Is the multiply
method defined in the WSDL?
As for the transformation in the SOAP envelope, you can use this:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0" xmlns:unk="http://unknown.namespace/">
<xsl:template match="unk:sum">
<unk:multiply>
<xsl:apply-templates/>
</unk:multiply>
</xsl:template>
<xsl:template match="node()|@*">
<xsl:copy>
<xsl:apply-templates select="node()|@*"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
The first template matches the node <unk:sum>
, replaces the tag and recursively processes the child nodes, running any templates matched for the nodes encountered. The second template recursively copies all other nodes with attributes.