Вопрос

I have a litle problem:

I have a WSDL file and i would like to use it on android developpement. For exemple, for the iPhone, I found this website: http://sudzc.com/ which converts the WSDL in a code suitable for iOS but how can I do this on Android. I readed something abaut ksoap2...

Thank you.

Это было полезно?

Решение

I have found the solution, you can use the wsclient.neurospeech.com. this is a shareware but you have a demo version which will do 99% of the job.

Другие советы

I think you can use this Android web Service client generation tool

It uses cxf wsdl2java in background to generate the java client stub for android platform for you. you have to just put the sources and some library in your project. and you can just call it in some "method call fashion" just we do in our enterprise project, you don't need to know the namespace/soap action etc. And its fully open and free.

Did you try www.wsdl2code.com it solved most of my problems :)

SampleService srv1 = new SampleService();
     req = new Request();                     
     req.companyId = "1";
     req.userName = "userName";                                     
     req.password = "pas";
     Response response =    srv1.ServiceSample(req);
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top