IBM Support

JR44732: WEB SERVICE INTEGRATION WITH RESPONSE VARIABLE OF RECORD TYPE FAILS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When the response variable for a web service integration is of
    Record type, an exception may occur stating that a property was
    not declared.
    
    [11/8/12 10:20:48:858 CST] 0000002e wle           E
    CWLLG0391E: An update operation failed.
    
    com.lombardisoftware.core.TeamWorksRuntimeException: Property
    propertyName in class Record is not declared. It must be
    declared to be used.
        at
    com.lombardisoftware.core.TWObject.getDeclaredPropertyByName(TWO
    bject.java:563)
        at
    com.lombardisoftware.core.TWObject.setTWClass(TWObject.java:354)
        at
    com.lombardisoftware.core.TWObject.cast(TWObject.java:324)
        at
    com.lombardisoftware.server.core.SymbolTable.set(SymbolTable.jav
    a:369)
        at
    com.lombardisoftware.core.script.js.AbstractTWSymbolTableScripta
    ble.put(AbstractTWSymbolTableScriptable.java:176)
        at
    org.mozilla.javascript.ScriptableObject.putProperty(ScriptableOb
    ject.java:1729)
        at
    org.mozilla.javascript.ScriptRuntime.setObjectProp(ScriptRuntime
    .java:1557)
        at
    org.mozilla.javascript.ScriptRuntime.setObjectProp(ScriptRuntime
    .java:1547)
        at
    org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.jav
    a:3036)
        at
    org.mozilla.javascript.Interpreter.interpret(Interpreter.java:24
    87)
        at
    org.mozilla.javascript.InterpretedFunction.call(InterpretedFunct
    ion.java:164)
        at
    org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.j
    ava:398)
        at
    org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.jav
    a:3070)
        at
    org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunct
    ion.java:175)
        at
    com.lombardisoftware.core.script.js.JSScript.exec(JSScript.java:
    60)
        at
    com.lombardisoftware.core.script.js.JavaScriptRunner$2.execute(J
    avaScriptRunner.java:253)
        at
    com.lombardisoftware.core.script.js.PreparedScope.executeWithSco
    pe(PreparedScope.java:205)
        at
    com.lombardisoftware.core.script.js.JavaScriptRunner.execute(Jav
    aScriptRunner.java:251)
        at
    com.lombardisoftware.core.script.js.JavaScriptRunner.evalExpress
    ion(JavaScriptRunner.java:368)
        at
    com.lombardisoftware.core.script.js.JavaScriptRunner.evalExpress
    ion(JavaScriptRunner.java:356)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Applications using web services and         *
    *                  connecting with SOAP.                       *
    ****************************************************************
    * PROBLEM DESCRIPTION: An exception may occur when the         *
    *                      response contains a variable of         *
    *                      Record type.                            *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When processing a web services response which has a variable
    of type Record, the following exception may occur.
    [11/8/12 10:20:48:858 CST] 0000002e wle           E
    CWLLG0391E: An update operation failed.
    com.lombardisoftware.core.TeamWorksRuntimeException: Property
    propertyName in class Record is not declared. It must be
    declared to be used.
    at
    com.lombardisoftware.core.TWObject.getDeclaredPropertyByName(TWO
    bject.java:563)
    at
    com.lombardisoftware.core.TWObject.setTWClass(TWObject.java:354)
    at
    com.lombardisoftware.core.TWObject.cast(TWObject.java:324)
    at
    com.lombardisoftware.server.core.SymbolTable.set(SymbolTable.jav
    a:369)
    at
    com.lombardisoftware.core.script.js.AbstractTWSymbolTableScripta
    ble.put(AbstractTWSymbolTableScriptable.java:176)
    at
    org.mozilla.javascript.ScriptableObject.putProperty(ScriptableOb
    ject.java:1729)
    

Problem conclusion

  • Code changes have been made to prevent the exception from
    occuring when processing Record type variables. An interim fix
    is available on v7.5.1.0 and will be available in the next fix
    pack release.
    
    Fix application instructions are available when obtaining
    the interim fix from Fix Central.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR44732

  • Reported component name

    BPM STANDARD

  • Reported component ID

    5725C9500

  • Reported release

    751

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-11-12

  • Closed date

    2013-02-05

  • Last modified date

    2013-02-05

  • 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

    BPM STANDARD

  • Fixed component ID

    5725C9500

Applicable component levels

  • R750 PSY

       UP

  • R800 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFTDH","label":"IBM Business Process Manager Standard"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5.1","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
12 October 2021