Documentation in here says
• You can only use the webService keyword in a trigger when it is in a method defined as asynchronous; that is, when the method is defined with the @future keyword.
But i can define a webservice method in apex as below
global class myclass{
webservice static void check( string a)
{
system.debug('WEBSERVICES are invoked');
}
}
and make it call in my trigger as below without declaring method as asynchronous
trigger mytrigger on account(before insert)
{
myclass.check('hello');
}
In debug log i can see webservice is being called
Is documentation correct? or is talking about callouts?