atom feed10 messages in com.googlegroups.android-developers[android-developers] Re: Android and ...
FromSent OnAttachments
joesonicApr 25, 2008 12:19 pm 
joesonicApr 29, 2008 1:40 am 
sauhundApr 29, 2008 10:13 pm 
joesonicApr 30, 2008 11:13 am 
mathiastckApr 30, 2008 12:42 pm 
Bruno SauerApr 30, 2008 8:48 pm 
DorothyMay 12, 2008 7:29 am 
Mark MurphyMay 12, 2008 8:01 am 
DorothyMay 12, 2008 8:44 am 
Mark MurphyMay 12, 2008 9:22 am 
Subject:[android-developers] Re: Android and Web Services
From:joesonic (joes@gmail.com)
Date:Apr 29, 2008 1:40:06 am
List:com.googlegroups.android-developers

Can someone provide a simple sample of an Android client on invoking a method over SOAP. I've tried all examples given here but nothing works for me.

With ksoap2 I've the problem to define a SoapObject SoapObject client = new SoapObject("NAMESPACE", "METHODNAME"); Then some error within the org.ksoap2.serialization.SoapObject class occurs

Axis seem not to work together with Android...

Please help, thank you.

Hello,

Is it possible to use SOAP WebServices in Android in a simple way. As an example an ordinary java snippet for webservices is given.

import org.apache.axis.client.Call; import org.apache.axis.client.Service; import javax.xml.namespace.QName; import java.net.*;

    public class Test {       public static void main(String[] args) throws Exception {           Service service = new Service();           Call call = (Call)service.createCall();

          String endpoint = "http://www.example.com/soapserver.php";           call.setTargetEndpointAddress(new URL(endpoint));           call.setOperationName(new QName("getName"));

          String name= "Mike";           String result= (String)call.invoke(new Object [] {new String(name)});

          System.out.println(result);       }   }

What's the easiest and fasted way to transfor this for android? Thanks in advance