IBM Support

IT28431: UPDATE TRADING PARTNER API FAILS WHEN CUSTOM PROTOCOL IS IN USE

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

  • The Update Custom Trading Partner through B2BAPI fails with
    error as shown below:
    
    {
    "errorCode": 500,
    "errorDescription": "Array index out of range: 1"
    }
    
    --messages.log had
    Caused by: java.lang.ArrayIndexOutOfBoundsException: Array
    index out of range: 1
        at
    com.ibm.b2b.api.Utils.tradingpartner.TradingPartnerUpdater.updat
    e(TradingPartnerUpdater.java:504)
        at
    com.ibm.b2b.api.svc.tradingpartner.impl.UpdateTradingPartnerServ
    iceImpl.update(UpdateTradingPartnerServiceImpl.java:160)
        at
    com.ibm.b2b.api.svc.tradingpartner.impl.generated.UpdateTradingP
    artnerSupport.update(UpdateTradingPartnerSupport.java:67)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
    Method)
        at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:95)
        at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:56)
        at java.lang.reflect.Method.invoke(Method.java:620)
        at
    com.ibm.tenx.db.svc.UpdateService.update(UpdateService.java:227)
        at
    com.ibm.tenx.ws.ui.WebServiceBrowser.update(WebServiceBrowser.ja
    va:2292)
        at
    com.ibm.tenx.ws.ui.WebServiceBrowser.doPutOrPatch(WebServiceBrow
    ser.java:964)
        at
    com.ibm.tenx.ws.ui.WebServiceBrowser.executeCRUD(WebServiceBrows
    er.java:612)
        at
    com.ibm.tenx.ws.ui.WebServiceBrowser.execute(WebServiceBrowser.j
    ava:508)
    

Local fix

  • circumvention : none
    
    BR/BR RTC - 579674
    

Problem summary

  • Users Affected:
    All
    
    Problem Description:
    The Update Trading Partner API fails when custom protocol is in
    use.
    
    Platforms Affected:
    All
    

Problem conclusion

  • Resolution Summary:
    
    A code fix is provided.
    
    Delivered In:
    5020603_10
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT28431

  • Reported component name

    STR B2B INTEGRA

  • Reported component ID

    5725D0600

  • Reported release

    526

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-03-13

  • Closed date

    2019-05-13

  • Last modified date

    2019-05-17

  • 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

    STR B2B INTEGRA

  • Fixed component ID

    5725D0600

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.2.6","Edition":"","Line of Business":{"code":"LOB02","label":"AI Applications"}}]

Document Information

Modified date:
17 May 2019