Subject: Re: soap:Header update
From: Markus Abt <abt@xxxxxxxx>
Date: Fri, 16 Mar 2012 18:21:51 +0100
|
Hi,
ram wrote:
> <!-- special handling for soap:Header -->
> <xsl:template match="/*[local-name()='Envelope']/*[local-name()='Header']">
>
> <soapenv:Header>
>
> <xsl:call-template name="ESBHeader"></xsl:call-template>
> <xsl:call-template name="ContextHeader"></xsl:call-template>
>
>
> </soapenv:Header>
>
> </xsl:template>
To also get the original header content, modify your template to:
<xsl:template match="/*[local-name()='Envelope']/*[local-name()='Header']">
<soapenv:Header>
<xsl:apply-templates select="@*|node()"/>
<xsl:call-template name="ESBHeader"></xsl:call-template>
<xsl:call-template name="ContextHeader"></xsl:call-template>
</soapenv:Header>
</xsl:template>
Cheers,
Markus
| Current Thread |
- soap:Header update
- ram - 13 Mar 2012 18:30:49 -0000
- ram - 13 Mar 2012 18:37:17 -0000
- <Possible follow-ups>
- Markus Abt - 16 Mar 2012 17:22:18 -0000 <=
|
|