cancel
Showing results for 
Search instead for 
Did you mean: 

Bound data node Node of InteractiveForm must not be empty

Former Member
0 Kudos

I try to generate a pdf document with name and surname in web dynpro.

I have this context

  • Pdf

- Name (string)

- Surname (string)

- pdfSource (Binary)

I set this options in the properties of InteractiveForm:

dataSource : Pdf

displayType: activeX

mode : updateDataInPdf

pdfSource : Pdf.pdfSource

In the implementation tab I add the following code lines (Add the source code to the wdDoInit method):


wdContext.currentPdfElement().setSurname("xxxxxxx");
    wdContext.currentPdfElement().setName("xxxxxxx");

But when I deploy my applications I have this error:

Bound data node Node(SchedaView.Pdf) of InteractiveForm must not be empty!

Can you help me?

Thanks!!!

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

what is the cardinality of pdf node if it is 0..n

make it as 1..1

Regards,

ramesh

Edited by: Ramesh Babu V on Oct 24, 2008 2:12 PM

Former Member
0 Kudos

hi Ramesh Babu V,

now I have this error:

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

help me....

Former Member
0 Kudos

Hi,

it should work.

here i am able to get the output.

just verify the properties once again.

refer this

Regards,

ramesh

Edited by: Ramesh Babu V on Oct 24, 2008 2:40 PM

Former Member
0 Kudos

Have you configured the ADS and credentials.

please check that also.

with regards

shanto aloor

Former Member
0 Kudos

Hi shanto aloor,

I have configured the ADS, but now I have another error:

java.net.SocketTimeoutException: Read timed out

at java.net.SocketInputStream.socketRead0(Native Method)

at java.net.SocketInputStream.read(SocketInputStream.java:134)

at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)

at java.io.BufferedInputStream.read(BufferedInputStream.java:201)

at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.readLine(HTTPSocket.java:806)

... 43 more

Can you help me?