Executing the method 'getAccount' from the Apex class 'AccountManager' failed. Either the service isn't configured with the correct urlMapping, is not global, does not have the proper method name or does not return the requested account and all of its contacts.
- Apex Web Services
- Apex Web Services
- I am getting below error while i try to complete the Apex web services .can anyone help on this
The point is on your urlMapping, 'Contacts' should start with lower case in all classes. Please check it, should work.
重要なのは、urlMapping にあり、「連絡先」はすべてのクラスで小文字で始まる必要があります。チェックしてください。動作するはずです。
Try changing the first T to lower case.
Test Account --> test Account
Account objAccount = new Account(Name = 'test Account');
Account accountTest = new Account(Name='Test Account');
https://developer.salesforce.com/forums/?id=9060G000000MPHzQAO
Error:Executing the method 'getAccount' from the Apex class 'AccountManager' failed. Either the service isn't configured with the correct urlMapping, is not global, does not have the proper method name or does not return the requested account and all of its contacts.
重要なのは、urlMapping にあり、「連絡先」はすべてのクラスで小文字で始まる必要があります。チェックしてください。動作するはずです。
The point is on your urlMapping, 'Contacts' should start with lower case in all classes. Please check it, should work.
https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007FUdFR
https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007MZs9R
コード有