Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
4
Reply
how to pass SoapHeader parameter in postman app of chrome
Sharad Gupta
Aug 1 2016 7:37 AM
681
Reply
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
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
4
)
Next Recommended Forum
Web Service with Oracle Database
Bring data back from google inserting into SQL Server