1
I would like some information, examples or tutorials how to research and study to be able to develop this project. I have ready already database and some components of the web service would like to know how to implement it on android.
1
I would like some information, examples or tutorials how to research and study to be able to develop this project. I have ready already database and some components of the web service would like to know how to implement it on android.
2
You can use the KSOAP.
The access is simple:
// Criar o objeto SOAP
SoapObject soap = new SoapObject(namespace, metodo);
//Setar parametros
soap.addPropoerty(nome, valor);
//Envelopar Requisição
SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(
SoapEnvelope.VER11);
envelope.setOutputSoapObject(soap);
Then just call the service:
HttpTransportSE httpTransport = new HttpTransportSE(url);
httpTransport.call("", envelope);
I removed all this from this tutorial here. I suggest I read it in case of doubt.
Browser other questions tagged android web-service
You are not signed in. Login or sign up in order to post.
The easiest and best to use is KSOAP? I saw something about Gson and some others would know which is easier and which is better to use, I would have difficulties in this part of communication
– Guilherme
Ease is relative. It depends on your degree of knowledge in lib.
– Edgar Muniz Berlinck