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.
-InvocationTargetException occurs when click to Test Operation of an IDE Generated Static stub client IEPort service STEPS TO REPRODUCE: 1. Install Netbean nightly 08/27/2008 build with Glassfish V2 server 2. Create a J2EE 1.4 Web Module Project 3. Create a Web Service to the recently created 1.4 Web Module Project 4. Add an operation 5. Deploy the Web Module project 6. Add a Web Service client by selecting the Project Web Service (client type: IDE-generated static stub) 7. Extend the Web Service References node up to the operation method > right-click at the operation and select Test Operation menu > click Submit BUG: -Exception message appears as described in the following message -If the operation can execute with non JSR109 compliance application, the exception should be handled gracefully ------------------ InvocationTargetException org.netbeans.modules.websvc.registry.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:518) org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg.invokeMethod(TestWebServiceMethodDlg.java:444) org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg.access$500(TestWebServiceMethodDlg.java:70) org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg$3.run(TestWebServiceMethodDlg.java:387) org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:539) org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:964) 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:597) org.netbeans.modules.websvc.registry.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:512) org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg.invokeMethod(TestWebServiceMethodDlg.java:444) org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg.access$500(TestWebServiceMethodDlg.java:70) org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg$3.run(TestWebServiceMethodDlg.java:387) org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:539) org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:964) Next Exception Layer com.sun.xml.internal.messaging.saaj.soap.ver1_1.Message1_1Impl cannot be cast to com.sun.xml.messaging.saaj.soap.MessageImpl com.sun.xml.rpc.client.StubBase._postSendingHook(StubBase.java:231) com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:324) webservice.TestWebServiceSEI_Stub.displayMessage(TestWebServiceSEI_Stub.java:69) webservice.TestWebServiceClient.testwebserviceseiportDisplayMessage(TestWebServiceClient.java:22) 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:597) org.netbeans.modules.websvc.registry.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:512) org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg.invokeMethod(TestWebServiceMethodDlg.java:444) org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg.access$500(TestWebServiceMethodDlg.java:70) org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg$3.run(TestWebServiceMethodDlg.java:387) org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:539) org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:964)
Created attachment 47546 [details] messages.log
*** This issue has been marked as a duplicate of 87181 ***