Hello
I’m learning how to use webMethods CAF to create some web application to consume a webservice. However, I’m not succeding in calling a method which requires some input.
I’m just doing the most basic steps possible:
- Create New Web Application Project
- Create New Web Application View
- Generate WebServiceConnector
- Drag Connector on Canvas
These steps work fine for a method without any input, like listStudents();
But for some retrieve, like getStudent(), I get this exception:
Can anybody help me ?
#{Susi_testeview.susi3.refresh}: com.webMethods.caf.faces.data.ContentProviderException: java.lang.reflect.InvocationTargetException
#{Susi_testeview.susi3.refresh}: com.webMethods.caf.faces.data.ContentProviderException: java.lang.reflect.InvocationTargetException
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:90)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at com.webMethods.caf.faces.servlet.CAFFacesServlet.service(CAFFacesServlet.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
at com.webMethods.caf.faces.servlet.GZIPFilter.doFilter(GZIPFilter.java:42)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at com.webMethods.caf.faces.servlet.MultipartFilter.doFilter(MultipartFilter.java:70)
[…]
Caused by: java.lang.NoSuchMethodException: could not find operation corresponding to SUSI(decimal,string,string,string,string,string,string,string,decimal,string,decimal,string). log MAPPING events to check that client-side map files are being read.
at electric.util.reflect.OperationLookup.newNoSuchMethodException(OperationLookup.java:285)
at electric.util.reflect.OperationLookup.getOperations(OperationLookup.java:192)
at electric.util.reflect.OperationLookup.getOperation(OperationLookup.java:97)
at electric.util.reflect.OperationLookup.getOperation(OperationLookup.java:51)
at electric.wsdl.Operations.getOperation(Operations.java:144)
[…]