I've created a web service project in the same solution with the project containing the AbleCommerce code, and wrote a test method to check that I can actually call the CommerceBuilder code from my web service:
Code: Select all
[WebMethod]
public string CountUsers()
{
try
{
int count = UserDataSource.CountForStore();
return count.ToString();
}
catch (Exception ex)
{
return ex.Message;
}
}
"AbleCommerceHttpModule does not appear to be configured."
I'm not sure what I'm doing wrong here, whether it's an issue with my use of web services (this is really the first time I've ever tried to make one), or something I need to do with the AbleCommerce code. Any ideas how I can solve this?