9 Replies Latest reply on Sep 6, 2012 1:09 PM by StealthH4cker

    Custom PHP Script to Post to Reader Extender

    StealthH4cker

      Hello all,

       

      What APIs are available to post data using an HTTP request to the reader extensions server and then have a response back of the PDF that is extended? Is there any documentation?

        • 1. Re: Custom PHP Script to Post to Reader Extender
          TundraSteve Employee Moderator

          http://help.adobe.com/en_US/livecycle/10.0/ProgramLC/index.html

           

          There are Java APIs, web service, and REST interfaces that you can use.

          • 2. Re: Custom PHP Script to Post to Reader Extender
            StealthH4cker Level 1

            Thank you. I am further along in the project now. I have written a simple php script to test some SOAP calls.

             

            I had no issue calling "getDocumentUsageRights". I got the usage rights returned to be in an array object. However, when I call "applyUsageRights" I am receiveing an error.

             

            Fatal error:  Uncaught SoapFault exception: [soapenv:Server.userException] java.lang.NullPointerException in /path/to/file/test.php:40 Stack trace: #0 [internal function]: SoapClient->__call('applyUsageRight...', Array) #1 /path/to/file/test.php: SoapClient->applyUsageRights(Array) #2 {main} thrown in /path/to/file/test.php on line 40


            Any ideas what could be causing in the NullPointerException on the reader extensions server?

            • 3. Re: Custom PHP Script to Post to Reader Extender
              N Santosh Kumar Adobe Employee

              Please attach server logs

              • 4. Re: Custom PHP Script to Post to Reader Extender
                StealthH4cker Level 1

                What is the location of the log files you are looking for. The reader extensions server is using "Document Services 10.0" on Windows 2008.

                • 5. Re: Custom PHP Script to Post to Reader Extender
                  StealthH4cker Level 1

                  I found a log file here:

                  C:\Adobe\ADEP\Document Services 10.0\jboss\server\aep_turnkey\log

                   

                  Contents (1 line):

                  2012-09-03 04:00:00,037 INFO  [com.adobe.idp.um.scheduler.AutoCreateDynamicGroupJob] (SimpleThreadPoolWorker-2) AutoCreation Not Enabled

                  • 6. Re: Custom PHP Script to Post to Reader Extender
                    N Santosh Kumar Adobe Employee

                    just wanted to check if there were any errors in the JBoss server log when you tried applyusagerights

                     

                    Are you using sample reader extension credential? If you have checked that apply usage rights is working fine with Web UI http://hostname:port/ReaderExtensions then you can upload your script so that we can have a look at what is the issue in client side script

                    • 7. Re: Custom PHP Script to Post to Reader Extender
                      StealthH4cker Level 1

                      I obtained to the Sample Reader Extension Credential and ensure that Reader Extensions was check when importing it into LiveCycle.

                       

                      I am able to Reader Extend documents with the Web UI tool at http://hostname:port/ReaderExtensions.

                       

                      Below is my code that has the error.

                      //Show error reporting
                      error_reporting(E_ALL ^ E_NOTICE);
                      ini_set('display_errors', '1');
                      
                      //Instantiate SoapCLient
                      $client = new SoapClient("http://xxx.xxx.xxx.xxx:8080/soap/services/ReaderExtensionsService?wsdl&lc_version=10.0.0");
                      
                      //Get the contents of the PDF to be extended
                      $inPDF = file_get_contents("/path/to/pdf/test.pdf");
                      
                      //Bse64 encode the PDF data
                      $inPDF = base64_encode($inPDF);
                      
                      //Build the applyUsageRights request argument array
                      $applyUsageRights = array(
                           'inPDFDoc'=>array(
                                'contentType'=>'',
                                'binaryData'=>$inPDF,
                                'attachmentID'=>'',
                                'remoteURL'=>'',
                                'MTOM'=>'',
                                'swaRef'=>'',
                                'attributes'=>''
                           ),
                           'credentialAlias'=>'admin',
                           'credentialPassword'=>'password',
                           'applyOptions'=>array(
                                'message'=>'Reader Exteneded',
                                'modeFinal'=>true,
                                'usageRights'=>array(
                                     'enabledBarcodeDecoding'=>false,
                                     'enabledComments'=>true,
                                     'enabledCommentsOnline'=>true,
                                     'enabledDigitalSignatures'=>true,
                                     'enabledDynamicFormFields'=>true,
                                     'enabledDynamicFormPages'=>true,
                                     'enabledEmbeddedFiles'=>true,
                                     'enabledFormDataImportExport'=>true,
                                     'enabledFormFillIn'=>true,
                                     'enabledOnlineForms'=>true,
                                     'enabledSubmitStandalone'=>true
                                )
                           )
                      );
                      
                      try {
                           //Execute the applyUsageRights function
                           $result = $client->applyUsageRights($applyUsageRights);
                      } catch (Exception $e) {
                           print_r($e);
                           die();
                      }
                      
                      • 8. Re: Custom PHP Script to Post to Reader Extender
                        StealthH4cker Level 1

                        After more searching I found where the errors were being logged.

                        2012-09-04 13:24:40,292 INFO  [org.apache.axis.EXCEPTIONS] (http-0.0.0.0-8080-5) AxisFault:
                        AxisFault
                         faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
                         faultSubcode: 
                         faultString: java.lang.NullPointerException
                         faultActor: 
                         faultNode: 
                         faultDetail: 
                             {http://xml.apache.org/axis/}stackTrace:java.lang.NullPointerException
                             at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1180)
                             at java.util.ResourceBundle.getBundle(ResourceBundle.java:777)
                             at com.adobe.livecycle.readerextensions.client.RESMsgSet.getMsgString(RESMsgSet.java:198)
                             at com.adobe.livecycle.readerextensions.client.RESMsgSet.getMsg(RESMsgSet.java:256)
                             at com.adobe.livecycle.readerextensions.ReaderExtensionsService.applyUsageRights(ReaderExtensionsService.java:180)
                             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                             at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                             at java.lang.reflect.Method.invoke(Method.java:597)
                             at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.java:118)
                             at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor.java:140)
                             at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
                             at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassivationInterceptor.java:53)
                             at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
                             at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(TransactionInterceptor.java:74)
                             at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTransactionCMTAdapterBean.java:357)
                             at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doSupports(EjbTransactionCMTAdapterBean.java:227)
                             at sun.reflect.GeneratedMethodAccessor570.invoke(Unknown Source)
                             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                             at java.lang.reflect.Method.invoke(Method.java:597)
                             at org.jboss.invocation.Invocation.performCall(Invocation.java:386)
                             at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:233)
                             at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:156)
                             at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:173)
                             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.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:378)
                             at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
                             at org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:228)
                             at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:211)
                             at org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java:97)
                             at org.jboss.ejb.plugins.security.PreSecurityInterceptor.invoke(PreSecurityInterceptor.java:81)
                             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:650)
                             at org.jboss.ejb.Container.invoke(Container.java:1092)
                             at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:436)
                             at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
                             at $Proxy238.doSupports(Unknown Source)
                             at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvider.java:104)
                             at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInterceptor.java:72)
                             at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
                             at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStrategyInterceptor.java:55)
                             at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
                             at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateInterceptor.java:37)
                             at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
                             at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterceptor.java:158)
                             at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
                             at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
                             at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
                             at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:121)
                             at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:131)
                             at com.adobe.idp.dsc.provider.impl.soap.axis.AdobeAxisServiceProvider.invokeMethod(AdobeAxisServiceProvider.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: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:57)
                             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:235)
                             at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
                             at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)
                             at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
                             at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
                             at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
                             at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
                             at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                             at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
                             at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                             at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
                             at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
                             at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
                             at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)
                             at java.lang.Thread.run(Thread.java:662)
                        
                             {http://xml.apache.org/axis/}hostname:medusa
                             {http://xml.apache.org/axis/}isRuntimeException:true
                        
                        java.lang.NullPointerException
                             at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
                             at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:333)
                             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:57)
                             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:235)
                             at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
                             at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)
                             at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
                             at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
                             at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
                             at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
                             at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                             at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
                             at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                             at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
                             at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
                             at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
                             at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)
                             at java.lang.Thread.run(Thread.java:662)
                        Caused by: java.lang.NullPointerException
                             at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1180)
                             at java.util.ResourceBundle.getBundle(ResourceBundle.java:777)
                             at com.adobe.livecycle.readerextensions.client.RESMsgSet.getMsgString(RESMsgSet.java:198)
                             at com.adobe.livecycle.readerextensions.client.RESMsgSet.getMsg(RESMsgSet.java:256)
                             at com.adobe.livecycle.readerextensions.ReaderExtensionsService.applyUsageRights(ReaderExtensionsService.java:180)
                             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                             at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                             at java.lang.reflect.Method.invoke(Method.java:597)
                             at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.java:118)
                             at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor.java:140)
                             at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
                             at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassivationInterceptor.java:53)
                             at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
                             at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(TransactionInterceptor.java:74)
                             at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTransactionCMTAdapterBean.java:357)
                             at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doSupports(EjbTransactionCMTAdapterBean.java:227)
                             at sun.reflect.GeneratedMethodAccessor570.invoke(Unknown Source)
                             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                             at java.lang.reflect.Method.invoke(Method.java:597)
                             at org.jboss.invocation.Invocation.performCall(Invocation.java:386)
                             at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:233)
                             at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:156)
                             at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:173)
                             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.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:378)
                             at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
                             at org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:228)
                             at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:211)
                             at org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java:97)
                             at org.jboss.ejb.plugins.security.PreSecurityInterceptor.invoke(PreSecurityInterceptor.java:81)
                             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:650)
                             at org.jboss.ejb.Container.invoke(Container.java:1092)
                             at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:436)
                             at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
                             at $Proxy238.doSupports(Unknown Source)
                             at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvider.java:104)
                             at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInterceptor.java:72)
                             at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
                             at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStrategyInterceptor.java:55)
                             at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
                             at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateInterceptor.java:37)
                             at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
                             at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterceptor.java:158)
                             at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
                             at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
                             at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
                             at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:121)
                             at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:131)
                             at com.adobe.idp.dsc.provider.impl.soap.axis.AdobeAxisServiceProvider.invokeMethod(AdobeAxisServiceProvider.java:222)
                             at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
                             at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
                             ... 35 more
                        
                        • 9. Re: Custom PHP Script to Post to Reader Extender
                          StealthH4cker Level 1

                          I have ended up building a Java application to perform the SOAP call which the PHP script executes. The SOAP service did not like that I was sending a bunch of arrays. It was expecting the Java objects in the request.