12 2012 档案

摘要:.NET调用Java的Web服务没有我想像的那么顺利,调用能成功,但传送的数据只要不是string就会为null,原因是:VS2005封装WebService引用时,如果WebService发布的是一个基本数据类型组成的对象,则会对该对象的非string属性同时生成两个属性,一般是这样的"属性××"、"属性××Specified"。而"属性名Specified"是一个bool类型,只有这个属性被设置成true时,"属性××"的值才会被序列化成xml传递。 阅读全文
posted @ 2012-12-22 20:45 阿土仔 阅读(334) 评论(0) 推荐(0) 编辑
摘要:项目中需要使用.NET开发Windows服务来检测MSMQ,但一直无法引用.dll(特别是.dll引用了其它的.dll),最后google找到了答案:Every window service project, by default targets to .netClient version (which is not full version of .net and does not include the System.Web etc. This is atleast true with VS 2010) and the solution is to go to the project pr 阅读全文
posted @ 2012-12-19 15:29 阿土仔 阅读(1791) 评论(0) 推荐(0) 编辑