Thanks, I read this page, but it seems to be written for one who
is actually submitting a patch. If I understand correctly, this
patch has already been submitted but has not been committed. I
was not the "submitter" of the patch. I'm not sure where to go
from here.
I'm trying to find the "best" 1. version to use. My stumbling
blocks are support for serialization/deserialization of derived
types and support for abstraction of axis specific code from
wsdl2java beans. Initially I used version 1.3, but it does
not properly handle the serialization/deserialization of derived
types so I reverted back to 1.2.1. For axis code abstraction,
I've been using the -H option with the wsdl2Java tool. It does
not properly abstract out the axis specific code for enumeration
types. I tried doing this manually, by creating my own _Helper
class using the code from the generated bean, but it failed at
runtime.
Would switching to XMLBeans help me with either of these issues?
I thought that XMLBeans was used as the underlying serialization
mechanism under 1.3. If this is true then I'm surprised that
derived types are not handled correctly. In any case, thanks to
Dims and Dies for your feedback. Any additional information or
corrections to my assumptions are appreciated.
Gregg
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Thursday, January 05, 2006 10:40 AM
To: [email protected]
Subject: Re: -H wsdl2java option and enumerations
Please see http://wiki.apache.org/ws/SubmitPatches
On 1/5/06, McMullin, Gregg E. <[EMAIL PROTECTED]> wrote:
> 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: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 04, 2006 10:30 PM
> To: [email protected]
> Subject: Re: -H wsdl2java option and enumerations
>
> Folks,
>
> Please submit a "svn diff" against latest SVN.
>
> thanks,
> dims
>
> On 1/4/06, Dies Koper <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > > 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/
>
--
Davanum Srinivas : http://wso2.com/blogs/