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.
Hi, I have lately followed the tutorial on web services to create the following. This project uses JBoss as an application server. 1) An EJB Project containing a Web Service to return the value s as explained within the tutorial. 2) Created a web project that contained a web service client for the above service. I connected by the test operation never works since it always gives me the errors below and states the the name of the string is "string_1" and not "s"... 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:499) org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932) 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:499) org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932) 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.CoffeeDetailsSEI_Stub.coffeeName(CoffeeDetailsSEI_Stub.java:69) webservice.CoffeeDetailsClient.coffeedetailsseiportCoffeeName(CoffeeDetailsClient.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:499) org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932) 3) When I called the web service operation from the site, it created all the details but when I run the page I get this error which is being returned by a catch statement... Error:java.lang.ClassCastException: com.sun.xml.internal.messaging.saaj.soap.ver1_1.Message1_1Impl cannot be cast to com.sun.xml.messaging.saaj.soap.MessageImpl Any help will be highly appreciated!
ad parameter names - see issue 61124 ad exceptions (ClassCastException is the cause in 2&3) - see issue 87181
*** This issue has been marked as a duplicate of 87181 ***