Hi,How to prefill a form on pageload by data returned from a webservice(restfull)? any help or sample example please?also what are the avoka api classes and methods to call webservice?
It is common practice to do the prefill on the server before the form is rendered in the browser. To do this you would write a Groovy Prefill Service (see Form Prefill Data).
We have a full SDK for developing these services in Groovy. For more information see Avoka Transact Fluent SDK.
The Fluent API includes a bunch of handy classes for calling external endpoints: com.avoka.tm.http
Here are some examples: Performing Remote Service Calls
Hope that helps.
Umakanta, did this resolve your query?
Did you get this working?