how to pass SoapHeader parameter in postman app of chrome
suppose i have
public class AuthSoapHd : SoapHeader
{
public string AuthUserName;
public string AuthUserPassword;
}
public AuthSoapHd AuthenticationHeader;
[SoapHeader("AuthenticationHeader")]
[WebMethod(enableSession: true)]
public void CardType()
{
if (AuthenticationHeader.AuthUserName == "Sharad" &&AuthenticationHeader.AuthUserPassword) == "Gupta")
{
}
else
{
//code
}
}
I tested it in my postman chrome app but i am not able to access else part code due to object execption error

Sharad GuptaPosted Aug 2, 2016, 2:24 AM
Bikesh SrivastavaPosted Aug 2, 2016, 2:02 AM
Sharad GuptaPosted Aug 2, 2016, 12:39 AM
Bikesh SrivastavaPosted Aug 1, 2016, 8:30 AM