Results 1 to 4 of 4

Thread: Web service Problem

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2005
    Posts
    121

    Web service Problem

    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..

  2. #2

    Thread Starter
    Lively Member
    Join Date
    Feb 2005
    Posts
    121

    Re: Web service Problem

    [QUOTE] : It's a very genuine problem, if anyone knows plz reply me soon...

  3. #3
    PowerPoster
    Join Date
    Nov 2001
    Location
    Trying to reach and stay in the cloud
    Posts
    2,089

    Re: Web service Problem

    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

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Web service Problem

    I believe the referer object should work here although I've never tried it. Try working with that object and let us know.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width