2 Replies Latest reply on Apr 5, 2011 5:17 AM by BapediBoupi

    Use a module from another server

    BapediBoupi Level 1

      Hi guys,

       

      I'm not sure in which section to post this but it's there !

       

      Here's my problem : To sum up, I have two different servers.

      On the first one, LiveCycle ES2 SP2 and the Output module, and on the second one, LiveCycle ES2 SP2 and the process management module.

      I want to use a task in my workbench process (invoke DDX) that requires Output (to Flatten XFA-based Form, in order to assemble multiple PDF).

       

      Is this possible ? Can I specify to my server / workbench / task to use the output module of the other server ?

       

      Regards,

       

      Thomas

        • 1. Re: Use a module from another server
          BapediBoupi Level 1

          That is, of course, avoiding calling the output service as a WebService.

          • 2. Re: Use a module from another server
            BapediBoupi Level 1

            Ok, so apparently, there is no way to do so, so I'm trying to use the "invokeWebService" task.

             

            The SOAP request has 3 non-optional parameters, and mine looks like :

             

            <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://adobe.com/idp/services">

               <soapenv:Header/>

               <soapenv:Body>

                  <ser:generatePDFOutput>

                     <ser:transformationFormat>PDF</ser:transformationFormat>

                     <ser:form>{$ /process_data/@form $}</ser:form>

                     <ser:contentRoot>{$ /process_data/formData $}</ser:contentRoot>

                  </ser:generatePDFOutput>

               </soapenv:Body>

            </soapenv:Envelope>

             

            I don't really know what does form and contentRoot stand for, so i put the following :

             

            form : /process_data/@form, a document variable corresponding to my xdp form (using readResourceContent)

            contentRoot : /process_data/@formData, an xml variable corresponding to the user data.

             

            There's a remoteURL in my response string which leads to :

            http://mySecondLiveCycleServer:8080/DocumentManager/docm1301564076819/9188023077cf159c2b34 b915b6c91e26?type=YXBwbGljYXRpb24veG1s

             

            When I try to go to this url, i got the following message :

             

            2 1e6ee870e 10 ALC-FRM-001-035: Failed to load TemplateStream for FormQuery=rO0ABXNyABZjb20uYWRvYmUuaWRwLkRvY3VtZW50yAEFUxsO+CEDACNJAAtfY2FsbGJhY2tJZFoADV9 kZXNlcmlhbGl6ZWRJABBfZGlzcG9zYWxUaW1lb3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AwMDAwMDAwMDAwMDAwMDEwMDQwMTA wMDgwNjA2Njc4MTAyMDEwMTAxMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDIwM DAwMDAwMDQwMDAwMDAwMDAwMDAwMDFGMDAwMDAwMDQwMDAwMDAwMzAwMDAwMDAxMDAwMDAwMjAwMDAwMDAwMDAwMDA wMDAyMDAwMDAwMjAwMDAwMDAwNDAwMDAwMDAwMDAwMDAwMUYwMDAwMDAwNDAwMDAwMDAzAAACY3QAD2FwcGxpY2F0a W9uL3hkcHBzcgARamF2YS51dGlsLkhhc2hNYXAFB9rBwxZg0QMAAkYACmxvYWRGYWN0b3JJAAl0aHJlc2hvbGR4cD9 AAAAAAAAMdwgAAAAQAAAAA3QACGJhc2VuYW1ldAAIdGVzdC54ZHB0AARmaWxlcQB+ABZ0AAp3c2ZpbGVuYW1lcQB+A BZ4dzcALWFkb2JlL2lkcC9Eb2N1bWVudFB1bGxTZXJ2YW50L2Fkb2JlamJfc2VydmVyMQAAAAAAAQENeA== from location URI = fe e efefefe . in com.adobe.livecycle.formsservice.exception.RenderFormException at com.adobe.formServer.Template.validate(Template.java:1100) at com.adobe.formServer.Template.loadTemplateFromCache(Template.java:1150) at com.adobe.formServer.RunTimeContext.getTemplate(RunTimeContext.java:1521) at com.adobe.formServer.Transformations.getSnapIn(Transformations.java:156) at com.adobe.formServer.Controller.getSnapIn(Controller.java:89) at com.adobe.formServer.Controller.doRender(Controller.java:554) at com.adobe.formServer.Controller.render(Controller.java:140) at com.adobe.formServer.FormServer.renderForm(FormServer.java:214) at com.adobe.formServer.FormServer.renderForm(FormServer.java:281) at com.adobe.formServer.docservice.FormsDocService.renderForm(FormsDocService.java:571) at com.adobe.printSubmitter.util.FormSubmitter.submit(FormSubmitter.java:171) at com.adobe.printSubmitter.util.FormSubmitter.submit(FormSubmitter.java:110) at com.adobe.printSubmitter.PrintServer.execute(PrintServer.java:509) at com.adobe.printSubmitter.PrintServer.submit(PrintServer.java:232) at com.adobe.printSubmitter.service.OutputServiceImpl.generateOutputInTxn(OutputServiceImpl. java:269) at com.adobe.printSubmitter.service.OutputServiceImpl.generatePDFOutputInTxn(OutputServiceIm pl.java:402) at com.adobe.printSubmitter.service.OutputServiceImpl.access$100(OutputServiceImpl.java:84) at com.adobe.printSubmitter.service.OutputServiceImpl$2.doInTransaction(OutputServiceImpl.ja va:353) at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doRequiresNew (EjbTransactionBMTAdapterBean.java:218) at sun.reflect.GeneratedMethodAccessor277.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.invocation.Invocation.performCall(Invocation.java:359) at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:237) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:158) at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121) at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:1 73) at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:77) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:169) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138) at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648) at org.jboss.ejb.Container.invoke(Container.java:960) at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430) at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103) at $Proxy163.doRequiresNew(Unknown Source) at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:133) at com.adobe.idp.dsc.transaction.impl.DefaultTransactionTemplate.execute(DefaultTransactionT emplate.java:79) at com.adobe.printSubmitter.service.OutputServiceImpl.invokeGeneratePDFOutputWithSMT(OutputS erviceImpl.java:348) at com.adobe.printSubmitter.service.OutputServiceImpl.generatePDFOutput(OutputServiceImpl.ja va:311) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118) at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140) at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60) at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53) at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60) at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74) at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doBMT(EjbTran sactionBMTAdapterBean.java:197) at sun.reflect.GeneratedMethodAccessor301.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.invocation.Invocation.performCall(Invocation.java:359) at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:237) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:158) at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121) at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:1 73) at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:77) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:169) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138) at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648) at org.jboss.ejb.Container.invoke(Container.java:960) at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430) at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103) at $Proxy163.doBMT(Unknown Source) at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:95) at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72) at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60) at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55) at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60) at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37) at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60) at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:158) at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60) at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48) at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60) at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:115) at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129) at com.adobe.idp.dsc.provider.impl.soap.axis.AdobeAxisServiceProvider.invokeMethod(AdobeAxis ServiceProvider.java:222) 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:710) at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava: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.j ava: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.j ava: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.j ava: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:175) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.ja va:179) 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.ja va:580) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Unknown Source)