java - StackMob Custom Code Update Schema on Get Request -


i trying complete stackmob hello_world tutorial custom code found here: https://www.stackmob.com/devcenter/docs/getting-started:-custom-code-sdk#a-register_your_method

but when try run client-side ios code says:

{nslocalizedrecoverysuggestion={"error":"hello_world not existing schema"},  

i tried post request readparams example project , created schema , returned correctly. maybe requests don't modify schemas, how expect hello_world example?

thanks!

[edit]: got working making sure package of correct java package form src directory, etc. changed package name , forgot change pom.xml file reflect that.

this happens when api doesn't think there custom code method registered name yet. when go settings page custom code module, should see list of custom code methods available in jar uploaded.

if don't see such methods, went wrong trying validate jar uploaded. feel free contact support@stackmob.com questions specific app's custom code!

(disclaimer: i'm stackmob engineer)


Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -