How to set these variables for ksoap2?

by amishera » Sat, 20 Sep 2008 01:26:49 GMT


Sponsored Links
 Hi,
I have this web service using apache cxf:

http://localhost:9000/helloWorld

with method

sayHi

Now I am using ksoap2 on client side in android. But I am not sure how
I should set the following variables:

    private static final String SOAP_ACTION = "...";
    private static final String METHOD_NAME = "...";
    private static final String NAMESPACE = "...";
    private static final String URL = "...";

as used in the code:

SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME);
SoapSerializationEnvelope envelope = new
SoapSerializationEnvelope(SoapEnvelope.VER11);
envelope.setOutputSoapObject(request);
HttpTransportSE androidHttpTransport = new HttpTransportSE
(URL);
androidHttpTransport.call(SOAP_ACTION, envelope);

Please help.

Thanks in advance.

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Voice Call

Is it possible to interfere with a voice call and change the speaking
voices?

2. Tampilan Phone Hero

All,

Kalau pakai Modaco 3.0, jika kita pilih Phone hi Home screen, maka muncuk
keypad dan jika kita tekan angka/huruf, maka contact-contact yng memiliki
nomer/huruf yang sesuai akan muncul diatas keypad.

sejak coba di AOSP2.0.1 atau KaguDroid1.0 tampilan seperti ini tidak ada,
cuma ada pilihan Dial angka atau milih dari contact.

Ada nggak ya software untuk ini.

Terimakasih,
Syaiful

3. (Tanya) dukungan aplikasi utk android

4. How to process this kind of HTTP POST request/reponse

5. tanya pendapat senior

6. Handling OnItemSelected...the opposite way!

7. API to temporarily disable orientation changes?