I have developed the webservice in C#.net. Now I want to know from which site, has it(webservice Object) been instansiating. What is the exact way to know.
Example: I have created the webservice http://localhost/test2service.asmx
Now if a user use it like...(after adding Web reference of this service)...
localhost.test2Service a = new localhost.test2Service();
then how can we know in our webservice that on which site it is being used..[QUOTE] : It's a very genuine problem, if anyone knows plz reply me soon...
1. using Localhost, no one would be able to access your web service, it needs a LIVE IP.
To determine how many times your webservice is accessed - a simple way would be to create a log, in the webmethod itself, whenever its called
I believe the referer object should work here although I've never tried it. Try working with that object and let us know.
Saturday, March 24, 2012
Web service Problem
Labels:
asp,
developed,
exact,
instansiating,
net,
object,
service,
web,
webservice
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment