You need to specify the property Web service URL (.asmx file)
in the Repeater for web service web part:. Web service URL: http://xxxx/news/service1.asmx
In this case it will be a location to the web service file.
However, the web service functionality, which Kentico CMS
provides, requires the web service method called GetDataSet
So, this web service file needs to have GetDataSet
method with following definitionpublic DataSet GetDataSet(string parameter)
instead of Get_News_E
, so that the repeater could display data.
The string variable parameter is the value you have entered into Web service parameters
property of the Repeater for web service web part.
However, since Kentico CMS is standard .NET application, you can use the web service the same way you would use it in standard .NET application.