WebServiceResource.call

Calls the adapter specified by adapterName on the Web Service Resource. Note that different adapters support different methods and not all adapters support this method.

Before the call request is processed, the update() method is called internally - this transfers any non-tabular field data to the resource from mapped form fields . After the call request is processed, the fetch() method is called internally - this transfers any non-tabular field data from the resource to mapped form fields.

If the resource is mapped to tables in the form, resource data must be updated prior to invoking this method; this is done using the updateTable() method on all relevant tables. Similarly, any tables resulting from the call should be fetched after invoking this method using the fetchTable() method.

Further documentation.

Javascript example:

 // update the BOOKS_REQUEST table in the request document
 tables.BOOKS_REQUEST.updateTable();
 // call the web service
 try {
   resources.BOOKS_WS.call("ADAPTER1");
 }
 catch (e if e.javaException instanceof com.ebasetech.xi.exceptions.SoapFaultException)
 {
   log(e.javaException.message);
 }
 // load the BOOKS table from the response document 
 tables.BOOKS.fetchTable();
 

Parameters

java.lang.String  adapterName,