Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 24, 2011 06:46 PM by marcojr
Member
8 Points
18 Posts
Jan 24, 2011 05:25 PM|LINK
Hi, Everyone ! I'm trying to set my WebService to a Application variable, but I can't use after all...
Application["sorts"] = new Sorts.Sorts();
Ok, so when I type Application["sorts"] and put a periond in front, instead get the list of the WebService methods I just get the Equals, GetHashCode,
GetType and Tostring.Probably it's belongs to the Application thing itself.
So., how can I invoke the methods of the web service ???
Jan 24, 2011 06:46 PM|LINK
Nevermind :) I found a way after some trial/erros :)
Btw, the solution is: Sorts.Sorts s = (Sorts.Sorts)Application["sorts"].MyMethodEtc(par,par,par);
marcojr
Member
8 Points
18 Posts
Set Webserver as Application Variable
Jan 24, 2011 05:25 PM|LINK
Hi, Everyone ! I'm trying to set my WebService to a Application variable, but I can't use after all...
Application["sorts"] = new Sorts.Sorts();
Ok, so when I type Application["sorts"] and put a periond in front, instead get the list of the WebService methods I just get the Equals, GetHashCode,
GetType and Tostring.Probably it's belongs to the Application thing itself.
So., how can I invoke the methods of the web service ???
marcojr
Member
8 Points
18 Posts
Re: Set Webserver as Application Variable
Jan 24, 2011 06:46 PM|LINK
Nevermind :) I found a way after some trial/erros :)
Btw, the solution is: Sorts.Sorts s = (Sorts.Sorts)Application["sorts"].MyMethodEtc(par,par,par);