You need to sign in to do that
Don't have an account?
ScottPJ
Javascript Error : No Service Available for Class testClick
When I attempt to run the follow Javascript (from a button), I receive the error 'No Service Available for Class testClick'.
{!REQUIRESCRIPT("/soap/ajax/14.0/connection.js")}
{!REQUIRESCRIPT("/soap/ajax/14.0/apex.js")}
var inputStatus = 1;
// Now make a synchronous call to the Apex Web service method
var result = sforce.apex.execute("testClick", "test", {status : inputStatus });
The Apex class:
global class clickTest {
WebService static Boolean test(integer status)
{
return true;
}
}
Does anybody have any suggestions to resolve this issue?
Thanks.
werewolf
Your Apex class is called clickTest. You are calling testClick. Compare and contrast.