Hi Scott,

Did you generate the XMLbeans using scomp and graft it on to the Axis2
skel/stub generated with the -Ewdc option? If you did, Axis2 and
XMLBeans munge the namespaces two different ways ensuring that the two
systems are incompatible.

If you just used WSDL2Java with -d xmlbeans, perhaps you should try
using the overwrite flag (-or) as you perhaps have an old files hanging
in your build target dir. 

Or perhaps you have multiple TypeSystemHolder elements in different
namespaces?

Martin

-----Original Message-----
From: [email protected] [mailto:[email protected]] 
Sent: Wednesday, March 18, 2009 1:02 PM
To: [email protected]
Subject: Axis2: Mismatched xmlbeans class names

What causes this class name mismatch?

In my jar file, I have the following class.
schemaorg_apache_xmlbeans/system/sBBF8DB3578287A3861C364EA0385E717/TypeS
ystemHolder.class

At runtime, I experience
Unable to load:
schemaorg_apache_xmlbeans.system.sBE617FEA02624726C1BF84F8C0A8EDDF.TypeS
ystemHolder

This occurs when I try to run the Axis2SampleDocLitService client.

Scott Vigil

http://svis.com




Reply via email to