Hi there. I have a CAF project with multiple portlet views in version 9.5. Each portlet view has a webservice connector calling a webservice on my localhost Integration Server. It works fine in 9.5 and was imported into 10.1 and is working there as well.
Now in 10.1 Designer, I have added a new portlet view to the same project, dragged & dropped a new webservice connector, and written code to call the webservice. Everything compiles and publishes fine onto MWS. When the line of code to call the .refresh method is executed, it fails with the below error message. Any idea on how I can resolve?
The only difference I see is that the earlier webservices generated classes like
com.webMethods.caf.wsclient.aflacinvoicereconprocessimpl.webservices.provider.getrulesorts
the new one has generated in class named
caf.war.AflacInvoiceReconUI.wsclient.aflacinvoicereconprocessimpl.webservices.provider.uploadexceptions
.
I’ve tried deleting the connector several times, refreshed it, and re-added it. But nothing has changed.
please reply! Also, attached is the generated stub from the new webservice
Detailed Message : [com.webMethods.caf.faces.data.ContentProviderException: java.lang.NoSuchMethodException: caf.war.AflacInvoiceReconUI.wsclient.aflacinvoicereconprocessimpl.webservices.provider.uploadexceptions.AflacInvoiceReconProcessImplWebservicesProviderUploadExceptionsStub.uploadExceptionGroups(caf.war.AflacInvoiceReconUI.wsclient.aflacinvoicereconprocessimpl.webservices.provider.uploadexceptions.AflacInvoiceReconProcessImplWebservicesProviderUploadExceptionsStub$UploadExceptionGroups)
at com.webMethods.caf.faces.data.object.ObjectMethodContentProvider.getMethod(ObjectMethodContentProvider.java:116)
at com.webMethods.caf.faces.data.object.ObjectMethodContentProvider.refresh(ObjectMethodContentProvider.java:366)
at com.webMethods.caf.faces.data.ws.wss.WSSContentProvider.refresh(WSSContentProvider.java:362)
at com.webMethods.caf.profilemanagement.ProfileManagementuploadExcepGroupsView.submitTasks(ProfileManagementuploadExcepGroupsView.java:301)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.el.parser.AstValue.invoke(AstValue.java:254)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:302)
at com.webMethods.caf.faces.application.CAFMethodExpression.invoke(CAFMethodExpression.java:73)
at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:87)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
at javax.faces.component.UICommand.broadcast(UICommand.java:315)
at com.webMethods.caf.faces.component.ViewRoot.broadcastEvents(ViewRoot.java:256)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1282)
at com.webMethods.caf.faces.component.ViewRoot.processApplication(ViewRoot.java:130)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
at com.webMethods.caf.faces.portlet.PortletLifecycle.phase(PortletLifecycle.java:322)
at com.webMethods.caf.faces.portlet.PortletLifecycle.execute(PortletLifecycle.java:199)
at com.webMethods.caf.faces.portlet.FacesPortlet.processAction(FacesPortlet.java:349)
at com.webMethods.portal.framework.portletcontainer.impl.PortletApplicationHandler.process(PortletApplicationHandler.java:596)
at com.webMethods.portal.framework.portletcontainer.servlet.PortletServlet.service(PortletServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:595)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:191)
at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:72)
at com.webMethods.portal.framework.portletcontainer.impl.PortletContainer.dispatch(PortletContainer.java:293)
at com.webMethods.portal.framework.portletcontainer.impl.PortletContainer.process(PortletContainer.java:203)
at com.webMethods.portal.framework.portletcontainer.impl.PortletContainer.processPortletAction(PortletContainer.java:181)
at com.webMethods.portal.framework.portlet.beans.rest.RestfulPCAHandler.handle(RestfulPCAHandler.java:200)
at com.webMethods.portal.framework.dispatch.impl.DispatchManager.handle(DispatchManager.java:899)
at com.webMethods.portal.framework.dispatch.impl.DispatchManager.handleDispatch(DispatchManager.java:793)
at com.webMethods.portal.framework.impl.PortalServlet.service(PortalServlet.java:328)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:83)
at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:300)
at com.webMethods.caf.faces.servlet.GZIPFilter.doFilter(GZIPFilter.java:49)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at com.webMethods.portal.framework.impl.NTLMV1Filter.doFilter(NTLMV1Filter.java:64)
at com.webMethods.portal.framework.impl.NTLMFilter.doFilter(NTLMFilter.java:30)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at com.webMethods.portal.framework.impl.RequestFilter.doFilter(RequestFilter.java:63)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at com.webMethods.portal.framework.impl.JsfPartialAjaxRequestFilter.doFilter(JsfPartialAjaxRequestFilter.java:81)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at com.webMethods.portal.framework.impl.SpnegoFilterWrapper.doFilter(SpnegoFilterWrapper.java:75)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at com.webMethods.portal.webapp.jetty7.MwsServer.handle(MwsServer.java:129)
at org.eclipse.jetty.server.Server.handle(Server.java:497)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoSuchMethodException: caf.war.AflacInvoiceReconUI.wsclient.aflacinvoicereconprocessimpl.webservices.provider.uploadexceptions.AflacInvoiceReconProcessImplWebservicesProviderUploadExceptionsStub.uploadExceptionGroups(caf.war.AflacInvoiceReconUI.wsclient.aflacinvoicereconprocessimpl.webservices.provider.uploadexceptions.AflacInvoiceReconProcessImplWebservicesProviderUploadExceptionsStub$UploadExceptionGroups)
at java.lang.Class.getMethod(Class.java:1786)
at com.webMethods.caf.faces.data.object.ObjectMethodContentProvider.getMethod(ObjectMethodContentProvider.java:114)
… 79 more
uploadExceptionsStub.txt (180 KB)