You need to sign in to do that
Don't have an account?
bob_buzzard
Apex SOAP Callouts Challenge
I'm seeing the following error message when checking the challenge:
--- snip ---
Challenge Not yet complete... here's what's wrong:
The Apex class 'ParkLocator' does not appear to be calling the SOAP endpoint.
--- snip ---
However, if I run ParkLocator country method from execute anonymous I get the list of parks back as expected, so the code is definitely using the SOAP service. Also, if I remove the remote site setting for the endpoint then the challenge check fails as the SOAP endpoint is not authorized. I've also tried changing the name of the method to check that the challenge is definitely executing my code, and it fails if the name is other than 'country.
I can't see what I am missing here, but obviously I don't know what is being checked to determine if the SOAP endpoint is called. I've been seeing this for a couple of hours now and I've tried re-implementing in a different org with no success.
--- snip ---
Challenge Not yet complete... here's what's wrong:
The Apex class 'ParkLocator' does not appear to be calling the SOAP endpoint.
--- snip ---
However, if I run ParkLocator country method from execute anonymous I get the list of parks back as expected, so the code is definitely using the SOAP service. Also, if I remove the remote site setting for the endpoint then the challenge check fails as the SOAP endpoint is not authorized. I've also tried changing the name of the method to check that the challenge is definitely executing my code, and it fails if the name is other than 'country.
I can't see what I am missing here, but obviously I don't know what is being checked to determine if the SOAP endpoint is called. I've been seeing this for a couple of hours now and I've tried re-implementing in a different org with no success.
All Answers