IBM Support

PI42096: UML2WSDL transformation is generating incorrect import statements of an XSD to itself

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Abstract:
    UML2WSDL transformation is generating incorrect import
    statements of an XSD to itself
    
    Error Description:
    - A ??schema?? stereotype defines the namespace for a package.
    - In the transformation, the different .xsd and the .wsdl file
    for the package are set to the same namespace.
    - The resulting ??schema name??.xsd gets an incorrect import,
    which should not be there at all.
    Example: '?xsd:import namespace='??namespace path??'
    schemaLocation=''/?'
    
    Local Fix:
    Remove the incorrect import after transformation.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * -                                                            *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Customer ran into an issue where an import is generated in   *
    * one of the XSDƒ  s, which is incorrect (should not be        *
    * present). Just removing the import resolved  the issue, but  *
    * this involved manual action and the customer didnƒ  t want   *
    * to post-process the schema in their model-driven approach.   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Customer ran into an issue where an import is generated in one
    of the XSDƒ  s, which is incorrect (should not be present). Just
    removing the import resolved  the issue, but this involved
    manual action and the customer didnƒ  t want to post-process the
    schema in their model-driven approach.  Now, we have ensured
    that the namespaces are processed in a way that self import is
    avoided there-by solving customer's problem
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI42096

  • 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

    2015-06-01

  • 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

    RATL SW ARCHITE

  • Fixed component ID

    5725A3000

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":"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