It looks like it cannot reach your web service. My guess is the url or IP address you are using to connect to your web service isn't something the device can connect to (like localhost, or something on a different network).
You can try entering in your web service page in the web browser and see if it can reach it. Jonathan On 9/16/2011 1:33 PM, Mittchel Van Vliet wrote: > Hello everyone, > > I've been trying to build an app with webservices.. if I use the wsdl > from the tutorial at the xam webpage it works.. but as soon as I host my > own service and use that one it crashes. The weird thing is though that > the service works because in the console application I can request the > method and I do get response. > > The app just closes and goes back to the latest screen.. The device log > shows an exception at the end.. > > Full log: http://pastebin.com/g2CetDv1 > > Exception: > > 1. > ( 573): > 2. > E/mono ( 573): Unhandled Exception: System.Net.WebException: > Error: ConnectFailure (Connection refused) ---> > System.Net.Sockets.SocketException: Connection refused > 3. > E/mono ( 573): at System.Net.Sockets.Socket.Connect > (System.Net.EndPoint remoteEP) [0x00000] in <filename unknown>:0 > 4. > E/mono ( 573): at System.Net.WebConnection.Connect > (System.Net.HttpWebRequest request) [0x00000] in <filename unknown>:0 > 5. > E/mono ( 573): --- End of inner exception stack trace --- > 6. > E/mono ( 573): at > System.Net.HttpWebRequest.EndGetRequestStream (IAsyncResult > asyncResult) [0x00000] in <filename unknown>:0 > 7. > E/mono ( 573): at System.Net.HttpWebRequest.GetRequestStream > () [0x00000] in <filename unknown>:0 > 8. > E/mono ( 573): at > System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke > (System.String method_name, System.Object[] parameters) [0x00000] in > <filename unknown>:0 > 9. > D/Zygote ( 33): Process 573 exited cleanly (255) > 10. > I/ActivityManager( 80): Process wcfAndroid.wcfAndroid (pid 573) > has died. > 11. > I/WindowManager( 80): WIN DEATH: Window{43f0fe40 > wcfAndroid.wcfAndroid/wcfandroid.Activity1 paused=false} > 12. > I/UsageStats( 80): Unexpected resume of com.android.carhome while > already resumed in wcfAndroid.wcfAndroid > 13. > W/InputManagerService( 80): Got RemoteException sending > setActive(false) notification to pid 573 uid 10038 > > *What goes wrong guys?:D* > > > > > _______________________________________________ > Monodroid mailing list > [email protected] > > UNSUBSCRIBE INFORMATION: > http://lists.ximian.com/mailman/listinfo/monodroid _______________________________________________ Monodroid mailing list [email protected] UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid
