• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to develop an App that uses WSDL

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Forum,

some months before I have developed some .net Clients for Windows. Some functions are using web services. The only thing I had to do was to add the wsdl file to the Visual Studio as a Web Reference. The Visual Studio parses the files and shows in the auto complete dropdown menus all classes and functions that were available. Now I want to develop an Android App that uses the same web Service. I have looked into the internet and found some complicated tutorials. For example this:
http://www.compiletimeerror.com/2013/09/accessing-web-service-from-android.html#.VwenHHqoPKd

Some days before I thought my work would be similar easy with the Android Studio like in the Visual Studio. But now I'm a little bit diasppointed. Is it right that I have to extract the functions and parameters out of the wsdl file by myself? There is no nice class generator?


Thanks

Peter
 
Saloon Keeper
Posts: 7585
176
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Few people use SOAP APIs from mobile devices, so comparatively little effort has gone into easy-to-use tooling. If you have a choice in the matter, consider using a REST API instead.

And the article is right, http://simpligility.github.io/ksoap2-android/ is pretty much the only SOAP library in existence for Android.
 
Peter Farge
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The performance is not the primary target and I'm no WebDev. So I will proceed with this way.

Thanks Tim
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic