APAR status
Closed as program error.
Error description
A complex type that extends a simplytype whose content is
.
Customer has a WSDL with a complextype containing a simpletype
restricted by an enumeration:
<xsd:simpleType name="LegalMaritalStatusEnumType">
<xsd:restriction base = "xsd:string">
<xsd:enumeration value = "Married"/>
<xsd:enumeration value = "Single"/>
<xsd:enumeration value = "Unknown"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:complexType>
When trying to compile the web service client stubs generated by
WSDL2Java in WSAS 5.1.0.3, the following java compile error
occurs:
implicit super constructor LegalMaritalStatusEnumType() is
undefined.
Must explicitly invoke another constructor
LegalMaritalStatusType.java
Local fix
This can be worked around by putting a
This can be worked around by putting a
LegalMaritalStatusEnumType()
constructor in LegalMaritalStatusEnumType.java
Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server users of web *
* services *
****************************************************************
* PROBLEM DESCRIPTION: wsdl2java with complex types *
* generates code which does not compile *
****************************************************************
* RECOMMENDATION: *
****************************************************************
A complex type that extends a simplytype whose content is an
enumeration in a WSDL from which Java code is generated using
WSDL2Java fails to compile.
Problem conclusion
Made sure that enumerations in the nested structure are
properly emitted to Java stubs.
Temporary fix Comments
APAR information |
APAR number |
PQ87593 |
Reported component name |
WAS BASE 5.0 |
Reported component ID |
5630A3600 |
Reported release |
10W |
Status |
CLOSED PER |
PE |
NoPE |
HIPER |
NoHIPER |
Special Attention |
NoSpecatt |
Submitted date |
2004-04-15 |
Closed date |
2004-09-14 |
Last modified date |
2005-07-11 |
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 |
|