IBM Support

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

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

  • 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

    2021-07-20

  • 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

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS8JB4","label":"IBM Business Automation Workflow"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"20.0.0.1"}]

Document Information

Modified date:
21 July 2021