DFHPI9017 E Unsupported attribute attribute found for schema element element.

Explanation

An attribute that is not supported has been found in an XML schema. DFHWS2LS and DFHSC2LS do not support the following schema attributes: 'substitutionGroup', 'abstract' and 'fixed'. The unsupported attribute has been found in schema element element.

Abstract elements are supported at mapping level 2.1. Fixed values are supported at mapping level 2.2. Substitution groups are supported at mapping level 2.2.

System action

The Web services or XML assistant continues processing.

User response

Consider changing the WSDL document or XML schema to avoid this problem. For example, you could change the problematic XML construct for a different one that is supported. For example, the xsd:any construct is supported by both DFHWS2LS and DFHSC2LS and can be used as a replacement for most other constructs at mapping level 2.1 onwards. A change of this type can usually be made without breaking interoperability with partner processes that are implemented using the original XML schema or WSDL document. If changing or simplifying the XML schema or WSDL is not acceptable then other options exist:
  • If you are using DFHWS2LS, then at runtime level 2.1 onwards you can use the XML-ONLY parameter to opt-out of the CICS supplied XML transformation service. This results in a WSBind file being generated that tells CICS that the application will work directly with the SOAP Body in the DFHWS-BODY container.
  • If you are implementing a Web service provider application then you could consider writing your own XML capable SOAP application handler.
  • If you are implementing a Web service requester application then you could consider writing an XML capable application that uses the DFHPIRT channel linkable SOAP interface.
Other products may exist that can help process or omit the problematic XML constructs. For example, IBM's Rational Developer for System Z (RDz) product supports a "meet-in-middle" mapping scenario that allows omitting of specific XML constructs.

Module

DFHWS2LS, DFHSC2LS

Destination

SYSPRINT