How-to find IP address of a web service consumer?

Ask a Question related to ASP.NET Web Services, Design and Development.

  1. #1

    Default How-to find IP address of a web service consumer?

    We can find IP address from the regular web user via the
    Request.ServerVariables collection.
    How do we do the same for a web service?

    Thank you.
    ~Js.


    John Smith Guest

  2. Similar Questions and Discussions

    1. Windows 2003 server web service consumer with interop cannot impersonate a specific user
      Hello, I have a .Net class library that is a web service consumer. This .Net web service consumer DLL is instantiated by a VB6 ActiveX EXE...
    2. vb.net consumer from a JAXM web service - blank return values
      You will want to go to Doc/Literal instead of RPC/Encoded for best interoperability, according to the recommendations of the WS-I. Just looking...
    3. Is it possible for web service to send out random notifications to web service consumer?
      I am a newbie for web servcie and want to write a web service which monitors the certain field in the database. Once it exceeds the certain value,...
    4. Share Class Library between Service and Consumer
      I want to share a class library between a web service and it's consumer (another web service). When I run the consumer I get a conversion error...
    5. Web Service Consumer Deployment Problem
      Hi, I don't know if this is the best forum to post this to, but I hope somebody can point me in the right direction. I have a VB.NET application...
  3. #2

    Default Re: How-to find IP address of a web service consumer?

    Sure, you can access the ServerVariables like this:

    this.Context.Request.ServerVariables (C#)
    Me.Context.Request.ServerVariables (VB.NET)

    --
    Greetz

    Jan Tielens
    ________________________________
    Read my weblog: [url]http://weblogs.asp.net/jan[/url]


    "John Smith" <.@.> wrote in message
    news:OmMF6ys5DHA.1504@TK2MSFTNGP12.phx.gbl...
    > We can find IP address from the regular web user via the
    > Request.ServerVariables collection.
    > How do we do the same for a web service?
    >
    > Thank you.
    > ~Js.
    >
    >

    Jan Tielens Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139