You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by be...@superflaco.com on 2005/01/31 23:00:40 UTC

Re: [jira] Updated: (AXIS-1764) Add an XmlBean Serializer and Deserializer to Axis

I'll take a look.

Sorry Tom, I left my previous postion (and associated email address) on the 14th of January and may have missed your message before I resubscribed to this list.  

If we can make the de/serializers work with both v1 and v2 that would be ideal.  I looked briefly at your attached edits and it appears that we can come up with something that will work for both if it doesn't already.  Have you tried your de/serializer with v2 as well?

I put together a sample app last night and attached it to this issue.  I would be grateful if you would give it a run through.  It uses the xbeans ant build task to generate the xbeans from a schema but I don't know if v1 uses the same task.  Since the generated xbeans supposedly are interface equivalent between versions, the sample itself may be compatible with both v1 and v2.

cheers,

Jonathan

> -----Original Message-----
> From: TMG [mailto:tmg@nc.rr.com]
> Sent: Monday, January 31, 2005 08:50 PM
> To: axis-dev@ws.apache.org
> Subject: Re: [jira] Updated: (AXIS-1764) Add an XmlBean Serializer and Deserializer to Axis
> 
> Jonathan,
> 
> On Jan 15, I sent you a modified set of De/Serializer classes to review 
> for XmlBeans 1.0.3 ...   I'll appeal to you (or anybody!) to review them 
> (attached).  I don't know how many of us there are who use 1.0.3, but 
> since 2.0 isn't stable yet, my guess would be that there are more users 
> than me who could benefit by having these classes available  :).
> 
> Thanks,
> 
> Tom Gordon
> 
> Jonathan Colwell (JIRA) wrote:
> 
> >     [ http://issues.apache.org/jira/browse/AXIS-1764?page=history ]
> >
> >Jonathan Colwell updated AXIS-1764:
> >-----------------------------------
> >
> >    Attachment: xbeanSample.zip
> >
> >  
> >
> >>Add an XmlBean Serializer and Deserializer to Axis
> >>--------------------------------------------------
> >>
> >>         Key: AXIS-1764
> >>         URL: http://issues.apache.org/jira/browse/AXIS-1764
> >>     Project: Axis
> >>        Type: New Feature
> >>  Components: Serialization/Deserialization
> >>    Versions: 1.2RC2
> >>    Reporter: Jonathan Colwell
> >>    Priority: Minor
> >> Attachments: XmlBeanDeserializer.java, XmlBeanDeserializerFactory.java, XmlBeanSerializer.java, XmlBeanSerializerFactory.java, xbeanSample.zip
> >>
> >>There have been a number of requests on the Axis User list for XmlBean serializers and samples using them.  A sample using such serializers is available from http://superflaco.com/Beehive/java1dot4XBeanSample.war.  This uses modified versions of the original serializers that used Java 1.5 features (original sample is at http://superflaco.com/Beehive/xBeanSample.war) and are therefore unsuited to inclusion in Axis 1.2.  The de/serializers and their factories have been repackaged as org.apache.axis.encoding.ser for easy integration into Axis and can be found in the 1.4 sample source. Addition of these serializers will create a dependency on the Apache XmlBeans project as classes from xmlbeans version 2 are imported.
> >>    
> >>
> >
> >  
> >
> 
> 



Re: [jira] Updated: (AXIS-1764) Add an XmlBean Serializer and Deserializer to Axis

Posted by TMG <tm...@nc.rr.com>.
beehive@superflaco.com wrote:

>I'll take a look.
>
>Sorry Tom, I left my previous postion (and associated email address) on the 14th of January and may have missed your message before I resubscribed to this list.  
>
>If we can make the de/serializers work with both v1 and v2 that would be ideal.  I looked briefly at your attached edits and it appears that we can come up with something that will work for both if it doesn't already.  Have you tried your de/serializer with v2 as well?
>  
>
No, I have only used 1.0.3.  The version I posted should work with v2.

>I put together a sample app last night and attached it to this issue.  I would be grateful if you would give it a run through.  It uses the xbeans ant build task to generate the xbeans from a schema but I don't know if v1 uses the same task.  Since the generated xbeans supposedly are interface equivalent between versions, the sample itself may be compatible with both v1 and v2.
>  
>
I will try it and post my results.


Tom Gordon

[snip...]