为什么WCF服务获取旧的参数值
我已经设置了两个项目。一个是WCF服务项目,合同如下:为什么WCF服务获取旧的参数值,wcf,parameter-passing,operationcontract,uritemplate,webinvoke,Wcf,Parameter Passing,Operationcontract,Uritemplate,Webinvoke,我已经设置了两个项目。一个是WCF服务项目,合同如下: [OperationContract] [WebInvoke(Method = "GET", ResponseFormat = WebMessageFormat.Xml, BodyStyle = WebMessageBodyStyle.Bare, UriTemplate = "xml/{filterName}/{filterValue}")] XmlElement XMLDataWithFilter(string filterName, s
[OperationContract]
[WebInvoke(Method = "GET",
ResponseFormat = WebMessageFormat.Xml,
BodyStyle = WebMessageBodyStyle.Bare,
UriTemplate = "xml/{filterName}/{filterValue}")]
XmlElement XMLDataWithFilter(string filterName, string filterValue);
其他项目使用此WCF服务。当一些我使用其他参数调用WCF服务时,与第一次调用一起发送的参数filterName
和filterValue
的值保持不变
为什么WCF服务保留参数值?尝试使用诸如Fiddler之类的工具来检查从客户端传递到服务的参数值?您可以发布调用该服务的客户端程序的代码吗?