You could use simple asmx web service hosted in iis.
- Code: Select all
/// <summary>
/// Summary description for Service
/// </summary>
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[System.ComponentModel.ToolboxItem(false)]
// To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line.
// [System.Web.Script.Services.ScriptService]
public class Service : System.Web.Services.WebService
{
[WebMethod]
public string HelloWorld(string name)
{
return string.Format("Hello World {0} !", name);
}
}
I have troubles parsing a complex type sent from ws. If someone have an example please give a hint