I have created a button, using the custom button form, that is supposed to run a certain method, but instead I get the following error:
A problem with the OnClick JavaScript for this button or link was encountered:{faultcode:'soapenv:Client', faultstring:'No operation available for request {http://soap.sforce.com/schemas/package/AAAParser}parserMethod, please check the WSDL for the service.', }".
So far no luck with finding other solutions to similar errors.
Any idea what this means??Thanks!
Attaching the OnClick JavaScript:
{!REQUIRESCRIPT("/soap/ajax/36.0/connection.js")}
{!REQUIRESCRIPT("/soap/ajax/36.0/apex.js")}
var nxh = '{obj__c.nxh__c}';
var obj = '{obj__c.Id}';
var str;
if (nxh == null || nct == '') {
alert('You can\’t Get Data if the nxh # is empty');
}else {
str = sforce.apex.execute("AAAParser","parserMethod",{"obj":obj,"NXH":nxh});
alert(str);
window.location.reload();
}