IBM Support

IC68905: NO POST BODY SENT TO BACKEND WHEN USING XML FIREWALL WITH STATIC BACKEND AND A GET REQUEST IS CONVERTED TO POST

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • IBM WebSphere DataPower Appliance
    
    Firmware 3.8.0.3
    
    When a GET request is converted to a POST and there is data to
    be posted to the backend, the POST request is made alright but
    the body (data) is missing. This behavior is seen when using an
    XML Firewall with a static backend.
    
    Steps to recreate
    1. Create an XML Firewall with a static backend, add new
    Firewall Policy to the XML Firewall.
    2. Add new rule to the Firewall Policy:
     * Rule Direction: Client to Server
     * Rules:
       + Match action with match-all rule(*).
       + Method Rewrite action with POST.
       + Transform action with following stylesheet:
             <?xml version="1.0" encoding="utf-8"?>
             <xsl:stylesheet version="1.0"
              xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
              xmlns:dp="http://www.datapower.com/extensions"
              xmlns:dpconfig="http://www.datapower.com/param/config"
              extension-element-prefixes="dp"
              exclude-result-prefixes="dp dpconfig">
    
               <xsl:output method="xml" encoding="UTF-8"
    dp:escaping="minimum" />
    
               <xsl:template match="/">
                     key1=<xsl:value-of select="'TEST_DATA'"/>
               </xsl:template>
    
             </xsl:stylesheet>
    
    3. Send the following GET request
     ---
     GET http://example.com/path HTTP/1.1
     ---
    

Local fix

  • Use a Multi-Protocol Gateway service
    

Problem summary

  • Affected are customers making use of a XMLFW with a processing
    policy which rewrites a GET method to a POST.
    
    The body of the message will not be send to the backend.
    

Problem conclusion

  • The fix will be available in 3.8.0.6 and 3.8.1.4.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC68905

  • Reported component name

    DATAPOWER

  • Reported component ID

    DP1234567

  • Reported release

    380

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2010-05-28

  • Closed date

    2010-08-09

  • Last modified date

    2010-08-09

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    DATAPOWER

  • Fixed component ID

    DP1234567

Applicable component levels

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS9H2Y","label":"IBM DataPower Gateway"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
08 June 2021