English 中文(简体)
Latest Mono Touch 4.0 problem when seeking to access a WCF service
原标题:Latest MonoTouch 4.0 problem when trying to access a WCF service

My Mono Touch 申请要求使用CustomBledTextMessageEncoding向SOAP WCF服务公司申请,所有申请都与Mono Touch版本3.2.6进行罚款。 我正在更新我的系统,以使用蒙多·托奇版本4.0.0,向我的社会、文化权利委员会发出的呼吁已经停止。 页: 1 系统.Net.WebException

"The remote server returned an error: 400 Bad Request"; 

造成这一问题的是什么,我如何解决这一问题?

如果我再次提出3.2.6版的Mono Touch的话,那么我的申请是正确的,但一旦我向4期Mono Touch通报,我就遇到了同样的问题。

问题回答

你的问题缺乏许多细节,无法帮助你,但在这里,你应当尝试两点:

1) Some fixes made for WCF inside MonoTouch 3.x were (sadly) missing from MonoTouch 4.x. It s possible that your application depended on them. If you use MonoTouch 4.1 then you can replace your System.ServiceModel.dll (see comment #6 of the above link), rebuild your application and see if this fix solves your issue.

2) Several fixes were made in the HTTP stack for MonoTouch 4.2 (soon to be released, but most are not in the 4.1 beta). They are not exactly WCF-related but it s not clear if your 400 error message is a WCF failure (or not).

If both updates do not solve your issue then please fill a bug report at http://bugzilla.xamarin.com and attach a self-contained test case so we can investigate this further. Thanks!





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签