axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amila Suriarachchi" <amilasuriarach...@gmail.com>
Subject Re: [axis2]: sympletype extension as an attribute not generated
Date Mon, 29 Jan 2007 10:34:12 GMT
ADB currently supports only the basic types for attribute types.

On 1/27/07, Anne Thomas Manes <atmanes@gmail.com> wrote:
>
> Please file a JIRA.
>
> On 1/24/07, Eric Deshayes <edeshayes@gmail.com> wrote:
> > Hi,
> > I have tried to generate some databinding for a schema that contains
> that
> > type:
> >   <xsd:simpleType name="CurrencyType">
> >     <xsd:restriction base="xsd:string">
> >       <xsd:pattern value="[a-zA-Z]{3}" />
> >     </xsd:restriction>
> >   </xsd:simpleType>
> > as an attribute:
> >
> >   <xsd:complexType name="TransactionType">
> >     <xsd:attribute name="quantity" type="xsd:nonNegativeInteger"
> > use="required" />
> >     <xsd:attribute name="price" type="xsd:decimal" use="required" />
> >     <xsd:attribute name="currency" type="myProj:CurrencyType"
> use="optional"
> > />
> >   </xsd:complexType>
> >
> > The generated class type (TransactionType.java) does not contain any
> > currency field.
> > The field only appears when the type is used as an element.
> > Is that feature not supported yet? Will that be supported?
> > Thanks in advance,
> > Eric
> >
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Amila Suriarachchi,
WSO2 Inc.

Mime
View raw message