Hey. Take a look at this link.
http://justindutoit.port5.com/Quicks...layer.asmx.txt
When I call the web service, I have the error CS0117 'BusinessLayer' does
not contain a definition
for 'MySoapHeader'. Below is the code which
calls the web service. MS seems to do the same thing without any problems at
http://www.dotnetjunkies.com/QuickSt...rl=/quickstart
/aspplus/doc/secureservices.aspx
I also get an error sometimes, saying 'AuthHeader' is ambiguous. I'd
appreciate any help. Thanks
Justin Dutoit
void callws(Object Source, EventArgs e) {
BusinessLayer business = new BusinessLayer();
AuthHeader auth = new AuthHeader();
auth.Username = "justindutoit";
auth.Password = "paulpaul";
business.MySoapHeader = auth; // <<< error here
info.Text = business.Test();
}