This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
When I test the web service at http://www.netbeans.org/kb/articles/quickstart-j2ee-41.html#web_service I get this error: ==> InvocationTargetException org.netbeans.modules.websvc.registry.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:437) org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg.invokeMethod(TestWebServiceMethodDlg.java:420) org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg.access$50 (TestWebServiceMethodDlg.java:60) org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg$4.run(TestWebServiceMethodDlg.java:363) java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) java.awt.EventQueue.dispatchEvent(EventQueue.java:461) java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234) java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) java.awt.EventDispatchThread.run(EventDispatchThread.java:110) Next Exception Layer null sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) org.netbeans.modules.websvc.registry.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:431) org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg.invokeMethod(TestWebServiceMethodDlg.java:420) org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg.access$50 (TestWebServiceMethodDlg.java:60) org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg$4.run(TestWebServiceMethodDlg.java:363) java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) java.awt.EventQueue.dispatchEvent(EventQueue.java:461) java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234) java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) java.awt.EventDispatchThread.run(EventDispatchThread.java:110) Next Exception Layer null sun.reflect.NativeConstructorAccessorImpl.newInstance (Native Method) sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) java.lang.reflect.Constructor.newInstance(Constructor.java:494) java.lang.Class.newInstance0(Class.java:350) java.lang.Class.newInstance(Class.java:303) javax.xml.soap.FactoryFinder.newInstance(Unknown Source) javax.xml.soap.FactoryFinder.find(Unknown Source) javax.xml.soap.MessageFactory.newInstance(Unknown Source) com.sun.xml.rpc.soap.message.SOAPMessageContext.getMessageFactory(SOAPMessageContext.java:182) com.sun.xml.rpc.soap.message.SOAPMessageContext.createMessage(SOAPMessageContext.java:121) com.sun.xml.rpc.client.StreamingSenderState. (StreamingSenderState.java:28 ==> Getting WSDL from http://localhost:8080/ConverterWS/ConverterWS?wsdl fails as well: XML parsing error Probably these issues are related.
Created attachment 18627 [details] messages.log
Created attachment 18628 [details] ConverterWS.wsdl generated for web service
Petr Blaha wrote: > Hi, > please, send full stack trace. I looked through this trace and seems > like error which was reported by other user with Linux mandrake. > > For him helped this: > netbeans --cp > ${APPS_HOME}/lib/saaj-apis.jar:${APPS_HOME}/lib/saaj-impl.jar > > Can you tell me anything more > about your installation? In particular: > Which apserver build, OS > > Petr Bingo ! This solved the problem. I have: Mandrake 10.0. CPU: AMD64 3400+ JDK1.5.0 Can you explain why this is working ? -- John Zoetebier Web site: http://www.transparent.co.nz
Reassign to websvc module.
*** This issue has been marked as a duplicate of 51037 ***
John, this issue has not been investigated yet so while we have a work-around for you, we don't know why it failed on Mandrake. If you're interested, any followups will be posted to 51037
v. 200502151900