7

Android app crashes when connecting to webservice

view full story
linux-howto

http://stackoverflow.com – I got a problem connecting to my webservice from an Android client. In my MainActivity class the program crashes at the line: SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME); The problem is definetely not with the method name, it's rather something about the namespace but I don't know what is wrong. GameAndroidUtil: private static final String NAMESPACE = "http://game.webcentral.pl/"; private static final String SOAP_ACTION = ""; private static final String WSDL_URL = "http://localhost:8080/ReversiGameWS/services/GameWS?wsdl"; MainActivity: protected void onCreate(Bundle (HowTos)