Topic
4 replies Latest Post - ‏2012-10-04T12:31:12Z by RubenRandall
RubenRandall
RubenRandall
85 Posts
ACCEPTED ANSWER

Pinned topic Re:var://service/skip-backside

‏2012-10-03T19:53:55Z |
Hi,

I have requirement of using ' var://service/skip-backside ' to skip backside processing, can any one explain me with the help of a small snippet of how does this work
Thank you
Updated on 2012-10-04T12:31:12Z at 2012-10-04T12:31:12Z by RubenRandall
  • gwing
    gwing
    10 Posts
    ACCEPTED ANSWER

    Re:var://service/skip-backside

    ‏2012-10-03T21:28:38Z  in response to RubenRandall
    This will allow your service to act like a loopback XML firewall. Put it in your service policy.

    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:dp="http://www.datapower.com/extensions"
    extension-element-prefixes="dp" exclude-result-prefixes="dp">

    <!-- Setting skip-backside allows mpgw policy to act as a loopback for testing -->

    <xsl:template match="/">
    <xsl:copy-of select="."/>
    <dp:set-variable name="'var://service/mpgw/skip-backside'" value="1"/>
    </xsl:template>
    </xsl:stylesheet>