Do you get the same 415 error when you go to /connection in your browser? (If
so, then the problem is in your ServiceConnection class, rather then in your
Android code).
Also, in my Android code, I don't wrap the resource, but do the call directly
on the ClientResource class, as in:
Thank you for your answer.
No, it works when I use a web browser. I have the same error with the last
code. I don't know if it's the android client or the web server which have a
problem.
--
From the code that you have posted, I am not able to see the problem Perhaps
the type of your connect variable doesn't match the type defined in your
Server file. But that is just a guess.
Good luck!
RB
--
View this message in context:
3 matches
Mail list logo