You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Will Boyd <ja...@gmail.com> on 2006/10/03 01:43:51 UTC

HELP: axis 1.4 - XmlBeanSerializer - XmlBeanDeserializer

hi,

what is the deal with the axis xbeans samples? in particular:
XmlBeansSerializer and XmlBeanDeserializer? i am grateful that the author
has gone to the trouble of coding these serializers (and the client code)
and making them available. but dealing with these classes has been the most
confusing and frustrating experience i have ever had with any of apache's
projects!

i'm working with axis 1.4 (with a j2se 1.4.2). first, i found the axis
xbeans sample here:

   http://issues.apache.org/jira/browse/AXIS-1764


please, can anybody explain why the axis 1.4 distribution contains javadoc
for the XmlBean(De)Serializer classes, but does not include any code/source
for the XmlBean(De)Serializer stuff?

i have deployed the java1dot4XBeanSample.war, but getting it to work with
axis 1.4 using the apache-xbean.jar bundled with the war has been fraught
with many frustrations!

using the apache-xbean.jar bundled with the war, i started up the
SimpleAxisServer on port 8080 and then tried to hit the StarWarsPort wsdl
with the following url:

    http://localhost:8080/axis/services/StarWarsPort?wsdl

please, see  http://net-contractor.net/02_10_06_xbeans_problems_1.zip for
the resulting stacktrace and the classpath i used.

my questions:

     1) what do i need to do to sort out the NoSuchMethodError i'm getting
for XmlBeans.typeSystemForClassLoader()?

     2) has the XmlBeanSerializer stuff been omitted from axis 1.4 because
it is too buggy?

     3) with what version(s) of axis do folks have trouble-free experiences
using java1dot4XBeanSample.war?

thanks in advance for your help.