cancel
Showing results for 
Search instead for 
Did you mean: 

Calling web service in offline form.

Former Member
0 Kudos

Hi,

I m trying to call web service in offline form with java script.

How can i pass request parameter? How can i get response?

Is there a sample java script code to do it?

Regards.

Accepted Solutions (0)

Answers (1)

Answers (1)

jagdishwar_b
Active Participant
0 Kudos

>>I m trying to call web service in offline form with java script.

after you create the webservice dataconnection, drag and drop the WS into layout area. it will create the input fields related to the request parameters and output textfileds corresponding to response parameters.

>>How can i pass request parameter?

using javascript, you can fill those inputfields with the values of request parameters and use the method xfa.connectionSet.WSName.execute(0) to invoke the webservice.

>> How can i get response?

After successful execution of webservice call, the response values will be populated in the response textfields.

>>Is there a sample java script code to do it?

you can see some of the docs:

Understanding the Execute function in Adobe® LiveCycleu2122 Designer

http://wiki.sdn.sap.com/wiki/display/EmTech/DependentDropDowns

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0d0a250-ccd1-2c10-9e9f-b9d5cf259...

regards,

BJagdishwar.