04 2011 档案

摘要: 主要是OperationContract要加Action=“Namespace+方法名”参数Namespace是和对方的webservice 的Namespace相同[ServiceContract(Namespace="http://abc.org/")][XmlSerializerFormatAttribute]publicinterfaceIGameServer{[OperationContract(Action="http://abc.org/GetGameList")]List<GameInfo>GetGameList();}主要是阅读全文
posted @ 2011-04-07 09:57 lzwlfw 阅读(97) | 评论 (0) 编辑