问题描述
我有一个包含两个Web方法GetAllUsers和GetAllMessages的Web服务.他们两个都获得用户的ID. GetAllUsers方法返回给定ID的用户以外的所有用户,而GetAllMessages返回属于给定用户的所有消息.但是经过一番尝试(2或3)后,GetAllUsers方法开始返回GetAllMessages结果.我的意思是,尽管我调用GetAllUsers方法,但其他方法的结果正在返回.有人可以帮我解决这个问题吗?我已经开发了.Net 3.5和C#
I have a web service that includes two web method, GetAllUsers and GetAllMessages. Both of them gets user''s ID. GetAllUsers method returns all users except the user is ID''s given, and GetAllMessages returns all messages belong to given user. But after some try (2 or 3), GetAllUsers method is starting to return GetAllMessages result. I mean although I call GetAllUsers method, the other'' s results are returning. Can anybody help me about this problem? I have developed .Net 3.5 and C#
Thanks
推荐答案
这篇关于Web服务或IIS问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!