You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2003/12/16 09:34:48 UTC
DO NOT REPLY [Bug 25558] New: -
SimpleType derived from another SimpleType
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25558>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25558
SimpleType derived from another SimpleType
Summary: SimpleType derived from another SimpleType
Product: Axis
Version: 1.1
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: WSDL processing
AssignedTo: axis-dev@ws.apache.org
ReportedBy: tevoi@cad.it
I've seen that for a simple type derived from another simple type, WSDL2Java
tool generates a wrapped class, not according with jax-rpc specs (4.2.5).
example:
<xsd:complexType name="MyBean">
<xsd:sequence>
...
<xsd:element name="StringRestriction">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="4"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
...
</xsd:sequence>
</xsd:complexType>
For the Element (that derives from xsd:string) inside the ComplexType, WSDL2java
generates a StringRestriction.java class, not according with jax-rpc
specifications (4.2.5).
Moreover, MyBean.java class has a method setStringRestriction(StringRestriction
stringRestriction)
Andrea Tevoi