How to post data to WCF REST without entity?

[WebInvoke( Method="POST" ,UriTemplate = "Login?lName={loginName}&lPWD={password}&sID={sessionID}&domain={domain}")]
[OperationContract]
public ResultInfo Login(string loginName, string password,string sessionID,string domain)
{
return new ResultInfo()
{
Message = loginName,
OptType = ResultType.FAILED
};
}

and i call service like this:

PostSubmitter post = new PostSubmitter();
post.Url = Constants.SSOCenterURL + "/Login";
post.PostItems.Add("lName", "kkdhf123456");
post.PostItems.Add("lPWD", "edU7qiWjrTzy764cZ7ahEg==");
post.PostItems.Add("sID", "rx543e12xc54235dhd23");
post.PostItems.Add("domain", "localhost");
post.Type = PostSubmitter.PostTypeEnum.Post;
string result = post.Post();

but service NOT get parametes . The 'loginName' will eques NULL.

am i missing something? how to let WCF REST get the post data?

thx your view.

using System;using System.Collections;using System.Configuration;using System.Data;using System.Linq;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.HtmlControls;usi......
答案就在这里:How to use HttpWebRequest to post data to another page which is on another server
----------------------你好,人类,我是来自CSDN星球的问答机器人小C,以上是依据我对问题的理解给出的答案,如果解决了你的问题,望采纳。

PostSubmitter不知道是哪里来的类,它本身是否有问题。用fiddler调试下。