cancel
Showing results for 
Search instead for 
Did you mean: 

Interactive Adobe Forms error while execution....

Former Member
0 Kudos

Hi,

<b>I am working on Adobe Forms & developed one application "Online Interactive Form" . After deploying when i try to Run the Appln i am getting following error..</b>

com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: Severe : PDFDocument is NULL. Exception : Service call exception; nested exception is: java.lang.Exception: Incorrect content-type found text/html

atcom.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:385)

at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterApplicationModification(ClientApplication.java:1117)

at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.afterApplicationModification(ClientComponent.java:887)

at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doRespond(WindowPhaseModel.java:573)

at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:152)

at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:330)

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

at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:297)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:706)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:660)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:228)

at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)

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

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

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

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

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

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

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

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

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

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

atcom.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)

<b>I searched on SDN & come to know few points that may be it is bcoz of SP Level difference between WAS & ADS..But not getting any way for how to check this.??

My senior told me that they are at same SP Level..if this is the case what is the other possible reason for getting this error...??</b>

Waiting for reply !

Thanks in advance !

Smita.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi

try this

You need a .pfx-file.

This file is free off charge and you can get it by opening a message to SAP.

Say that you need a credential for the Adobe Interactive Forms scenario.

This file will be mailed to you with a password.

you have to copy the file to \usr\sap\*sys-id*\SYS\global\AdobeDocumentServices\TrustManagerService\trust\credentials

log on to the visual admin.

Go to the document services service.

Here you have to add the .pfx file.

Type: P12-record

alias: ReaderRights

P12-file: choose the pfx file

enter the password and confirm it.

click add, restart the server and try again.

I hope it works!

Regards

Nidhideep

Answers (6)

Answers (6)

Former Member
0 Kudos

Q answered Thank You!!

Former Member
0 Kudos

hi

Smita go thru this link

Regards

Nidhideep

Former Member
0 Kudos

Hi Christophe,

Thanks for the reply it helps alot.

Smita

Former Member
0 Kudos

Hi,

Can anybody pls Guide me for the Configuration of ADS ....?

I have a Doc for Configuring ADS on 7.0...But i am very confused in it...If possible can anyone just give me a Doc For ADS Config for Web AS Java with systematic steps..or any Doc prepared by someone??

Thanks in advance,

Smita

Former Member
0 Kudos

The password for the ADSUser is probably not correctly configured. Check the following:

1. Login to the visual admin

2. Go to <server node> -> Services -> Web Services Security

3. At the runtime tab select Web Service Clients -> sap.com - > tcwdpdfobject

4. Select com.sap.tc.webdynpro.adsprox.AdsProxy*ConfigPort_Document

5. At the Transport Security tab check the basic authentication, user should be ADSUSER and you can reenter the password with the correct password. Save the configuration.

6. Navigate to Services -> Deploy

7. At the bottom select the application radiobutton

8. Select sap.com/tcwdpdfobject and stop the application (right hand side of the screen)

9. when it is stopped, start it again

10. test the web service again as described above

You can use <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/06717aea-0c01-0010-b28f-e6494458788f">this guide</a> to configure ads.

Regards,

Christophe

Former Member
0 Kudos

Hey Hi Lohitha,

Thanks for the reply & helpful answer.

When i <b>test</b> ADS Config i got the error ...

An error has occurred. Maybe the request is not accepted by the server:

<b>Incorrect content-type found 'text/html'</b>

This is the same error that i am getting when i run the the application in webdynpro...

can u just give me an idea how can i remove this error ? Wheather this error is bcoz of wrong configuration..?

Thanks,

Smita.

Former Member
0 Kudos

Hi,

Go thru config guide try to give your admin he will do this ADS config.

The most current version of the ADS Config Guide (all releases) is always available at

http://services.sap.com/adobe > Media Library > Documentation.

Other versions for NW04 are attached to SAP Note 682619.

Thanks,

Lohi.

Former Member
0 Kudos

Hi,

Check this once.

check this.

1. Enter the following URL in your web browser:

http://<server>:<port>/AdobeDocumentServices/Config

where <server> is the name of the J2EE engine where the Adobe document services are installed and <port> is the port of the J2EE engine.

Note that the entries in the URL are case-sensitive.

2. The web page of the web service AdobeDocumentServices is displayed. Choose Test.

3. Choose rpdata(test.…) .

4. Choose the Send button without entering any parameters.

5. Enter the user name and password as given in the configuration steps(as in configuration guide- User:ADSUser) .

6. Choose Submit.

If the configuration is correct, you get the information about the Version number in the response area.

Please confirm the ADS version and WAS information

thanks,

Lohi.