XSLT: Eliminare imbustamento SOAP

Elimina l’imbustamento SOAP Envelope dal messaggio di response

<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl" xmlns:ns0="urn:SPLA_LOGISTIC_SAP_COMMESSE" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
	<xsl:output method="xml" indent="yes"/>
	<xsl:template match="/">
		<xsl:apply-templates select="soapenv:Envelope/soapenv:Body"/>
	</xsl:template>
	<xsl:template match="soapenv:Body">
		<xsl:copy-of select="*"/>
	</xsl:template>
</xsl:stylesheet>



XSLT: Aggiungere imbustamento SOAP e AuthenticationInfo

<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="n0:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl">
	<xsl:output method="xml" indent="yes"/>
	<xsl:template match="/">
		<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema" xmlns:n0="n0:SPLA_LOGISTIC_SAP_COMMESSE">
			<SOAP-ENV:Header>
				<n0:AuthenticationInfo>
					<n0:userName>Web_Service_SAP</n0:userName>
					<n0:password>9786</n0:password>
					<n0:authentication/>
					<n0:locale/>
					<n0:timeZone/>
				</n0:AuthenticationInfo>
			</SOAP-ENV:Header>
			<SOAP-ENV:Body>
				<xsl:copy-of select="*"/>
			</SOAP-ENV:Body>
		</SOAP-ENV:Envelope>
	</xsl:template>
</xsl:stylesheet>