You need to sign in to do that
Don't have an account?
jesus.cantero.chatt1.3952321544005415E12
class with keyprefix rest service stops working
I have one class that implements Rest webservice using @RestResource and @HttpPost. I am accesing to this webservice using a Site and the public profile asociated has permission to this apex class. This webservice is public and is used for testing.
@RestResource(urlMapping='/ContactTrialPost/*') global class WS_ContactTrialPost {
@HttpPost
webservice static void updateNewClient(){
response.responseBody = Blob.valueOf("{\"test\" : \"test_value\")";
}
}
This webservice was working during more than one month, but when I try to create an package to use in other organization I set nameprefix for all my class. After that the webservice isn't working again.
Any idea about the reason of this issue?
Thanks for your help!!!
@RestResource(urlMapping='/ContactTrialPost/*') global class WS_ContactTrialPost {
@HttpPost
webservice static void updateNewClient(){
response.responseBody = Blob.valueOf("{\"test\" : \"test_value\")";
}
}
This webservice was working during more than one month, but when I try to create an package to use in other organization I set nameprefix for all my class. After that the webservice isn't working again.
Any idea about the reason of this issue?
Thanks for your help!!!
Thank to my partner Pablo. He solve my problem!!!!