I'm trying to get a service that works in axis 1.4 to work in axis 2. I use xmlbeans to bind and the first issue I had when converting to axis2 was that I got an error during the building of the beans because the schema imports the same xsd's throughout the hierarchy. The wsdl and schema validate and this issue was addressed around June 27th I think. So, now I've been using the snapshot from July 16 and I keep getting another issue. I have also tried the latest snapshot and have the same issue. Any help would be greatly appreciated, I would love to be able to use axis2 , but if I can't get this issue resolved soon I'll need to go back to axis 1.4. The current exception I'm getting is the following:
<?xml version='1.0' encoding='utf-8'?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <soapenv:Fault> <faultcode>soapenv:Client</faultcode> <faultstring>org.apache.xmlbeans.impl.values.XmlComplexContentImpl cannot be cast to peoiws5.mdiapps.soap.HandleTrackInfoLiteEventDocument</faultstring> <detail> <Exception> org.apache.axis2.AxisFault: org.apache.xmlbeans.impl.values.XmlComplexContentImpl cannot be cast to peoiws5.mdiapps.soap.HandleTrackInfoLiteEventDocument
 at org.apache.axis2.AxisFault.makeFault(AxisFault.java:417)
 at com.am.service.xmlbeans.TrackLiteDataHandlerWSServiceMessageReceiverInOu t.fromOM(TrackLiteDataHandlerWSServiceMessageReceiverInOut.java:322)
 ; at com.am.service.xmlbeans.TrackLiteDataHandlerWSServiceMessageReceiverInOu t.invokeBusinessLogic(TrackLiteDataHandlerWSServiceMessageReceiverInOut. java:42)
 at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.invokeBusine ssLogic(AbstractInOutSyncMessageReceiver.java:42)
 at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessa geReceiver.java:95)
 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145)
 at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostReques t(HTTPTransportUtils.java:276)
 at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:118) 
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tionFilterChain.java:269)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:188)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv e.java:210)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv e.java:174)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java :127)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java :117)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve. java:108)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1 51)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:87 0)
 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc essConnection(Http11BaseProtocol.java:665)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint .java:528)
 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow erWorkerThread.java:81)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool .java:685)
 at java.lang.Thread.run(Thread.java:619)
 Caused by: java.lang.ClassCastException: org.apache.xmlbeans.impl.values.XmlComplexContentImpl cannot be cast to peoiws5.mdiapps.soap.HandleTrackInfoLiteEventDocument
 at peoiws5.mdiapps.soap.HandleTrackInfoLiteEventDocument$Factory.parse(Hand leTrackInfoLiteEventDocument.java:128)
 at com.am.service.xmlbeans.TrackLiteDataHandlerWSServiceMessageReceiverInOu t.fromOM(TrackLiteDataHandlerWSServiceMessageReceiverInOut.java:220)
 ; ... 22 more
 </Exception> </detail> </soapenv:Fault> </soapenv:Body> </soapenv:Envelope> Thanks, Steve
