Web服务调用在CE 6.0中未在CE 5.0中失败 [英] Webservice call fails in CE 6.0 not in CE 5.0

查看:73
本文介绍了Web服务调用在CE 6.0中未在CE 5.0中失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我现有的客户端 - 服务器应用程序已经部署了好几年并且运行良好。  .ASMX Webservice使用.NET 2.0和Web方法传递自定义类型。 WinCE 5.0客户端一直在工作。客户购买了
较新的WinCE 6.0设备并部署了相同的客户端应用程序。客户端应用程序现在出现以下错误:

My existing client-server application has been deployed for several years and working great. The .ASMX Webservice uses .NET 2.0 and the web methods pass custom types. The WinCE 5.0 clients have been working. A customer has purchased a newer WinCE 6.0 device and deployed the same client application. The client application now errors with:

" RMSSUG:不期望类型系统字节[]。使用XmlInclude或SoapInclude属性指定静态未知的类型"

"RMSSUG: The type system Byte[] was not expected. Use XmlInclude or SoapInclude attributes to specify types that are not known statically"

我的代码始终引用byte关键字而不是System.Byte。

My code always references the byte keyword and not System.Byte.

I不要使用提到的属性

I do not use the attributes mentioned

我不确定设备安装的紧凑框架版本是什么。

I am not sure what version of the compact framework the device has installed.

我没有物理的 用于测试的CE 6.0设备。

I do not have the physical CE 6.0 device to test with.

这是.Net CF问题吗?

Is this a .Net CF problem?

推荐答案

CE5.0的架构与CE6.0非常不同。您不能指望CE5.0应用程序只能在CE6.0设备上运行。关于从CE5.0到CE6.0移植应用程序等的讨论很多。我非常怀疑这是一个.NET问题,它只是
,CE5.0和CE6.0非常不同。

The architecture of CE5.0 is very different to CE6.0. You cannot expect a CE5.0 application to just run on a CE6.0 device. There are many discussions about porting applications etc from CE5.0 to CE6.0. I very much doubt this is a .NET problem, its simply that CE5.0 and CE6.0 are very different.

http://www.windowsfordevices.com/c/a/News/ Windows-CE-6-and-CE-5-device-drivers / 之间的差异

http://www.windowsfordevices.com/c/a/Windows-For-设备 - 文章/差异 - 介于Windows-CE-50和Windows-CE-60 /

问候,

约翰。


这篇关于Web服务调用在CE 6.0中未在CE 5.0中失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆