Hi, I tried downloading the zip file but the link is broken. Can you share the link again. Thank you so much!
Regards, Grace On Wednesday, January 9, 2008 12:00:58 PM UTC, Jorge Jimenez wrote: > > Hi Vijay: > > I'm publishing all required files to make (including an "ant" > build.xml file) the full library. Please, if you intend to share your > work make required validations to make it work without a proxy. > > You can download the new file at: > > http://www.tuxpan.com/android-soap/android-ksoap2-build.zip > > Thanx and good luck > > J > > > On 8 ene, 06:42, Vijay <vijay.r.shan...@gmail.com> wrote: > > Hi Jorge, > > > > I need your help to recompile the modifiedksoap2-android- > > full-2.1.2.jar that you provided. > > My emulator works behind a proxy. To accommodate proxy settings, > > constructor of AndroidServiceConnection class has to be modified a > > little bit and below is the modified code. Can you recompile > > AndroidServiceConnection code with this modification and provide me > > the jar package? > > > > Thank you, > > Vijayhttp://www.linkedin.com/in/vijayshankar > > > > public AndroidServiceConnection(String url) > > throws IOException > > { > > bufferStream = null; > > HttpURL httpURL = new HttpURL(url); > > HostConfiguration host = new HostConfiguration(); > > host.setHost(httpURL.getHost(), httpURL.getPort()); > > > > ContentResolver contentResolver = getContentResolver(); > > String http_proxy = Settings.System.getString(contentResolver, > > Settings.System.HTTP_PROXY); > > String[] proxyDetails = http_proxy.split(":"); > > Integer proxyPort = new Integer(proxyDetails[1]); > > host.setProxy(proxyDetails[0], proxyPort); > > > > connection = connectionManager.getConnection(host); > > postMethod = new PostMethod(url); > > } > > > > On Nov 23 2007, 9:08 pm, j...@tuxpan.com wrote: > > > > > Hi Friends: > > > > > I've found a lot of posts searching for a solution to invokeSOAPWS > > > from an Android Application and I have a working example to share. > > > > > I based my solution onksoap2(http://sourceforge.net/projects/ > > >ksoap2/) and added two new classes (a new Connection a a new > > > Transport) that uses Apache HttpComponents (included in Android) > > > > > To use in a new project: > > > 1. create a "lib" folder in your eclipse project. > > > 2. import "ksoap2-android-full-2.1.2.jar" into this new folder > > > (included in example, under lib, see below) > > > 3. Edit Project Properties (java build path). Add the imported Jar to > > > the list > > > 4. See the code in the example andksoap2documentation as the base. > > > > > SOAPclient uses no stub classes, only "dynamic" objects in a very > > > simple way (please seeksoap2documentation). This should be the > > > prefered way (I think) in Android due to limitations in target > > > devices. > > > > > Eclipse example project can be downloaded from: > http://wiki.tuxpan.com:8069/android-soap/AndroidEclipseSampleSOAPClie... > > > > > Source code of the added classes can be found at: > http://wiki.tuxpan.com:8069/android-soap/src-ksoap2-with-apache-http.zip > > > > > Example uses a complex type as argument and a simple type as return. > > > Please let me know if it works fine with more complex invocations. > > > > > I hope this can help someone > > > > > J -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en