App service error

0
First attempt at using an app service to show how many named users are on another mendix app.  Getting this error...   Where is the problem?   Thanks for your help.   "An error has occurred while handling the request. [User 'M' with session id 'f43fa279-1e8a-48fd-826e-e69565684f81' and roles 'Administrator']   --------   com.mendix.modules.microflowengine.MicroflowException: javax.xml.ws.soap.SOAPFaultException: Unknown service 'CountUsers'                 at CountUsers.CountUsers (CallWebservice : 'Call web service 'CountUsers'')                 at AppFactory.DCFUserCount (SubMicroflow : 'Call 'CountUsers'')   Advanced stacktrace:                 at com.mendix.modules.microflowengine.MicroflowUtil.processException(MicroflowUtil.java:143)   Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: javax.xml.ws.soap.SOAPFaultException: Unknown service 'CountUsers'                 at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:36)   Caused by: javax.xml.ws.soap.SOAPFaultException: Unknown service 'CountUsers'                 at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:193)                 at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:126)                 at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:199)                 at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:218)                 at com.mendix.integration.webservices.call.WebserviceCaller$3.run(WebserviceCaller.java:329)                 at com.mendix.integration.webservices.call.WebserviceCaller$3.run(WebserviceCaller.java:303)                 at java.security.AccessController.doPrivileged(Native Method)                 at com.mendix.integration.webservices.call.WebserviceCaller$1.execute(WebserviceCaller.java:267)                 at com.mendix.integration.webservices.call.WebserviceCaller$1.execute(WebserviceCaller.java:264)                 at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32)                 at com.mendix.util.classloading.Runner$1.run(Runner.java:21)                 at java.security.AccessController.doPrivileged(Native Method)                 at com.mendix.util.classloading.Runner.runUsingClassLoaderOf(Runner.java:17)                 at com.mendix.integration.webservices.call.WebserviceCaller.call(WebserviceCaller.java:272)                 at com.mendix.integration.webservices.call.WebserviceCaller.call(WebserviceCaller.java:133)                 at com.mendix.integration.webservices.WebserviceModuleImpl.callWebservice(WebserviceModuleImpl.java:203)                 at com.mendix.integration.internal.InternalIntegrationImpl.callWebservice(InternalIntegrationImpl.scala:318)                 at com.mendix.integration.actions.microflow.CallWebServiceAction.execute(CallWebServiceAction.scala:92)                 at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.java:47)                 at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.java:192)                 at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.java:149)                 at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:49)                 at com.mendix.core.actionmanagement.CoreAction.doCall(CoreAction.java:260)                 at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:248)                 at com.mendix.core.actionmanagement.ActionManager$1.execute(ActionManager.java:168)                 at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32)                 at com.mendix.core.actionmanagement.ActionManager.executeSync(ActionManager.java:174)                 at com.mendix.core.component.InternalCore.executeSync(InternalCore.java:459)                 at com.mendix.modules.microflowengine.actions.SubMicroflowAction.execute(SubMicroflowAction.scala:43)                 at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.java:47)                 at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.java:192)                 at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.java:149)                 at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:49)                 at com.mendix.core.actionmanagement.CoreAction.doCall(CoreAction.java:260)                 at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:248)                 at com.mendix.core.actionmanagement.ActionManager$1.execute(ActionManager.java:168)                 at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32)                 at com.mendix.core.actionmanagement.ActionManager.executeSync(ActionManager.java:174)                 at com.mendix.core.component.InternalCore.execute(InternalCore.java:377)                 at com.mendix.webui.actions.client.ExecuteAction.execute(ExecuteAction.java:135)                 at com.mendix.webui.requesthandling.ClientRequestHandler$$anonfun$handleRequest$1.apply$mcV$sp(ClientRequestHandler.scala:282)                 at com.mendix.webui.requesthandling.ClientRequestHandler$$anonfun$handleRequest$1.apply(ClientRequestHandler.scala:277)                 at com.mendix.webui.requesthandling.ClientRequestHandler$$anonfun$handleRequest$1.apply(ClientRequestHandler.scala:277)                 at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2$$anon$1.execute(ActionDispatching.scala:144)                 at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32)                 at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2.apply(ActionDispatching.scala:146)                 at scala.util.Try$.apply(Try.scala:192)                 at com.mendix.core.session.Worker$$anonfun$receive$3.applyOrElse(ActionDispatching.scala:140)                 at akka.actor.Actor$class.aroundReceive(Actor.scala:465)                 at com.mendix.core.session.Worker.aroundReceive(ActionDispatching.scala:136)                 at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)                 at akka.actor.ActorCell.invoke(ActorCell.scala:487)                 at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238)                 at akka.dispatch.Mailbox.run(Mailbox.scala:220)                 at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:393)                 at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)                 at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)                 at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)                 at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)"
asked
1 answers
1

Did you activate the ws request handler (sprintr / deploy / details tab network)?

The error is telling you that the service is not published yet and thus can not be found by the consuming webservice.

Regards,

Ronald

 

answered