Forum Xamarin.iOS
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

SOAP web references method takes 2 times longer to get call on iOS than Android with the same code

SiflouSiflou USMember ✭✭

Hey Guys,

I have a problem with my web service. The problem Is that I have 2 versions of my app. One on Android and one on iOS. The problem is that the exact same method on iOS takes almost 2x more time to get called than on Android. I really don't know why. I have a "Core" project which is shared between my 2 platforms so the code is exactly the same, but for whatever reason, the call time is really longer on iOS and I don't know why. Does anybody have an idea of what it might be ?

Here is the method stub of my problematic method :
[System.Web.Services.Protocols.SoapHeaderAttribute("AuthHeaderValue")] [System.Web.Services.Protocols.SoapDocumentMethodAttribute("", RequestNamespace="", ResponseNamespace="", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, Use=System.Web.Services.Description.SoapBindingUse.Literal)] public RestaurantDataCOM GetDailyData(System.DateTime p_dateRequested, int p_restaurantID) { object[] results = this.Invoke("GetDailyData", new object[] { p_dateRequested, p_restaurantID}); return ((RestaurantDataCOM)(results[0])); }

Thanks a lot for your time,


Sign In or Register to comment.