IBM Support

PM50791: WSDL Java generation produces unresolvable errors

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Environment: Windows
    
    Product name: IBM? Rational? Business Developer
    
    Program Version    :  7.1.0.5
    Description.
    Java code with compilation errors is generated from EGL Client
    Interface code which contains no syntax errors and is in turn is
    generated from a validated WSDL. The EGL code is error free but
    the Java generator does not fully complete the generation
    process and the Java code then contains errors where some
    classes cannot be resolved.
    
    Example error message at generation:
    IWN.VAL.9997.e 0/0 Generation failed for Web Service
    Binding:esb_internal_porttype.
    IWN.VAL.9998.e 0/0 Exception occurred:
    java.lang.NullPointerException
    IWN.VAL.9997.e 0/0 Generation failed for test_WSDL.
    
    NB: The same WSDL can be generated with no errors in RBD
    v8.0.1.2.
    
    This has been identified as a defect with extensions where the
    base is a primitive type like ie
                ?xsd:complexType name='attributeCT'?
                    ?xsd:simpleContent?
                        ?xsd:extension base='xsd:string'?
                            ?xsd:attribute name='name'
    type='xsd:string' use='required'/?
                        ?/xsd:extension?
                    ?/xsd:simpleContent?
                ?/xsd:complexType?
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A NullPointerException is thrown while generating an EGLDD
    to websphere and it has a SOAP Binding with a wsdl file that
    has an extension base that is primitive.
    

Problem conclusion

  • Added a check for a null namespace.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM50791

  • Reported component name

    RATL BUS DEV

  • Reported component ID

    5724S5000

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-10-25

  • Closed date

    2012-01-13

  • Last modified date

    2012-01-13

  • 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 BUS DEV

  • Fixed component ID

    5724S5000

Applicable component levels

  • R710 PSN

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMQ79","label":"Rational Business Developer"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.1","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
28 October 2021