J2me web service connection problem
i'm trying to connect to a php web service using kxml-rpc api and the code is as simple as this:
XmlRpcClient xmlrpc = new XmlRpcClient("http://***ip here***:88/secure/service");
Vector parameters = 开发者_如何学Pythonnew Vector();
parameters.addElement("value");
String result = (String) (xmlrpc.execute("functionName", parameters));
Mobile device asks for permission to connect to GPS. But somehow the result is always null.
What can be done? and what configuration i should check?
Thanks.
Check whether the web service provider is actually invoked, and what does it return. It is not unlikely that it returns null, (so the clients gets it).
精彩评论