IBM Support

PI42484: UML2WSDL: MULTIPLE PACKAGES TO THE SAME XSD FILE, DIFFERENCE IN BEHAVIOR

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When generating the contents of multiple packages to the same
    XSD file, there is a difference in behavior between the UML2WSDL
    and the UML2XSD transformations.
    
    Steps to reproduce:
    Configure both a UML2WSDL and a UML2XSD transformation
    configuration, so that two packages are generated into the same
    xsd file.
    Run the UML2WSDL transformation and validate the result -->
    There are plenty of errors.
    Run the UML2XSD tranformation and overwrite the xsd result, and
    validate --> No validation error.
    

Local fix

  • Run the UML2XSD tranformation and overwrite the xsd result, and
    validate --> No validation error.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * -                                                            *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * "When generating the contents of multiple packages to the    *
    * same XSD file, the customer saw a difference in behavior     *
    * between the two transformations (1st to WSDL and then to     *
    * XSD) .The problem in this case is that the BaseClass was not *
    * getting transformed                                          *
    * When we overwrite the main xsdƒ  s with the UML2XSD TC       *
    * results, then the validation succeeds without a problem.     *
    * "                                                            *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • When generating the contents of multiple packages to the same
    XSD file, the customer saw a difference in behavior between the
    two transformations (1st to WSDL and then to XSD) .The problem
    in this case is that the BaseClass was not getting transformed.
    When we overwrite the main xsdƒ  s with the UML2XSD TC results,
    then the validation succeeds without a problem.  Now, BaseClass
    is also transformed in case of XSD transformation and hence
    Validation succeeds for all XSDs generated
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI42484

  • Reported component name

    SW ARCHITECT WI

  • Reported component ID

    5724I7001

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-06-05

  • Closed date

    2015-09-18

  • Last modified date

    2015-09-18

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    SW ARCHITECT WI

  • Fixed component ID

    5724I7001

Applicable component levels

  • R900 PSY

       UP

  • R910 PSY

       UP

  • R911 PSY

       UP

  • R912 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYKBQ","label":"Rational Software Architect Designer for WebSphere Software"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"900","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 October 2021