Hi,
I am working on a Offline Interactive Adobe Form scenario.
The scenario is that the end user can download the form into his/her desktop/laptop.
Then fill the data in the form and submit the form by clicking a button on the form itself.
The entire form data should be sent in xml format to the SAP system.
I am using web service to send data to SAP system.
Steps Followed:
1) Create a RFC Function Module in SAP system and create a web service from it.
2) Do the necessary settings in SOAMANAGER. Get the WSDL file for the web service.
3) Create a Adobe form using transaction SFP.
4) Create a new data connection using the WSDL file.
5) Add a new field "XML_DATA" on the form. Data Type (String or XString???)
6) Add a button on the form. On click of the button, use javascript to fill the field "XML_DATA" and call the web service.
The issue is when i use the data type "XTRSING", the web service itself is not called and i get an error stating "Cannot Read from file 'wsdl'".
When i use the data type "String", the form on the field displays the entire xml data but when i debug the web service, the xml data i get is truncated.
Q1) Should i use XSTRING or STRING?
Q2) If XStRING, how do i get rid of the error?
Q3) If STRING, how do i make sure that the entire xml is transported?
Of course the other solution i can think of is to map all fields on the adobe form to the web service.
Then in the web service use a XSLT Transformation to convert the entire form data to xml data.
But from what i gather from all SDN Forums and blogs, adobe form should send me the data in XML format.
So me converting the data into xml seems absurd to me.
Please help me out here as this is a show-stopper.
Thanks and Regards
Gaurav Kumar Raghav