cancel
Showing results for 
Search instead for 
Did you mean: 

Runtime error in web dynpro java

Former Member
0 Kudos

Hi friends,

i have designed and run the project for adobe pdf form,compliation is ok...but it produce runtime error please tel me what is error how to rectify that...

The error is

While processing the current request, an exception occured which could not be handled by the application or the framework.

If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).

Root Cause

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

com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:"https://<name>.us:443/AdobeDocumentServices/Config?style=document"

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

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

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

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

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

... 35 more

Thanks in advance

Manee R

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

thanks...the error is ADS configuration

Former Member
0 Kudos

Mani -

Can you please expand on what was wrong with your ADS configuration and what the solution was?

Thank you!

former_member751941
Active Contributor
0 Kudos

Hi Mani,

Check whether you have initialized the “NameNode” or not ??I think it is not initialized, initialized the node inside “wdDoInit” Method.

wdContext.nodeName().bind(wdContext.createNameElement());

Regards,

Mithu

former_member751941
Active Contributor
0 Kudos

Hi Mani,

To be able to use PDF forms in Web Dynproapplications:

&#56256;&#56442;SAPNetWeaverDeveloper Studio(minimum SPS 11) is installed

&#56256;&#56442;Adobe LiveCycleDesigner7.0 is installed

&#56256;&#56442;Adobe Reader7.0.x is installed

&#56256;&#56442;SAP NetWeaverWeb AS Javacompatible with the DevStudiois installed

&#56256;&#56442;The Adobe Document Servicesare deployed and configured on the SAP J2EE Engine.

&#56256;&#56442;The Active Component Framework(ACF) of the Interactive Forms integration is installed. (not mandatory)

Check this.

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2b6db1c4-0801-0010-faa5-ff4b4df5...

Regards,

Mithu

Former Member
0 Kudos

hi mithu

all are there now produce this error please give more idea to this

com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Bound data node Node(GMView.NameNode) of InteractiveForm must not be empty!

at com.sap.tc.webdynpro.clientimpl.xdp.renderer.data.XfdRenderer.renderLeadSelectedElement(XfdRenderer.java:176)

at com.sap.tc.webdynpro.clientimpl.xdp.renderer.data.XfdRenderer.render(XfdRenderer.java:79)

at com.sap.tc.webdynpro.clientserver.renderer.AbstractRenderManager.render(AbstractRenderManager.java:62)

at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.AdobeFormHelper.getDataStream(AdobeFormHelper.java:532)

at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.AdobeFormHelper.getDataStream(AdobeFormHelper.java:1042)

... 31 more

Former Member
0 Kudos

Hi Mani,

When u launch ur application ,ur dataSource node should have atleast 1 element.In ur application u have not done that.Just create an element ,it will work.

regards

Sumit

Former Member
0 Kudos

Mani,

Define the ADSUser and set the User Rights credentials in the Visual Administrator.

Bala.