hey guys I wrote a
test that works fine on my computer. I sent it to somebody else and they recieved this error. I think it has to do with the classpath, but I'm not sure. Thanks for the help.
java.lang.ClassCastException
at weblogic.xml.schema.binding.internal.TypeMappingBase.addTypeMapping(
ypeMappingBase.java:549)
at weblogic.xml.schema.binding.internal.TypeMappingBase.readXML(TypeMap
ingBase.java:782)
at weblogic.xml.schema.binding.internal.TypeMappingBase.readXML(TypeMap
ingBase.java:511)
at weblogic.webservice.core.encoding.DefaultRegistry.<init>(DefaultRegi
try.java:70)
at weblogic.webservice.core.rpc.ServiceImpl.<init>(ServiceImpl.java:72)
at weblogic.jws.proxies.CostAnalysisService_Impl.<init>(CostAnalysisSer
ice_Impl.java:23)
at weblogic.jws.proxies.CostAnalysisService_Impl.<init>(CostAnalysisSer
ice_Impl.java:17)
at CostTest.testSoapProxy(CostTest.java:18)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at junit.swingui.TestRunner$16.run(TestRunner.java:623)