Hello,

Please try to use "Don't link" on the device (it defaults to "Link SDK
assemblies").
You can also try to use "Link SDK assemblies" on the simulator.

If, by changing both, you get the simulator failing and the device
working the it's likely a linker issue and we'll need a test case to
correct it. Otherwise there's another issue (again a test case will be
needed).

Sebastien

On Tue, Feb 14, 2012 at 7:13 AM, Rolf Bjarne Kvinge <r...@xamarin.com> wrote:
> Hi,
>
> Do you have a test case we can try out? Otherwise it'll probably be
> very hard to figure this out.
>
> Thanks,
> Rolf
>
> On Tue, Feb 14, 2012 at 11:39 AM, andersa <anders.ag...@larmia.se> wrote:
>> 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
>> MonoTouch@lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/monotouch
> _______________________________________________
> MonoTouch mailing list
> MonoTouch@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch
_______________________________________________
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to