function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
DokerDoker 

executeAnonymous pwned me :/

Whenever I call
apexApiObject.executeAnonymous(apexCode);

it throws an error
System.Web.Services.Protocols.SoapHeaderException: No operation available for request
{http://soap.sforce.com/2006/08/apex}executeAnonymous
 
even if my apexCode = ";" ;
 
Can you please help me out with this, please?
SuperfellSuperfell
You are sending the request to the wrong endpoint URL.
DokerDoker
So which one is the right on? Login Result gives me only two options: serverUrl i metadataServerUrl...
SuperfellSuperfell
the one in the apex wsdl.