cancel
Showing results for 
Search instead for 
Did you mean: 

Configuration Adobe Document Services

Former Member
0 Kudos

Hey,

I'm using Interactive Form in a web-dynpro project but when I execute the application I receive this stack:

com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException: Service call exception; nested exception is:

com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (302) Found.

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

at com.sap.tc.webdynpro.pdfobject.core.PDFObject.createPDF(PDFObject.java:209)

at com.sap.tc.webdynpro.clientserver.adobe.AdobeFormHelper.createPDFDocumentForUIElement(AdobeFormHelper.java:417)

at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:161)

at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterHandleActionEvent(ClientApplication.java:1088)

at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:393)

at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:640)

at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)

at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:251)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:391)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:265)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:345)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:323)

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:865)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:240)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)

at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)

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:94)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)

Caused by: java.rmi.RemoteException: Service call exception; nested exception is:

com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (302) Found.

at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:85)

at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:95)

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

... 27 more

Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (302) Found.

at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.handleResponseMessage(MimeHttpBinding.java:776)

at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1163)

at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:78)

... 29 more

I use SAP NetWeaver 6.40 SP 11 and Acrobat Reader 7.0.

I have installed ADS and Credentials for ADS.

I have created ADSUser and ADSGroup but when try to test it the system displays the same Invalid Response Code above.

Someone can help me?

Regards,

Federica

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

The error stack has the response code for 302.

I am not sure on it.

However, one quick question

To view a ADS generated PDF from a client browser, you need to have installed the ADSclient patch installed in your local machine.

This is one of the limitation of using ADS. Just check it out !

Thanks

Former Member
0 Kudos

Thanks sathyanarayanan.

Can you give me a link for downloading?

Best regards,

Federica

Former Member
0 Kudos

Hi

Sorry for the late reply.

I am not about the exact link to download the client patch. Its available in the SAP Market Place ( OSS). You need to have proper OSS id to download the same

Thanks

sathyanarayanan

Former Member
0 Kudos

Hi sathyanarayanan,

I need to make another question. Do you know if I must set up an SSL connection to the Adobe document Services and also configure the SSL connection for Web Dynpro?

Thanks a lot

Federica

Former Member
0 Kudos

Hi Federica,

the 'ADS frontend patch' Sathy was referring to is most likely the Active Components Framework, which is needed in SAP NetWeaver '04 to display a PDF form as part of a Web Dynpro application. Look at SAP Note 766191 for more information. (This limitation to IE will be removed in SAP NetWeaver 2004s SPS 7.)

As for the SSL connection: You need to configure it if you want to work with, among others, single sign-on.

Kind regards,

Markus Meisl

SAP NetWeaver Product Management

Former Member
0 Kudos

Hey Federica

Have you worked out your problem yet?

To be able to run correctly, you need to install Active Component Framewor (see attachments on note: 766191 as markus said).

To use ADS, you must configure an authorization. So its up to you if you want SSL or Basic connection. You must also install the right credentials in order to run DAS

Former Member
0 Kudos

Hi Kristoffer,

I've not worked out my problem yet.

Now I'm getting this error:

com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Error during call to AdobeDocumentServer: Processing exception during a "UsageRights" operation.

Request start time: Wed Jan 18 10:41:49 CET 2006

I've installed credentials that I received from SAP and I've created a user

for Basic Authentication as described on Configuration Guide.

On the client I've installed Acrobat Reader 7.0.1 and ACF.

I don't understand the cause of the problem.

Thanks

Federica

markus_meisl
Active Contributor
0 Kudos

Hi Federica

a UsageRights error usually indicates that your ADS is not configured correctly. It is most often related to the creation of the ADS user group and user. Please go through the ADS Config Guide again to verify that you have executed all steps correctly.

Kind regards,

Markus Meisl

SAP NetWeaver Product Management

Former Member
0 Kudos

Hi Federica

I got the same error message. What I did, was to upgrade to SP 15, and install the Reader Right credential.

If you have a problem with your ADSUser, you should get another error message saying "Error 500, User not authorize".

As Matthias says in another thread:

SP9 only supports Reader 6.0.2 and not Reader 7. In order to user Reader 7 you need to install xACF11.exe which only works with Web AS SP10 and 11

()

Former Member
0 Kudos

Hi,

I'm using SP11 of Netweaver Developer Studio, Adobe Acrobat Reader 7.0.1 but Adobe Document Services SP 09.

Is it important that the ADS, the J2EE and the Developer Studio have the same SP?

Another problem:

I get a 404 error when calling http://localhost:50000/adobe/RegisterCredential

But if I call

http://localhost:50000/AdobeDocumentServices/Config is working fine.

Best regards

Federica

Former Member
0 Kudos

Hi Federica

The SP on the J2EE and Developer Studio should be the same (but not use a higher SP on DS than your J2EE)

But you should use a higher SP on your ADS than 9. I got some error when using SP9, so i went for SP15. But be sure not to miss any SP while going from 9 to 15, cause you cant miss any levels.

as far as i know, AdobeDocumentServices/Config doesnt have anything to do with credentials. It just checks the access of the ADSuser you created in VA.

Former Member
0 Kudos

Kristoffer:

Did you have any problem applying patches from SP9 to SP15?

I try to go from SP9 to SP15 for ADS and it is not going at all. Thanks.

Glad to know that you actually get it to work.