DFHPI9033 E Duplicate elements with the same name in the same scope are not supported. The duplicated name is name.
Explanation
An XML or JSON element has been defined twice within the same construct. This is not supported by the Assistants except through the use of minOccurs and maxOccurs attributes. CICS does support arrays of elements with the same name, but not a sequence of two or more identically named elements.
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.
Module
DFHWS2LS, DFHSC2LS, DFHJS2LSDestination
SYSPRINT