IBM Support

JR58114: Setting headerStrategy on wcf:rest tag fails

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When you try to set the attribute headerStrategy on a wcf:rest
    tag, an exception occurs:
    
    'Error failed to locate setter method for attribute
    headerStrategy in tag class
    com.ibm.commerce.foundation.internal.client.taglib.RESTTag'
    
    
    Cause: The method
    com.ibm.commerce.foundation.internal.client.taglib.
    RESTTag.setHeader does not match the headerStrategy attribute
    from the tag definition.
    

Local fix

Problem summary

  • USERS AFFECTED:
    WebSphere Commerce Version 7 Feature Pack 7.
    
    PROBLEM ABSTRACT:
    Setting headerStrategy on wcf:rest tag fails
    
    BUSINESS IMPACT:
    Cannot use the REST tag to set the headerStrategy.
    
    RECOMMENDATION:
    

Problem conclusion

  • Changed the method name from setHeader to setHeaderStrategy.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR58114

  • Reported component name

    WC BUS EDITION

  • Reported component ID

    5724I3800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-07-05

  • Closed date

    2017-08-02

  • Last modified date

    2017-08-02

  • 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

    WC BUS EDITION

  • Fixed component ID

    5724I3800

Applicable component levels

  • R800 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYSYL","label":"WebSphere Commerce Enterprise"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]

Document Information

Modified date:
11 December 2021