on 02-07-2012 7:22 AM
Hi,
My requirement is to call the web service when users opens the static adobe form. can this be possible and how?
Thanks in advance.
Pooja
Hi Pooja,
Refer below link for integration of WS in Adobe form:
http://www.saptechnical.com/Tutorials/AdobeForms/Webservices/Index.htm
After doing all the steps mentioned in above link, you can write the following code in preOpen event in Adobe forms:
var cURL = "http:/servername:port/sap/bc/srt/rfc/sap/zws_po_getdetail/030/zws_po_getdetail/zws_po_getdetail";
var service = SOAP.connect(cURL);
xfa.connectionSet.DC_POGetDetails.execute(0);
Hope it will help you,
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Amit,
Thanks for the quick reply, I cant build in the form using SFP, my requirement is i have a standalone form,designed in the LC designer, followed the same steps and pasted the below lines of code in the init event of the form, but still it is not fetchng my data through webservice.
I put on the breakpoint in the fm but it is not hititing it at all. Please suggest what should I do.
Thanks
Pooja
Hi Pooja,
I am not sure, that you will be able to debug Web Service using ABAP debugger.
Use Web Service Navigator for checking the WS is working fine or not. Usually path for WS Navigator will be:
http://<hostname>:<port>/wsnavigator
Regards,
Amit
Have you enabled Show Console on errors and warnings in Adobe reader. You can find this property under
Edit -> Preferences -> JavaScript
Once you have enabled the above mentioned checkbox, it will show you error.
We have integrated WS with Adobe forms and these forms are opened using Adobe reader.
So that is not the case. It should work with both.
You said, you created the Adobe form using LiveCycle designer and integrated the WS in it. I think it is the issue, you have to design the form using SFP and activate. Try this, it may work.
Regards,
Amit
Edited by: wipro.com on Feb 10, 2012 7:46 PM
This has been resolved....thanks Amit for all your valuable inputs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.