3 Replies Latest reply on Nov 2, 2010 11:45 AM by jvenkatrao

    Invoke Short-lived Process using Java API

    jvenkatrao Level 1

      I have created a short-lived process using workbench ES2 9.0. I can invoke the process from within workbench just fine. When I try to invoke it using Java API from outside the workbench, it is giving me this exception.

      ALC-DSC-012-000:

       

      com.adobe.idp.dsc.registry.ServiceNotFoundException: Service: MyApplication10/MyApplication10/Processes/RenderForm - 1.0 not found.

      at com.adobe.idp.dsc.registry.service.impl.ServiceRegistryImpl.getService(

      ServiceRegistryImpl.java:1088)

      at com.adobe.idp.dsc.registry.service.impl.ServiceRegistryImpl.getHeadActiveConfiguration(

      ServiceRegistryImpl.java:939)

      at com.adobe.idp.dsc.registry.naming.impl.NamingRegistryImpl.resolveName(

      NamingRegistryImpl.java:93)

      at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.resolveConfiguration(

      ServiceEngineImpl.java:143)

      at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invokeCall(

      SoapSdkEndpoint.java:119)

      at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invoke(

      SoapSdkEndpoint.java:81)

      at sun.reflect.GeneratedMethodAccessor848.invoke(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(

      DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(

      Method.java:597)

      at org.apache.axis.providers.java.RPCProvider.invokeMethod(

      RPCProvider.java:397)

      at org.apache.axis.providers.java.RPCProvider.processMessage(

      RPCProvider.java:186)

      at org.apache.axis.providers.java.JavaProvider.invoke(

      JavaProvider.java:323)

      at org.apache.axis.strategies.InvocationStrategy.visit(

      InvocationStrategy.java:32)

      at org.apache.axis.SimpleChain.doVisiting(

      SimpleChain.java:118)

      at org.apache.axis.SimpleChain.invoke(

      SimpleChain.java:83)

      at org.apache.axis.handlers.soap.SOAPService.invoke(

      SOAPService.java:454)

      at org.apache.axis.server.AxisServer.invoke(

      AxisServer.java:281)

      at org.apache.axis.transport.http.AxisServlet.doPost(

      AxisServlet.java:699)

      at javax.servlet.http.HttpServlet.service(

      HttpServlet.java:637)

      at org.apache.axis.transport.http.AxisServletBase.service(

      AxisServletBase.java:327)

      at javax.servlet.http.HttpServlet.service(

      HttpServlet.java:717)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(

      ApplicationFilterChain.java:290)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(

      ApplicationFilterChain.java:206)

      at com.adobe.idp.dsc.provider.impl.soap.axis.InvocationFilter.doFilter(

      InvocationFilter.java:43)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(

      ApplicationFilterChain.java:235)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(

      ApplicationFilterChain.java:206)

      at com.adobe.idp.um.auth.filter.CSRFFilter.doFilter(

      CSRFFilter.java:41)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(

      ApplicationFilterChain.java:235)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(

      ApplicationFilterChain.java:206)

      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(

      ReplyHeaderFilter.java:96)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(

      ApplicationFilterChain.java:235)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(

      ApplicationFilterChain.java:206)

      at org.apache.catalina.core.StandardWrapperValve.invoke(

      StandardWrapperValve.java:230)

      at org.apache.catalina.core.StandardContextValve.invoke(

      StandardContextValve.java:173)

      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(

      SecurityAssociationValve.java:182)

      at org.jboss.web.tomcat.security.JaccContextValve.invoke(

      JaccContextValve.java:84)

      at org.apache.catalina.core.StandardHostValve.invoke(

      StandardHostValve.java:128)

      at org.apache.catalina.valves.ErrorReportValve.invoke(

      ErrorReportValve.java:104)

      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(

      CachedConnectionValve.java:157)

      at org.apache.catalina.core.StandardEngineValve.invoke(

      StandardEngineValve.java:109)

      at org.apache.catalina.connector.CoyoteAdapter.service(

      CoyoteAdapter.java:241)

      at org.apache.coyote.http11.Http11Processor.process(

      Http11Processor.java:844)

      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(

      Http11Protocol.java:583)

      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(

      JIoEndpoint.java:447)

      at java.lang.Thread.run(

      Thread.java:662)

       

      I think it is not finding my process. But I do not know how exactly to specify the process name ? This is how I see the process name in the workbench.

      Under the Services tab, MyApplication is the name of the service. Under that, it is MyApplication10/Processes/RenderForm - 1.0.

      Can anyone guide me in the right direction ?

       

      Thanks,

      Jyothi