axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "McMullin, Gregg E." <GREGG.E.MCMUL...@saic.com>
Subject RE: -H wsdl2java option and enumerations
Date Thu, 05 Jan 2006 14:02:09 GMT
Dies and Dims,

  Thank you for responding.  I'm not sure what you mean by submit
a "svn diff" against latest SVN.  If this is done, what would this
mean to me as a "user" of Axis?  How would I get a patched version?
Looks like the issue is against 1.2.1, I see the same issue in 1.3
as well.

  thanks,

      Gregg


-----Original Message-----
From: axis-user-return-39707-GREGG.E.MCMULLIN=saic.com@ws.apache.org
[mailto:axis-user-return-39707-GREGG.E.MCMULLIN=saic.com@ws.apache.org] 
Sent: Wednesday, January 04, 2006 10:30 PM
To: axis-user@ws.apache.org
Subject: Re: -H wsdl2java option and enumerations

Folks,

Please submit a "svn diff" against latest SVN.

thanks,
dims

On 1/4/06, Dies Koper <dies@jp.fujitsu.com> wrote:
> Hello Greg,
>
> It is a known bug:
> http://issues.apache.org/jira/browse/AXIS-2151
>
> Someone even submitted a patch. It looks like it did not get committed.
>
> Regards,
> Dies
>
>
> McMullin, Gregg E. wrote:
> > Hi and Happy New Year:
> >
> >   Sorry to repost this but thought I'd give it a try one more
> > time.  Has anyone else run into this problem, and if so how
> > was it resolved?  I've thought about building the _Helper.java
> > classes by extracting info from the generated bean, but am not
> > exactly sure what items should be extracted.  Any help would be
> > greatly appreciated.
> >
> >       thanks,
> >
> >         Gregg
> >
> >
> > -----Original Message-----
> > From: GREGG.E.MCMULLIN@saic.com [mailto:GREGG.E.MCMULLIN@saic.com]
> > Sent: Tuesday, December 20, 2005 10:35 AM
> > To: axisUser
> > Subject: -H wsdl2java option and enumerations
> >
> > Hi:
> >
> >  I've been using the -H option when running the wsdl2java tool.  I've
> > noticed that not all beans have _Helper.java classes generated for
> > them.  Specifically, it does not appear to work for enumerations.
> >
> > For example the following schema/wsdl
> >
> >     <xsd:simpleType name="DataRepresentation">
> >       <xsd:annotation>
> >         <xsd:documentation>Supported values</xsd:documentation>
> >       </xsd:annotation>
> >       <xsd:restriction base="xsd:string">
> >         <xsd:enumeration value="spatial"/>
> >         <xsd:enumeration value="time"/>
> >         <xsd:enumeration value="point"/>
> >         <xsd:enumeration value="profile"/>
> >       </xsd:restriction>
> >     </xsd:simpleType>
> >
> > produces only a bean named DataRepresentation.java
> >
> > Besides producing the "serialization/deserialization" info internal
> > to the DataRepresentation bean, it also has
serialization/deserialization
> > issues at runtime.  I'm using 1.2.1, but have tried with 1.3 with the
> > same results.  I'm currently also using the -T 1.3 option.  Any ideas?
> >
> >      thanks,
> >
> >        Gregg
> >
>
>


--
Davanum Srinivas : http://wso2.com/blogs/

Mime
View raw message