Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > webservice parameter View modes: 
User avatar
Member
Member
Steve - 7/16/2012 6:52:21 PM
   
webservice parameter
What is the format for passing a parameter to the webservice getDataSet method?

We are trying to pass a string , but entering the free text into the Web Service parameters box on the web part properties page is not being picked up?

User avatar
Member
Member
kentico_michal - 7/17/2012 4:02:29 AM
   
RE:webservice parameter
Hi,

Did you define the web service as shown here:

    
[WebMethod]
public DataSet GetDataSet(string parameter)
{
// INSERT YOUR WEB SERVICE CODE AND RETURN THE RESULTING DATASET

return null;
}

Did you debug the code of the web service to see what is the value of the string parameter?

What version of Kentico CMS and hotfix are you using?

Best regards,
Michal Legen