Portlet Factory, Version 6.1.2


 

Calling a web service

After you use the Web Service Call builder to add a web service to a model, you can initiate a call to the web service. Once you have the web service call definition in your model, call the specified service in one of the following ways:

  • With the serviceCallName.invoke() method that the Web Service Call builder adds to the model. For example, to execute the service call from a method:
    webAppAccess.callMethod("ServiceCallName.invoke");

  • Add an Action List builder to the model and, from the Action Chooser displayed by clicking the ellipsis [...] button, select DataServices and ServiceCallName.execute.

The serviceCallName_reply variable stores the output from the service call. If the service returns XML, the Web Service Call builder also adds a schema that defines the service results.

Parent topic: Web service calls in a model


Library | Support |