Just create a simple string and then convert it to an array (or list) in a method using the split method.
Your interface should look something like this:
[OperationContract]
[WebGet(UriTemplate = "test/{first}/{second}/{val1}")]
string GetVal(string first, string second, string val1);
Your implementation:
public string GetVal(string first, string second, string paramArray)
{
string[] parameters = paramArray.Split(',');
foreach (string parameter in parameters)
{
Console.WriteLine(parameter);
}
return "Hello";
}
And name it in the browser as follows:
http://localhost:8731/MyServer/test/first/second/1,2,3
Take a look at the MSDN forum for a detailed answer