[android-developers] Re: How insert in android a web service client created using eclipse wizard and WSDL.
Hello
On 30 Apr, 21:24, ingaponteca <ingapont...@gmail.com> wrote:
> I am trying to create a web server client in my android application.
Are you doing WS client (Web Service client) or some application that
uses a web server, that are a web server?
Web Server != Web Service
> I created the web server client using eclipse wizard and I tested as
> java application and worked just fine. But When I do same process in
> my android project, and after add same jar files and J2SE1.5 just
> below the Android 4.0.3 and Android dependencies, the application
> compiles but during execution application crash.
I guess you are trying to access a WS from your Android device. And
no, there are no
support from Eclipse to write WS clients for Android. So you have to
do it without
that support.
You are welcome to write it though, but that would mean that you had
to add support for
Android for one of the WS frame works that Eclipse support.
The other way, which seems to be supported according to Stack
Overflow, which is a
greate site so please use that,
http://stackoverflow.com/questions/297586/how-to-call-soap-web-service-with-android
is that you could use a simpler library for Android. And it looks like
kSoap2 for Android
is the common way to go. There are even a video how to use it.
http://www.youtube.com/watch?v=v9EowBVgwSo
> Can somebody give me a light of what is possibly happening?
There are no support for Android and WS in Eclipse. Not any I know of
anyway. You have to manage
the WS part yourself. Use kSOAP2 for Android (not kSOAP 2, as it
isn't for Android).
Yours
Anders
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home