IBM Support

PI31031: After a UML-to-WSDL/XSD transformation, extraneous 'import' statements are generated in XSDs

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In IBM Rational Software Architect (RSA), the UML-to-WSDL
    transformation enables you to include 'import' statements from
    derived types.
    
    However, the resulting XSDs will then include 'imports' that
    should not be included.  This happens for both the UML2XSD and
    UML2WSDL transformation.
    
    As a result, 'XSD: The location '[XSD file]' has not been
    resolved because the import is unused' warnings appear and
    circular XSD imports are also possible.  If this happens, you
    will not be able to import the XSDs into tools such as IBM
    Business Process Manager.
    
    The workaround is to manually modify the XSD to remove
    superfluous imports.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * -                                                            *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * In UML-to-WSDL/UML-to-XSD transformation if user selects the *
    * option to generate derived types of referenced types,        *
    * imports statement for all the derived types gets added in    *
    * the xsd schema. This may result in circular XSD imports and  *
    * unused XSD import validation warnings.                       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    In UML-to-WSDL/UML-to-XSD transformation if user selects the
    option to generate derived types of referenced types, imports
    statement for all the derived types gets added in the xsd
    schema. This may result in circular XSD imports and unused XSD
    import validation warnings.
    
    An option in properties page of transformation configuration
    editor has been provided to select if user wants to add imports
    for the derived types or not. The default option is set to false
    in which case no imports for derived types would be added in the
    schema.
    

Problem conclusion

  • An option in properties page of transformation configuration
    editor has been provided to select if user wants to add imports
    for the derived types or not. The default option is set to false
    in which case no imports for derived types would be added in the
    schema.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI31031

  • Reported component name

    RATL SW ARCHITE

  • Reported component ID

    5725A3000

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-12-05

  • Closed date

    2015-06-05

  • Last modified date

    2015-06-05

  • 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

    RATL SW ARCHITE

  • Fixed component ID

    5725A3000

Applicable component levels

  • R900 PSY

       UP

  • R910 PSY

       UP

  • R911 PSY

       UP

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

Document Information

Modified date:
16 October 2021