Web Services with Servoy

Is it possible to write web services with Servoy?

Hi AK,

When you are talking about “Using Web Services” there are two ways to use:

  1. Servoy Consumes an External Web Service, by using the Kydome_WebServices Plug-in, see the following sample:
var pamameters = new Array();
//Should be the file path of the WSDL file
pamameters[0] = '/data/webservices/test/sendRequest.wsdl';

//The Service Name as extracted from the WSDL file
//To get all services from WSDL file, use plugins.PBS_DynamicWSClient.getWSInfo(WSURL,null);
pamameters[1] = 'sendRequest';

//Number of Seconds to time out
pamameters[2] = 10*1000;

//First Argument to be passed to the service in pamameters[1]
pamameters[3] = forms.tasks.name;

var xx = plugins.Kydome_WebServices.DynInvokeServerside(pamameters);
plugins.dialogs.showInfoDialog( "",  xx,  'ok');
  1. External Systems to consume Servoy’s web service, and I really don’t know how to do so, I guess it is possible and Servoy automatically populates the WSDL files for each form including all possible functions/services.

I hope if the Servoy Gurus can help in point number 2.

Hint, you can download the plug-in from:

http://downloads.servoy.com/thirdparty/Kydome_WebServices.zip

Definitely interested in “point 2.” Any info on this?

Hi jbader,

Please refer to the following URL:

It is the answer of your question