Handling the anyType AE Data Type

When you use activities that are associated with Request-Response Service, the anyType data type is used as the default value in the DATA field. If you use this data type, an error message indicating a wrong message format is displayed when you run the BusinessWorks process.

To resolve this issue, you have to substitute this data type with Simple Type that matches the database metadata and select ae2xsd.xsd from the resource list.

Procedure

  1. In the Input tab of the activity, right-click the variable that you want to replace with a new type.
  2. From the pop-up menu, click Substitution.
  3. In the Substitution window, specify the following fields:
    • Component Type: select Simple Type from the list.
    • Namespace: click the browse button to open the window for selecting the data type. Select ae2xsd.xsd from the Matching Resource list.

    • Select the AE schema in the current project, and select the data type you want to use from the Type list.

  4. Click OK.