cancel
Showing results for 
Search instead for 
Did you mean: 

Creation of Adobe document in webdynpro java

Former Member
0 Kudos

Hi,

I have a requirement to download a table entries into Adobe Form. Its not interactive, just with few rows. For this do i need to have ADS installed in my portal server? or any configurations engough.

I created one simple pdf and deployed, i am getting the fallowing runtime error.

com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:"http://xxxx:50100/AdobeDocumentServices/Config?style=document"

Please help me in this.

Thanks,

Raz

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Raj,

You need ADS installation and configration in your scenario. It doesn't mater wheather you are doing Interactive forms or not. In your rec also you will be using ADS services..

See these following links. That shouls help.

[ADS Installation Guide|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2adb9bfb-0701-0010-75ac-bb20fc008aae]

[ADS Configuration guide|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30a9630b-4f89-2a10-6fab-e311b3ffd9a6]

Thanks

Shobhan

Former Member
0 Kudos

Hi Shobhan,

Thanks for your reply. I checked the ADS in portal system and it is installed. By checking configuration guide, I did basic authentication steps. When I checked by running the webservice with ADSUser and password I can see the version number.

Now When I am deploying one webdynpro application with few line in PDF Form, I got the fallowing exception.

The initial exception that caused the request to fail, was:

com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException: Processing exception during a "UsageRights" operation. Request start time: Wed Oct 01 08:54:57 CDT 2008 com.adobe.ProcessingError: Error while retrieving a password for credential: ReaderRights: java.lang.Exception: Could not retrieve a password for credential: ReaderRights Exception Stack Trace: com.adobe.ProcessingError: Error while retrieving a password for credential: ReaderRights: java.lang.Exception: Could not retrieve a password for credential: ReaderRights at com.adobe.ads.request.UsageRights.execute(Unknown Source) at com.adobe.BaseADSRequest.doWork(Unknown Source) at com.adobe.AdobeDocumentServicesWorker.execute(Unknown Source) at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source) at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source) at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0.java:120) 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:324) at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126) at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157) at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79) at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92) at SoapServlet.doPost(SoapServlet.java:51) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:397)

at com.sap.tc.webdynpro.pdfobject.core.PDFObject.render(PDFObject.java:3900)

at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRenderHandler.handle(PDFDocumentRenderHandler.java:148)

at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentProcessor.process(PDFDocumentProcessor.java:52)

at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentInteractiveFormHandlingContext.execute(PDFDocumentInteractiveFormHandlingContext.java:98)

... 31 more

Please suggest me the reason for this error. As this is not the interactive forms scenario, I didnt install the adobe credentials.

Thanks,

Raz

Former Member
0 Kudos

Hello Raz,

You should install ADS credential with ReaderRights, even if it is not a interactive form scenario.

Try it it will work.

All the best

Shobhan

Former Member
0 Kudos

Hi Shobhan,

How can I get Credentials? Do SAP charge for that? Please suggest me on this.

Thanks,

Raz

chintan_virani
Active Contributor
0 Kudos

Raz,

Please check Note 736902 for more info on how to get a permanent license from SAP.

There is a trial version available for download from SDN [here|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70aa75cc-6ac3-2910-c78c-ade192ec861e] but its valid for couple of months and should NOT be used in productive environment.

Chintan

Former Member
0 Kudos

Hi Raz, Usually it comes with ADS license.

Chack with your basis.

Thanks

Shobhan

Former Member
0 Kudos

Hi Shoban,

I dont think they applied for licence. Can I have you mail id, so that I can contact you. Or else send a test message to my id in my profile.

Thanks,

Raz

Former Member
0 Kudos

Hi..

My contact details are also in my profile.

Thanks

Shobhan

Former Member
0 Kudos

Hi Shobhan,

Thanks a lot for your reply. This is solved.

Regards,

Raz

Answers (1)

Answers (1)

Former Member
0 Kudos