cancel
Showing results for 
Search instead for 
Did you mean: 

WSDL Data connection not working - SAP Interactive Forms(Adobe Based)

Former Member
0 Kudos

Greetings,

I am trying to explore the features of Adobe based forms in SAP (WAS 6.4) and have been trying to create an interactive form.

I am trying to use the WSDL file Data Connection but with no success. This is what I have been doing, starting with a blank form in the "Layout" tab,

- In the "Data View", created a "New Data Connection".

- Selected "WSDL file" Option.

- Browsed to and selected the desired WSDL file.

- Selected the WebService Option listed (Only one in my case).

The WebService in this case is programed to "Request" two numbers and "Response" back the sum. (This was just for trial).

- The connection subsequently appeared in the "Data View".

- Expanded the "Request" and "Response" trees and dragged the elements to the "Body Page" screen.

- Dragged the Data Connection Button to the screen.

- On the Properties of the Button, Went to the "Object" tab and then to the "Execute" tab.

- Checked "Re-Merge Form Data" and Run at "Client and Server"

- Generated the PDF Preview

- On the preview, entered the values for the "Requested" fields and clicked the button. It displays the error message "Couldn't post data to ".

This was my long story, but with this background, what I want to know is:

- How do i get it to work, I expected to see the sum in the field.

- What is meant by running at "Client or Server".

We do use a proxy server to connect to the Internet.

As a bottom line, I intend to make an interactive form with which I can display real-time transactional data on the form from our R/3 46C server based on a user input on the form itself (eg: PO info on entering of PO number on the form output itself)

Best Regards,

Sanyam Kapur

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Sanyam,

Looking for messages with zero reply I have found yours.

Even if it is some time ago, when you posted the message, I would like to give some hints here:

Web Dynpro does not allow to access data coming directly from a Web Service and display it within a pdf file. You need to create a Web Service modell first. Then you would bind the InteractiveForm property to the context and the data can be shown.

Hope that helps.

Best regards,

Karin

0 Kudos

Hi Karin,

You said "Web Dynpro does not allow to access data coming directly from a Web Service and display it within a pdf file" but I did it and it works well.

I created WSDL data connection in the Designer, I generated the fields and I run my WD. From within Webdybpro , my submit button invoked a pure WS and I got the response back. Of course the pdf WS invocation works also outside web dynpro (save as pdf).

Maybe you meant that SAP doesn't support this scenario ? because technically it is working.

Regards,

Gilles