axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <dava...@gmail.com>
Subject Re: Axis 1.3 beta and XmlBeans config
Date Thu, 21 Jul 2005 14:16:57 GMT
Mark,

the code is based on the code in beehive. can u please check if they
have any updates that will help us?

http://svn.apache.org/repos/asf/incubator/beehive/trunk/wsm/src/axis/org/apache/beehive/wsm/axis/util/encoding/

thanks,
dims

On 7/21/05, Mark Swanson <mark@scheduleworld.com> wrote:
> There were two problems:
> 
> XmlBeans.typeForClass(javaType) creates a SchemaType with a QName of
> null for Anonymous types. This is fine. However, the QName is required
> to get the XmlObject. So I just parsed the anonymous type to get its
> QName and that works fine.
> 
> Because the QName may be null one of the lines in getAllDependentTypes()
> always failed in this case because it wasn't checking for null. Fixed.
> 
> I uploaded the new XmlBeanSerializer.java to the relevant JIRA location:
> 
> http://issues.apache.org/jira/browse/AXIS-1764
> 
> Note: I only handled one Anonymous type. The other types must also be
> handled of the error 'Unhandled anonymous type' will be printed to stdout.
> 
> If I can work around the _major_ problem of having to manually specify
> the XmlBeanSerializer per class I'll come back to fix the other
> anonymous type handling.
> 
> Cheers.
> 
> 
> --
> Free replacement for Exchange and Outlook (Contacts and Calendar)
> http://www.ScheduleWorld.com/
> WAP: http://www.ScheduleWorld.com/sw/WAPToday?id=4000&tz=EST
> WebDAV: http://www.ScheduleWorld.com/sw/webDAVDir/4000.ics
> VFREEBUSY: http://www.ScheduleWorld.com/sw/freebusy/4000.ifb
> 


-- 
Davanum Srinivas -http://blogs.cocoondev.org/dims/

Mime
View raw message