IBM Support

JR45842: ERRORS IN GENERATED WS CLASSES WHEN VIEWING WSDL

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When generating the WSDL for inbound Web service, the
    generated WS classes of complex types which define multiple
    variables of the same complex type generate duplicate methods
    which result in an error when compiling.
    
    Following errors are shown in logs when clicking on wsdl url:
    [1/28/13 17:51:23:437 EST] 000000cc wle           E
    CWLLG2015E:  An unexpected runtime exception occurred. See
    exception for more details.  Error: Line 1087, column 18:
    wsgen.cda44a559_5741_44bf_a421_f51333294122.vcfbf734c_fc04_441f_
    bf49_e337275632d4.TestComplexVarWS.NameValuePair is already
    defined in
    wsgen.cda44a559_5741_44bf_a421_f51333294122.vcfbf734c_fc04_441f_
    bf49_e337275632d4.TestComplexVarWS
    Line 1534, column 18:
    wsgen.cda44a559_5741_44bf_a421_f51333294122.vcfbf734c_fc04_441f_
    bf49_e337275632d4.TestComplexVarWS.CommonComment is already
    defined in
    wsgen.cda44a559_5741_44bf_a421_f51333294122.vcfbf734c_fc04_441f_
    bf49_e337275632d4.TestComplexVarWS
    Line 1657, column 18:
    wsgen.cda44a559_5741_44bf_a421_f51333294122.vcfbf734c_fc04_441f_
    bf49_e337275632d4.TestComplexVarWS.NameValuePair is already
    defined in
    wsgen.cda44a559_5741_44bf_a421_f51333294122.vcfbf734c_fc04_441f_
    bf49_e337275632d4.TestComplexVarWS
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM Business Process Manager                *
    *                  Express,Advnace, Standard v8.0.1            *
    ****************************************************************
    * PROBLEM DESCRIPTION: Error in generated WS classes for       *
    *                      inbound webservice with some of its     *
    *                      variables using same complex type.      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When generating the inbound web service, duplicate classes are
    generated for complex type which defines multiple variables of
    the same complex type.
    

Problem conclusion

  • To prevent duplicate classes to be greated for same complex
    type, hashmap is added to store class with key as className.
    And class is only added if the hashmap does not cantain the
    className.
    
    Install/Dependency information is available in the readme.txt
    on FixCentral. When the user goes to the download files page
    in FixCentral, the readme will be available with the fix
    package as a separate download.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR45842

  • Reported component name

    BPM STANDARD

  • Reported component ID

    5725C9500

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-02-26

  • Closed date

    2013-03-25

  • Last modified date

    2013-03-25

  • 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

    BPM STANDARD

  • Fixed component ID

    5725C9500

Applicable component levels

  • R750 PSY

       UP

  • R800 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSFTDH","label":"IBM Business Process Manager Standard"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
08 January 2022