Android consmindo web service Soap

Asked

Viewed 55 times

1

I’m having trouble consuming a web service SOAP complex-type How could I submit this request, I am beginner in mobile development.

<Autenticacao xsi:type="urn:Autenticacao" xmlns:urn="urn:RouterBoxMobile">
     <ChaveIntegracao xsi:type="xsd:string">?</ChaveIntegracao>
</Autenticacao>
  • I just took those two video lessons link. Use exactly SOAP as a base! For me it was very useful! For you it can also be!

1 answer

0


I solved the problem as follows.

SoapObject request = new SoapObject("urn:RouterBoxMobile","ListaDetalhe");


SoapObject chaveIntegracao = new SoapObject("urn:RouterBoxMobile","ListaDetalhe");

chaveIntegracao.addProperty("ChaveIntegracao","?");
request.addProperty("Autenticacao",chaveIntegracao);

Browser other questions tagged

You are not signed in. Login or sign up in order to post.