Troubleshooting XML schema messages for web service integrations
When you are using a Web Service Integration component, you might encounter error and warning messages if you use XML constructs that are not supported or have problems in Process Designer.
The following tables list the messages you could see in the wizard and information about each message.
Error messages caused by XML constructs that are not valid
Message | Description |
---|---|
|
The anySimpleType type
is not supported. To fix the error, replace anySimpleType with an appropriate simple type. |
The {0} complex type contains attribute {1} that is without a type or uses anySimpleType, which is not supported. | The type has an attribute declaration
without a type definition, which defaults to anySimpleType or
an attribute with anySimpleType. Attributes of anySimpleType are
not supported. To fix the error, assign a simple type or replace anySimpleType with an appropriate simple type. |
The {0} complex type contains anyAttribute. Attribute wildcards (anyAttribute) are not supported. | Attribute wildcards permit an extension
of the content model while providing some control to enforce a minimal
constraint. Because wildcards are ignored,anyAttribute is
not supported. The location of the wildcard is in XPath format. To fix the error, replace anyAttribute with an appropriate attribute. |
The {0} complex type has a simpleContent child, which is not supported. | Complex types allow elements in their content to have a simple content element. Because simple content elements in a complex type are ignored, the simpleContent element is not supported. |
The {0} complex type contains an 'any' element . Element wildcards (any) are not supported. | Element wild cards, which allow flexibility
on what is allowed in the content model, are not supported. To fix the error, replace ANY with concrete elements. |
|
The anyType type is
not supported. To fix the error, replace anyType with an appropriate type. |
The {0} complex type contains a group reference with maxOccurs of {1}. However, the maximum value of maxOccurs is 1. | A model group definition associates
a name with a model group so that you can reuse the model group. However, Process Designer has
a maximum occurrence constraint on the maxOccurs attribute
in the model group definition. To fix the error, change the value of the maxOccurs attribute to 1. |
The {0} complex type contains the {1} nested model group with a maxOccurs of {2}. However, the maximum value of maxOccurs is 1. | Process Designer has
a maximum occurrence constraint on the maxOccurs attribute
in the model group definition even if the model group is nested within
other elements. To fix the error, change the value of the maxOccurs attribute in the identified model group to 1. |
The {0} simple type is not handled. Union types are not supported. | A union type creates a new type, which
is the union of two or more simple types. Union types are not supported. To fix the error, replace the union type with an appropriate simple type. |
The {0} complex type extends the {1} complex type. However, the {1} type refers to xsi:type, which is not supported and might cause errors at run time. | If you use a derived complex type in place of a specified base complex type, it is assumed that a relationship exists between the base type definition and the derived type. The xsi:type annotations are ignored and only instances of the base complex type are created. |
Warning message caused by XML constructs that have problems
Message | Description |
---|---|
|
Process Designer does
not support attributes with default or fixed values.
These values are ignored. To remove this warning, if no corresponding attribute is present in an instance document, specify a value for the attribute other than default or fixed. |
A type with name {0} already exists. Type names must be unique. | Process Designer does not support using qualified or QNames for types. The location of the type is in XPath format. Process Designer generates different names for these types. |
|
The base64Binary and hexBinary data
types have validation rules that are supported in Process Designer. To
prevent them from having values that are not valid in Process Designer, these
data types are converted to strings. To remove this warning, do not use the base64Binary and hexBinary types. |
|
The gYear and gYearMonth data
types have validation rules that are supported in Process Designer. To
prevent them from having values that are not valid in Process Designer, these
data types are converted to strings. To remove this warning, do not use the gYear and gYearMonth types. |
|
The rules to normalize whitespace values
are not supported in Process Designer. To
prevent the types from having values that are not valid in Process Designer, their
normalized strings are converted to strings. To remove this warning, do not use the normalizedString type. |
|
All XML decimal numeric types, regardless of their precision, transform to the Decimal type in IBM® BPM. The Decimal type maps to the java.lang.Double data type through xsd:double. |
|
All XML integer numeric types, regardless of their precision, transform to the Integer type in IBM BPM. The Integer type maps to the java.lang.Integer data type through xsd:int. |
The {0} complex type extends the {1} complex type. The generated business object for {0} is flattened to include the elements and attributes that are defined in {1}. | When a complex type has a base type, Process Designer includes all the elements and attributes from the base type to flatten business objects that are created from the complex type. |
The {0} element contains the substitutionGroup attribute, which is not supported. | Substitution groups are ignored. With a substitution group, you can specify elements that can replace another element in documents generated from the schema. |
The {0} simple type contains the {1} restriction facet, which is not supported. | Process Designer ignores
the following XSD restriction facets:
|