Skip to main content
added 8 characters in body
Source Link
Ratan Paul
  • 22.8k
  • 14
  • 55
  • 99

You have used String return type for your method and returning an Id.

Try this:

Webservice static Id fetch(Id localId) { return localId; }

Webservice static Id fetch(Id localId)
{
        return localId;
}

You have used String return type for your method and returning an Id.

Try this:

Webservice static Id fetch(Id localId) { return localId; }

You have used String return type for your method and returning an Id.

Try this:

Webservice static Id fetch(Id localId)
{
        return localId;
}
Source Link

You have used String return type for your method and returning an Id.

Try this:

Webservice static Id fetch(Id localId) { return localId; }