APAR status
Closed as program error.
Error description
WSDL2Java cannot
generate a Java class that extends an enumeration class, but
restricts the attributes inherited from base class.
Though that XML construct is valid, in Java, it is not possible.
In other words, though the customer's XSD is valid, WSDL2Java
cannot emit the JavaBeans that the customer expects (i.e.,
AcctCashWithdraw_Type inheriting the enumeration class
Boolean_Type, but restricting the inherited values). In 6.0,
WSDL2Java maps AcctCashWithdraw_Type and Boolean_Type to
Strings, and the APAR will backport that behavior into the 5.X
releases.
The customer impact is that
whereas before, any legacy applications expecting to access an
enumeration class, must now be changed to access a String class
instead.
Local fix
No workaround.
Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server users of web *
* services *
****************************************************************
* PROBLEM DESCRIPTION: WSDL2Java cannot generate a java *
* class that extends an enumeration *
* class. *
****************************************************************
* RECOMMENDATION: *
****************************************************************
WSDL2Java cannot generate a Java class that extends an
enumeration class, but restricts the attributes inherited from
the base class. Though that XML construct is valid, in Java, it
is not possible.
In other words, though the customer's XSD is valid, WSDL2Java
cannot emit the JavaBeans that the customer expects (i.e.,
AcctCashWithdraw_Type inheriting the enumeration class
Boolean_Type, but restricting the inherited values). In
Application Server version 6.0, WSDL2Java maps
AcctCashWithdraw_Type and Boolean_Type to Strings, and the APAR
will backport that behavior into the 5.X releases.
The customer impact is that whereas before, any legacy
applications expecting to access an enumeration class, must now
be changed to access a String class instead.
Problem conclusion
Provided legacy support for enumeration type.
The fix for this APAR is currently targeted for inclusion in
5.0.2.10 and 5.1.1.4. Please refer to the Recommended Updates
page for delivery dates:
http://www-1.ibm.com/support/docview.wss?rs=180&context=SSEQTP
&uid=swg27004980
Temporary fix Comments
APAR information |
APAR number |
PQ99726 |
Reported component name |
WAS BASE 5.0 |
Reported component ID |
5630A3600 |
Reported release |
00W |
Status |
CLOSED PER |
PE |
NoPE |
HIPER |
NoHIPER |
Special Attention |
NoSpecatt |
Submitted date |
2005-01-19 |
Closed date |
2005-02-15 |
Last modified date |
2005-02-15 |
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
Publications Referenced
Applicable component levels |
R003 PSY |
UP |
R00A PSY |
UP |
R00H PSY |
UP |
R00I PSY |
UP |
R00P PSY |
UP |
R00S PSY |
UP |
R00W PSY |
UP |
R103 PSY |
UP |
R10A PSY |
UP |
R10H PSY |
UP |
R10I PSY |
UP |
R10P PSY |
UP |
R10S PSY |
UP |
R10W PSY |
UP |
|