Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 2119 invoked from network); 24 Apr 2006 23:53:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Apr 2006 23:53:08 -0000 Received: (qmail 75032 invoked by uid 500); 24 Apr 2006 23:53:00 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 75018 invoked by uid 500); 24 Apr 2006 23:53:00 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 75007 invoked by uid 99); 24 Apr 2006 23:53:00 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Apr 2006 16:53:00 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of cleve.oss@googlemail.com designates 64.233.166.182 as permitted sender) Received: from [64.233.166.182] (HELO pproxy.gmail.com) (64.233.166.182) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Apr 2006 16:52:57 -0700 Received: by pproxy.gmail.com with SMTP id b29so1179185pya for ; Mon, 24 Apr 2006 16:52:36 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=b14sCsQpp3Pxd4wDAwP+819ywhlzs0C0syzLTOZVk6+XfviXVlwLyAHiA4o6VA/Z1whE25Fd0MEqoQjhv0rCfkIDN6RV6Q/gegwKQGFoC+iNoryJYAaX5OqLAw0MzA1JnFxCnqIRpCY47KhpIwJXdLYfty8g0TtFTf1sB4JxJNo= Received: by 10.35.103.12 with SMTP id f12mr760082pym; Mon, 24 Apr 2006 16:52:36 -0700 (PDT) Received: from ?192.168.0.5? ( [217.35.86.184]) by mx.gmail.com with ESMTP id q36sm98903pyg.2006.04.24.16.52.35; Mon, 24 Apr 2006 16:52:36 -0700 (PDT) Message-ID: <444D6572.1040704@googlemail.com> Date: Tue, 25 Apr 2006 00:55:30 +0100 From: Cleve OpenSource User-Agent: Thunderbird 1.5.0.2 (X11/20060420) MIME-Version: 1.0 To: axis-user@ws.apache.org Subject: WSDL2Java - I must be stupid Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I'm having a really weird problem that i'm sure there is a simple fix for. Using Axis 1, everything is easy. 1) I have a WSDL file with the not too complex types section 2) I generate my classes from the WSDL file 3) deploy to a server and have a client stub connect through and test the web service. Using Axis2, everything is supposed to be easy, but is not. i must be stupid. I keep having the same problem that Ken Campbell reports on 3/4/2006 @ 14:45. No answers were posted to the group. http://mail-archives.apache.org/mod_mbox/ws-axis-user/200604.mbox/%3c000001c6572d$49dbe350$760110ac@KenC%3e ClassPath problems for XMLBeans. What is strange, is that a simple google search finds people asking the question but with no discernible answers coming back. Has anyone run into this problem? Cheers, Cleve _____________________________________________ java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.axis2.XjmiBookingTest.getTestObject(XjmiBookingTest.java:261) at org.apache.axis2.XjmiBookingTest.testping(XjmiBookingTest.java:200) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at junit.framework.TestCase.runTest(TestCase.java:164) at junit.framework.TestCase.runBare(TestCase.java:130) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:120) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) Caused by: java.lang.ExceptionInInitializerError at uk.co.groundtransport.xjmi.xjmi.wsdl.booking.PingDocument$Factory.newInstance(PingDocument.java:45) ... 19 more Caused by: java.lang.RuntimeException: Cannot load SchemaTypeSystem. Unable to load class with name schemaorg_apache_xmlbeans.system.s6BC58055D4FA32B2157A35DE55719CF0.TypeSystemHolder. Make sure the generated binary files are on the classpath. at org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(XmlBeans.java:781) at uk.co.groundtransport.xjmi.xjmi.wsdl.booking.PingDocument.(PingDocument.java:20) ... 20 more Caused by: java.lang.ClassNotFoundException: schemaorg_apache_xmlbeans.system.s6BC58055D4FA32B2157A35DE55719CF0.TypeSystemHolder at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(XmlBeans.java:767) ... 21 more