Rational Developer for System z, Version 7.6

Limitation: Global element names in generated XML schemas are not consistent between Interpretive and Compiled XML conversion types

Problem: The web service message root element names in the XML schemas generated by default generation of Interpretive and Compiled XML conversion do not match. You may need to change the generation default of the Compiled XML conversion to match the Interpretive conversion case as described below in the Workaround section. This will let you change the conversion type from interpretive to compiled if needed later without having to republish the WSDL file and without changing code in clients of the web service.

Workaround: When generating the artifacts for Compiled XML conversion you can use the wizard to change the root element name to match the Interpretive XML conversion. This new option called "Root element name" is located in the Generation Options page, on the WSDL and XSD options tab, in the request and response XML Schema properties group.

For example, the COBOL group named A-B-C will cause the Interpretive conversion artifacts to have the message root element name "a_b_c". The default Compiled conversion artifacts will have the root element name "ABC". As described earlier you can change "ABC" in the wizard to "a_b_c" to match with the WSDL generated for the interpretive conversion.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)