I have a problem when communicating with a web service (ASP.NET 2.0 asmx). The web service relies on Soap headers to pass some initial authentication data. Without these, the entire session fails.
When running my MonoTouch app in the simulator everything works great. The headers are passed from the simulator to the web service and everything just works. However, when running on my actual phone the Soap headers are (somehow) stripped away from the request and thus failing the rest of the session. I've debugged the web service (and Wireshark'ed the traffic) to confirm this. I've also tried to include [Preserve (AllMembers = true)] to all web reference classes, as mentioned in another thread, but this doesn't help either. So, now I have an app that works perfectly in the simulator and not at all on the phone. Suggestions anyone? //Anders -- View this message in context: http://monotouch.2284126.n4.nabble.com/Soap-headers-getting-stripped-away-tp4386644p4386644.html Sent from the MonoTouch mailing list archive at Nabble.com. _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
