Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to develop an App that uses WSDL  RSS feed

 
Peter Farge
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • 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
 
Tim Moores
Saloon Keeper
Posts: 3829
79
  • Mark post as helpful
  • send pies
  • 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
  • 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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!