Getting java.net.SocketException: socket failed: EACCES (Permission denied) error with JAX WS and android ksoap2

5,584 views
Skip to first unread message

Béla Moqs

unread,
Aug 19, 2014, 12:51:24 PM8/19/14
to ksoap2-...@googlegroups.com
Hi there!
I am getting error when  my program tries to connect my web service. When i try it from a java client it works ,so the service should be okay the error is inside android app.
I have attached the relevant files of my project. 

Thanks for any help in advance!
AndroidManifest.xml
AsyncCallWS.java
MyActivity.java
WebService.java

Bhushan C

unread,
Mar 4, 2015, 4:30:06 PM3/4/15
to ksoap2-...@googlegroups.com
Hi,

Did you find any solution to this? I am getting the same error.

Béla Moqs

unread,
Mar 6, 2015, 10:56:47 AM3/6/15
to ksoap2-...@googlegroups.com
Hi,
The error was a copy paste error in manifest file :
Instead of :
<user-permission android:name="android.permission.INTERNET" /> use:
<use-permission android:name="android.permission.INTERNET" />
Best regards:
David

--
You received this message because you are subscribed to a topic in the Google Groups "ksoap2-android" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ksoap2-android/hXg8Nt0FzHM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ksoap2-androi...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Bhushan Chanda

unread,
Mar 6, 2015, 11:35:06 AM3/6/15
to ksoap2-...@googlegroups.com

Even I resolved it. In my case I missed it. Was working on two projects simultaneously and somehow forgot to change the manifest file.

Sent from HTC One.

You received this message because you are subscribed to the Google Groups "ksoap2-android" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ksoap2-androi...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages