Hello,
If you want to use the
Web service data source web part, you need to ensure that the web service, you are about to invoke, is called
GetDataSource and its syntax looks like the following one:
[WebMethod]
public DataSet GetDataSet(string parameter)
{
// INSERT YOUR WEB SERVICE CODE AND RETURN THE RESULTING DATASET
}
It's up to you what columns the output dataset would consist of. The input parameter is the property Web service parameter of the Web service data source web part. So, the web service method accepts only one parameter, however, you can define any macro in the Web service parameter (query, custom etc.) to dynamically specify the input parameter.
Anyway, if you still need to execute a web service method with a different name or with different input and output parameters, you will need to use custom code to execute the method. Kentico CMS is a standard .NET application so you can use standard .NET API.
Best regards,
Michal Legen