Installation and deployment Questions on installation, system configuration and deployment to the live server.
Version 4.x > Installation and deployment > What is WS.Webservice Key? View modes: 
User avatar
Member
Member
ssp - 2/17/2009 4:45:28 PM
   
What is WS.Webservice Key?
Can someone please explain what the WS.Webservice key is in the web.config file? Why is it pointing to http://localhost/webservice/webservice.asmx?

User avatar
Kentico Support
Kentico Support
kentico_zdenekc - 2/27/2009 9:25:16 AM
   
RE:What is WS.Webservice Key?
Hi,

this key serves for definition of webservice url, which is then used in Webservice webpart.

Is this description enough?

Regards,
Zdenek Cetkovsky, Kentico.

User avatar
Member
Member
sarnil-internetfiji - 3/2/2009 3:51:05 PM
   
RE:What is WS.Webservice Key?
Thanks Zdenek,

For now yes the description is enough.

User avatar
Member
Member
Steve-Appetere - 8/14/2009 8:17:42 AM
   
RE:What is WS.Webservice Key?
Hi Zdenek

The WebService WebPart sounds useful for an application I have. Is there any documentation available with an overview of how it is used, along with some examples(the standard WebPart documentation doesn't provide this)?

Thanks,

Steve

User avatar
Kentico Support
Kentico Support
kentico_zdenekc - 9/1/2009 8:28:28 AM
   
RE:What is WS.Webservice Key?
Hi Steve,

I suppose you mean one of the Grid, Repeater or Datalist for Web Service... correct? The webpart documentation presents the basic info, unfortunatelly there is no comprehensive example on usage of these webparts...

However, the usage of these webparts is very easy. You need to specify correct url to the webservice (without parameters in url) and it has to implement GetDataSet method...this can be seen in our sample webservice in CMSPages\WebService.asmx.

Should you need any further details, feel free to ask.

Regards,
Zdenek C.

User avatar
Member
Member
rodrigo.perez-acumenholding - 3/29/2011 6:27:11 AM
   
RE:What is WS.Webservice Key?
I dont get it.
I am trying to call a web service that has a method Get_News_E and 3 parameters recovery (int) userId (string) and password (string)
I have tested the URL on explorer and the webservice works fine /news/service1.asmx/Get_News_E?recovery=1&UserId=xxx&Password=xxxx
But cant make it work on Kentico.
Im passing the following into the web services parameter:
/Get_News_E?recovery=1&UserId=accumen&Password=a21c03

What should I be doing??
Any support is highly appreciated.
Thank you.

User avatar
Kentico Support
Kentico Support
kentico_zdenekc - 3/30/2011 11:04:46 AM
   
RE:What is WS.Webservice Key?
Hi,

The problem is that our listing webparts for web service (including "Web service data source") use fixed service method name - "GetDataSet"
Are you using any of those webparts or the Web service data source?

If you could rename the Get_News_E method to GetDataSet, or call Get_News_E from GetDataSet in the webservice code, it would be an easiest solution.

Otherwise you would need to write custom Data source webpart and call your webservice method using your code.

Regards,
Zdenek