Skip to Content
avatar image
Former Member

Exception while deploying Interactive form application

Hi All,

I am trying to deploy a webdynpro application which uses Interactive forms.

I am getting following error.

Could you please help me to resolve this error.

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

com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: Severe : PDFDocument is NULL. Exception : Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:"http://CX8:50000/AdobeDocumentServices/Config?style=document"

at com.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)

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jul 31, 2006 at 09:11 AM

    Hello,

    The username / password for accessing the Adobe web service is not configured properly.

    Refer to the Configuration guide pp. 12-15.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 08, 2007 at 11:03 AM

    Hi Shweta,

    Could you please tell me how you have solved the issue? here I am getting the same error whire deploy and run my application.

    Regards

    Suresh

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Subhash,

      Please check the security provider in Visual Admin.Make sure you use the basic authentication .

      User: ADSUser and correctly typed password.

      To set up Basic Authentication in a Java environment:

      1. Log on to the Visual Administrator.

      2. On the Cluster tab, choose Server <x> &#8594; Services &#8594; Web Services Security.

      3. Choose Web Service Clients → sap.com > tcwdpdfobject &#8594; com.sap.tc.webdynpro.adsproxy.AdsProxy*ConfigPort_Document.

      4. Check that the url mentioned there is correct (Thats the location where ADS is running as a web service). If not, please modify the URL (switch to Custom) to point it to the right location. You are required to change only the host and port in the URL. You can test the URL on your browser to be 100% sure.

      5. From the Authentication list, select BASIC.

      6. In the User and Password boxes, enter as Username ADSUser and a Password (consult your ADS administrator has got the same).

      7. Choose Save.

      8. The authentication data must be activated. For doing this navigate to Services &#8594; Deploy.

      9. Choose the button Application.

      10. Choose sap.com/tcwdpdfobject in the tree.

      11. Choose Stop Application.

      12. For restarting the application choose Start Application.

      13. Test your application

      Hope this helps.