Tuesday, December 3, 2013

XSl for adding soap header if missing

Today I noticed a bug in a chain of transformations; I assumed that soap header was always added. However some clients do not send soap header if it is not needed. Here is a simple xsl to add an empty soap header if it is missing: