java - Google Cloud Endpoints passes object with null fields when calling dev server (on localhost) -
i face strange situation when invoking google cloud endpoints ios client whereby service receives legit object when instance on appspot.com
called, same object's fields set null
when instance on dev server on localhost
(launched inside eclipse) called.
the java.version
on appspot.com
1.7.0
, on localhost
1.7.0_45
(i.e. oracle java 7 on os x). log files json passed in http request looks okay , deserialization reports normal activity in both cases.
has else encountered situation , solved problem development server (i.e. on localhost
)?
have tried set httpmethod of "post" method annotation? example:
@apimethod(name = "setmyobject", path = "myobjectmethod", httpmethod = "post") public myresponse setmyobject(myclass obj) {}
Comments
Post a Comment