I had a .asmx web service that check parameters of soap header like this:
public class Credential : SoapHeader
{
public string username;
public string password;
}
[WebMethod]
[SoapHeader("ClientCredential")]
public BE78[] Get78(BE78Equal equal, ref ResponseInfo info)
now, i want to re-implement something like this with WCF service. How can I do that without adding ClientCredential as input parameter of the service?