Hello everybody,
can someone tell me if consuming a wcf service with basic authentication is supported in xamarin forms and if yes, is there a best practice?
I was able to call the wcf service with anonymous authentication, but during the changeover to basic, i cant call it anymore.
Also i cant tell you the exactly exception because my debugger does not hit any breakpoint in the forms project.
I tried the service in a silverlight project, which worked.
What also could be interesting is that i created the reference files like the "Reference.cs" in the Silverlight project and imported the files to the xamarin forms, because i could not embed it directly in the forms project. On the direct way it shows me every time the following exception. ("Custom tool error: Failed to generate code for the service reference")
I did that because in this wiki (http://developer.xamarin.com/guides/cross-platform/application_fundamentals/web_services/) at the section "Generating the Proxy", they also using the SlSvcUtil.exe.
At the moment i´m working with the trial business version of xamarin in visual studio.
I´m new to xamarin and the possibility of consuming an wcf service is my main criteria for using the framework for building apps.
Maybe some of you already achieved this.
Thx for feedback.
Best Regards,
Nico
PS: If someone has a solution for my "debugger is not hitting any breakpoint issue", pls let me know as well.