[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [wsrp-dev] AXIS1 Problem with generated sources: Params were mixed up within super constructor.
For now I see two solutions of this problem. One is to delete attributes in all conflicted superclasses. Another one is to remove inheritance (remove "<extension base=..." ) and to copy necessary elements from superclass to former child class. That is what I did now. === types which has problem ============================= <complexType name="MarkupContext"> <complexContent> <extension base="types:MimeResponse"> ... <complexType name="ResourceContext"> <complexContent> <extension base="types:MimeResponse"> ... <complexType name="FailedPortlets"> <complexContent> <extension base="types:BaseFailed"> ... <complexType name="HandleEventsFailed"> <complexContent> <extension base="types:BaseFailed"> ... <complexType name="ImportPortletsFailed"> <complexContent> <extension base="types:BaseFailed"> ================================================== I think it is axis1 generation bug, isn't it? Can anyone provide solution for axis1? Thanks, Alexey On 10/24/07, Alexey Zavizionov <alexey.zavizionov@gmail.com> wrote: > Thanks for the quick reply. > > Just those which involving a field carried as an attribute. > > Regards, > Alexey > > On 10/23/07, Rich Thompson <richt2@us.ibm.com> wrote: > > Does this happen for all classes where we leveraged extends or just those > > also involving a field carried as an attribute? > > > > Rich Thompson > > OASIS WSRP TC Chair > > IBM T.J. Watson Research Center / Hawthorne, NY > > > > > > > > > > From: > > "Alexey Zavizionov" <alexey.zavizionov@gmail.com> > > To: > > axis-user@ws.apache.org, wsrp-dev@lists.oasis-open.org, "Roman Pedchenko" > > <roman.pedchenko@exoplatform.com.ua> > > Date: > > 10/23/2007 11:29 AM > > Subject: > > [wsrp-dev] AXIS1 Problem with generated sources: Params were mixed up > > within super constructor. > > > > > > > > Hello, > > > > I have a troble while building the sources generated by Axis1 1.4. > > There's a problem with super constructor, it looks like params were > > mixed up within. > > > > For example, there are two classes: one is MarkupContext which extends > > MimeResponse. > > > > Constructor of MimeResponse is generated in such a way that described > > attribute is at the end. > > But, constructor of MarkupContext invokes super with the attribute > > placed as a first param. > > > > ================================== > > <complexType name="MimeResponse"> > > <sequence> > > <element name="useCachedItem" type="xsd:boolean" > > default="false" minOccurs="0"/> > > <element name="mimeType" type="xsd:string" > > minOccurs="0"/> > > <element name="itemString" type="xsd:string" > > minOccurs="0"/> > > <element name="itemBinary" type="xsd:base64Binary" > > minOccurs="0"/> > > <element name="locale" type="xsd:string" > > minOccurs="0"/> > > <element name="requiresRewriting" type="xsd:boolean" > > default="false" minOccurs="0"/> > > <element name="cacheControl" type="types:CacheControl" > > minOccurs="0"/> > > <element name="clientAttributes" type="types:NamedString" > > minOccurs="0"/> > > <element name="extensions" type="types:Extension" > > minOccurs="0" maxOccurs="unbounded"/> > > </sequence> > > <attribute name="ccppProfileWarning" type="xsd:string" > > use="optional"/> > > </complexType> > > <element name="MimeResponse" type="types:MimeResponse"/> > > > > <complexType name="MarkupContext"> > > <complexContent> > > <extension base="types:MimeResponse"> > > <sequence> > > <element name="preferredTitle" type="xsd:string" > > minOccurs="0"/> > > <element name="validNewModes" type="xsd:string" > > minOccurs="0" maxOccurs="unbounded"/> > > </sequence> > > </extension> > > </complexContent> > > </complexType> > > <element name="MarkupContext" type="types:MarkupContext"/> > > ================================== > > > > Regards, > > Alexey. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: wsrp-dev-unsubscribe@lists.oasis-open.org > > For additional commands, e-mail: wsrp-dev-help@lists.oasis-open.org > > > > > > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]