I recently had to implement a cross-platform application using webservice asmx.
My solution was to use the web service in both projects (Android and IOS). In a common project, I used:
#if __ANDROID__ using "namespace droid webservice"; #endif #if __IOS__ using "namespace ios webservice"; #endif
In the code, it was enough to create a new instance of the web service.
source share