IBM Support

JR63863: CONSUMING AN EXPOSED WEB SERVICE MIGHT RESULT IN A TYPE MISMATCH ERROR AT RUN TIME

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • You may encounter an issue in the following scenario:
    
    You exposed a web service, and that web service is implemented
    using a service flow. The service flow has a list parameter
    typed by a business object with advanced property "Namespace"
    set to "<default>". The business object is contained in a
    workflow automation, process app or toolkit that does not define
    a namespace itself.
    
    You consume this exposed web service as external service. At run
    time, a type mismatch error occurs.
    
    For example, the "NameValuePair" business object of the "System
    Data" toolkit has the "Namespace" advanced property set to
    "<default>" and the "System Data" toolkit does not define a
    namespace in the process app or toolkit settings. Therefore, if
    you use the "NameValuePair" business object as a parameter for a
    service flow that is used by a web service, and you discover
    that web service the resulting external service has a wrong
    interface. At run time, a type mismatch error occurs:
    TeamWorksException: Type mismatch. Expected
    "tw.object.ArrayOf_NameValuePair[]" type, but found
    "tw.object.NameValuePair[]"
    
    PRODUCT AFFECTED:
    IBM Business Automation Workflow
    IBM Cloud Pak for Business Automation
    

Local fix

  • Use business objects in workflow automations, process apps or
    toolkits that specify a namespace, or use business objects that
    specify a namespace in their advanced properties.
    

Problem summary

  •   No additional information is available.
    
      PRODUCT AFFECTED:
      IBM Business Automation Workflow
      IBM Cloud Pak for Business Automation
    

Problem conclusion

  • A fix is available or will be available that makes sure that the
     external service is created with the correct interface.
    

Temporary fix

  • Not applicable.
    

Comments

APAR Information

  • APAR number

    JR63863

  • Reported component name

    BUS AUTO WORKFL

  • Reported component ID

    5737H4100

  • Reported release

    K00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-06-24

  • Closed date

    2021-07-20

  • Last modified date

    2025-07-13

  • 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

    BUS AUTO WORKFL

  • Fixed component ID

    5737H4100

Applicable component levels

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS8JB4","label":"IBM Business Automation Workflow"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"20.0.0.1","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Document Information

Modified date:
14 July 2025