cancel
Showing results for 
Search instead for 
Did you mean: 

Error generating PDF using HTTPS protocol

maniksaha
Explorer
0 Kudos

Hi,

We have an application on WD which displays a PDF form based on some input values.

When the application is run using http client, it works perfectly.

When using a HTTPS client via the SAP Web Dispatcher, the PDF generation gives the following error.

Any advise/suggestion would be greatly appreciated.

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

com.sap.engine.services.webservices.jaxrpc.wsdl2java.ClientProtocolException: An error occured while reading data from the destination sap.com/tcwdpdfobject/com.sap.tc.webdynpro.adsproxy.AdsProxy/SecConfigPort_Document. The error was: java.security.cert.CertificateException No such view:.

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

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

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

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

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

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

at

...

Accepted Solutions (1)

Accepted Solutions (1)

markus_meisl
Active Contributor
0 Kudos

Hi Manik,

it seems to me that you haven't set your system up for SSL. Please check the relevant section in the Adobe document services Configuration Guide again on how to do this setup.

Kind regards,

Markus Meisl

Former Member
0 Kudos

hi Markus Meisl

im also using SAP webdispatcher for HTTPS... same error also getting in my application.

please give me solution if known...

0 Kudos

Hi,

Did you solve this by enabling SSL? We're having the exact same problem.

To me it doesn't sound very logical that using a web dispatcher should require us to enable SSL to have ADS work properly. The reverse proxy should terminate SSL thus removing the need for having expensive SSL calls inside the system landscape. There's no need for it when using ADS in an ABAP environment (e.g. travel reciepts in ESS) and there should be no need also in Web Dynpro java applications with PDF Generation.

I'd really appreciate it if you could share the solution you implemented.

.: HP

Answers (1)

Answers (1)

Former Member
0 Kudos

I had the same problem. But I did not want to configure to configure SSL to ADS. So what I did is following settings in the Visual Admin tool to use http irrespective of the protocol used in the brower.

Please make sure set the following setttings in Propertysheet.default property file.

1. Visual Administrator -> Server -> Services -> Configuration Adapter -> Webdynpro -> sap.com -> tcwddispwda -> Please edit the Propertysheet default -> sap.protocolSchemeForADSCall >> custom value: http

2. Please use Visual Administrator to maintain propertysheet default: go to Server -> Services -> Configuration Adapter -> webdynpro -> sap.com -> tcwddispwda_>Propertysheet default -> Please edit the entry "sap.ADSCallingMode", change that value from "http" to "soap", save the changes and restart the cluster.

I hope this solves your problem.

- Ramana Morumpalle