IBM Support

IT43323: INTEGRATION SERVER JUNIT TEST FAILS IF FLOW HAS SOAP EXTRACT/ENVELOP NODE

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • JUNIT test fails with namesapce prefix is not matching actual
    namespace value
    
        but: Actual name "soapenc" (path: /Message/XMLNSC/{http://s
    chemas.xmlsoap.org/soap/envelope/}:Envelope/{xmlns}:soapenc)was
    NSC/{http://schemas.xmlsoap.org/soap/envelope/}:Envelope/{http:
    //www.w3.org/2000/xmlns/}:soapenv)Expected value 'http://schemas
    was 'http://schemas.xmlsoap.org/soap/encoding/' (path: /Message
    /XMLNSC/{http://schemas.xmlsoap.org/soap/envelope/}:Envelope/{x
    mlns}:soapenc)Actual name "soapenv" (path: /Message/XMLNSC/{http
    lsoap.org/soap/envelope/}:Envelope/{xmlns}:soapenv)was different
    NSC/{http://schemas.xmlsoap.org/soap/envelope/}:Envelope/{http:
    //www.w3.org/2000/xmlns/}:soapenc)Expected value 'http://schemas
    was 'http://schemas.xmlsoap.org/soap/envelope/' (path: /Message
    /XMLNSC/{http://schemas.xmlsoap.org/soap/envelope/}:Envelope/{x
    mlns}:soapenv)
    
    	at
    org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
    	at
    org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8)
    

Local fix

  • NA
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    All User of App Connect Enterprise v12.0 using JUNIT test
    framework to test SOAP Extract/Envelop Node
    
    
    Platforms affected:
    MultiPlatform
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    Integration Server JUNIT Framework uses namespace instead of its
    prefix while creating XMLNC message tree for soap part of
    message.
    
    For example :
    
    
    (0x03000102:NamespaceDecl)http://www.w3.org/2000/xmlns/:soapenv
             = 'http://schemas.xmlsoap.org/soap/envelope/'
    (CHARACTER)
    
    (0x03000102:NamespaceDecl)http://www.w3.org/2000/xmlns/:soapenc
             = 'http://schemas.xmlsoap.org/soap/encoding/'
    (CHARACTER)
    
    This results in JUNIT test failures as namesapce prefix is not
    matching actual  namespace value
    

Problem conclusion

  • Product has been modified such that the Integration Server JUNIT
    Framework now uses prefix while creating XMLNC message tree for
    soap part of message.
    For example:
          (0x03000102:NamespaceDecl)xmlns:soapenc
                                     =
    'http://schemas.xmlsoap.org/soap/encoding/' (CHARACTER)
          (0x03000102:NamespaceDecl)xmlns:soapenv
                                     =
    'http://schemas.xmlsoap.org/soap/envelope/' (CHARACTER)
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Version    Maintenance Level
    v12.0      12.0.9.0
    
    The latest available maintenance can be obtained from:
    http://www-01.ibm.com/support/docview.wss?rs=849&uid=swg27006041
    
    If the maintenance level is not yet available,information on
    its planned availability can be found on:
    http://www-1.ibm.com/support/docview.wss?rs=849&uid=swg27006308
    ---------------------------------------------------------------
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT43323

  • Reported component name

    APP CONNECT ENT

  • Reported component ID

    5724J0560

  • Reported release

    C00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2023-03-10

  • Closed date

    2023-06-28

  • Last modified date

    2023-06-28

  • 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

    APP CONNECT ENT

  • Fixed component ID

    5724J0560

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSDR5J","label":"IBM App Connect Enterprise"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"C00","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
29 June 2023