Hi,
Iam a new bee to web services I get the following error when I run the
WSCOMPILE
java.lang.reflect.InvocationTargetException
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 org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
Caused by: java.lang.NoClassDefFoundError: hello/ProductKeyConstants
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:1
3)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:219)
at
com.sun.xml.rpc.processor.modeler.rmi.RmiUtils.getLoadableClassName(
miUtils.java:73)
at
com.sun.xml.rpc.processor.modeler.rmi.RmiUtils.getClassForName(RmiUt
ls.java:66)
at
com.sun.xml.rpc.processor.modeler.rmi.RmiModeler.buildEncodedModel(R
iModeler.java:325)
at
com.sun.xml.rpc.processor.modeler.rmi.RmiModeler.buildModel(RmiModel
r.java:311)
at
com.sun.xml.rpc.processor.config.ModelInfo.buildModel(ModelInfo.java
85)
at com.sun.xml.rpc.processor.Processor.runModeler(Processor.java:61)
at
com.sun.xml.rpc.tools.wscompile.CompileTool.run(CompileTool.java:564
at com.sun.xml.rpc.util.ToolBase.run(ToolBase.java:40)
at com.sun.xml.rpc.tools.wscompile.Main.main(Main.java:22)
In my implementation class I need to call a method from another class. The
code compiles properly but when I run the WSCOMPILE I get he error.
I have in my config.xml file I have included the following
<typeMappingRegistry>
<additionalTypes>
<class name="xxx.www"/>
</additionalTypes>
</typeMappingRegistry>
could any of u help me with the situation.
Regards]
Vijay