cancel
Showing results for 
Search instead for 
Did you mean: 

Generating PDF with Web Dynpro, help me

Former Member
0 Kudos

I am developing a web dynpro that generates a pdf. I put an Interactive Form in my View and drew the pdf in Interactive Form Edit.

When I run the appication, I get the error message:

 java.lang.Exception: Incorrect content-type found 'text/html' 

    at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.ClientMimeMessage.initDeserializationMode(ClientMimeMessage.java:120)
    at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.handleResponseMessage(MimeHttpBinding.java:951)
    at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1430)
    at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:82)
    at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:99)

Where is the error?

Thanks

Message was edited by:

Paulo

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

What is ADS? Where can I configure this server with these parameters?

Thanks very much,

Former Member
0 Kudos

Hi

ADS -Adibe Documents Service and check this link

https://websmp110.sap-ag.de/~form/handler?_APP=00200682500000002033&_EVENT=DISPLAY&_FRAME=NAVIGATION...;

For ADS config guide

Hope this helps

-Madhu

Former Member
0 Kudos

Hello,

ADS is the Adobe Document Services. They expose their functionality as a web service and can be used to create and manipulate pdf documents.

There is a step-by-step guide on how to configure the ADS (<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">link</a>).

You can also find a lot of tutorials on interactive forms at the web dynpro tutorial page (<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#pdf">link</a>).

Regards,

Christophe

Answers (5)

Answers (5)

Former Member
0 Kudos

One doubt:

Would it be the SOA that SAP talks about too much?

Thanks,

I will try to test the configuration of ADS.

Message was edited by:

Jonas Junior

Former Member
0 Kudos

Hi Jonas,

Make sure that he FP_ICF_DATA_<SID> is configured properly under the HTTP service in VA in your ADS server. This destination should point your backend system.

Hope this helps

Regards

Madhu

Former Member
0 Kudos

Hi,

There is something wrong with the configuration of the webservice that is used to render the pdf.

Have a look at note 1004321 for a possible solution.

Also check <a href="/people/dezso.pap/blog/2007/01/10/common-problems-with-sap-interactive-forms-by-adobe--part-i- blog</a> with common interactive form errors.

You can test the webservice directly. Go to the J2EE engine start page (http://<host>:<port>/index.html) and open the web service navigator. You should find the adobe webservice there.

Regards,

Christophe

Former Member
0 Kudos

Lohi,

the error in that link was:

javax.xml.rpc.soap.SOAPFaultException: Exception in method rpData.

its different from mine, isnt it?

Former Member
0 Kudos

Hi,

gothru this link

It might helps you.

Otherwise post your issues.

Thanks,

Lohi