DataPower

DataPower

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  XML-declaration is missing after parsing.

    Posted Wed May 05, 2021 09:35 AM

    Hello,

    We have a Multi-Protocol Gateway where we need to log the incoming request to be able to use it later for calculating checksum.

    The problem is that the XML-declaration is missing in the log.

    If I set Request Type to Non XML I can see the declaration in the probe but as soon as it is parsed to XML, the declaration disappears.

    We don't do any transformation or anything before logging.

    Start of request:

    <?xml version="1.0" encoding="UTF-8"?>

    <Document xmlns=...

    Start of log:

    <Document xmlns=...

    Is the any way to make the XML-declaration visible?

    Regards

    Jocke D



    #DataPower
    #Support
    #SupportMigration


  • 2.  RE: XML-declaration is missing after parsing.

    Posted Fri May 07, 2021 06:17 AM

    Hi,

    Do you want to log the message with the XML declaration or? And to where are you logging the message? To DataPower system log using <xslt:message\> or?

    --HP



    #DataPower
    #Support
    #SupportMigration


  • 3.  RE: XML-declaration is missing after parsing.

    Posted Fri May 07, 2021 06:32 AM

    Hi,

    We actually log the message after DataPower (DP). So we need the message that are sent to backend to look exacly like the it does when entering DP.


    /Jocke D



    #DataPower
    #Support
    #SupportMigration