473,320 Members | 2,147 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Who is calling my WEB SERVICE ?

hi all
I have a few web services, I want to find out when a particular web service
is called........ is it possible in my web service to find the IP address or
details of the computer who is calling my web service.

Thanks, help is appreciated.
shailendra batham
Nov 21 '05 #1
5 3108
You will need to add custom code in your Web services to log these details.
Check the HttpRequest class to see some of the details you can log.

--
Eric Cherng
MCP, MCDBA, MCSD
http://echerng.com
"Shailendra Batham" <sh********@sitesystems.com> wrote in message
news:un**************@TK2MSFTNGP11.phx.gbl...
hi all
I have a few web services, I want to find out when a particular web
service
is called........ is it possible in my web service to find the IP address
or
details of the computer who is calling my web service.

Thanks, help is appreciated.
shailendra batham

Nov 21 '05 #2
Shailendra Batham wrote:
hi all
I have a few web services, I want to find out when a particular web
service is called........ is it possible in my web service to find the IP
address or details of the computer who is calling my web service.

Thanks, help is appreciated.
shailendra batham


just look at the iis logs

--
http://www.texeme.com

Clusty is the coolest search engine!
http://clusty.com
Nov 21 '05 #3
You need to cross posts to more groups.......

--
Michael Culley
"Shailendra Batham" <sh********@sitesystems.com> wrote in message
news:un**************@TK2MSFTNGP11.phx.gbl...
hi all
I have a few web services, I want to find out when a particular web service is called........ is it possible in my web service to find the IP address or details of the computer who is calling my web service.

Thanks, help is appreciated.
shailendra batham

Nov 21 '05 #4
hey eric I tried this and this is the output I get from my local machine and from other machines, why can't I get the REAL IP ADDRESS of the machine calling my web service.

HttpContext.Current.Request.ServerVariables("REMOT E_ADDR")

<REMOTE_ADDR>127.0.0.1</REMOTE_ADDR>

Any ideas or suggestions as to how I can get the IP ADDRESS

thanks,
shailendra batham
"Eric Cherng" <ericch1@remove_the_dot-hotmai.l.com> wrote in message news:ul**************@TK2MSFTNGP12.phx.gbl...
You will need to add custom code in your Web services to log these details.
Check the HttpRequest class to see some of the details you can log.

--
Eric Cherng
MCP, MCDBA, MCSD
http://echerng.com


"Shailendra Batham" <sh********@sitesystems.com> wrote in message
news:un**************@TK2MSFTNGP11.phx.gbl...
hi all
I have a few web services, I want to find out when a particular web
service
is called........ is it possible in my web service to find the IP address
or
details of the computer who is calling my web service.

Thanks, help is appreciated.
shailendra batham



Nov 21 '05 #5
Are you calling the web service from your own machine? If so I'm not surprised you are seeing the loopback address. Also even with REMOTE_ADDR you may get the IP address of a proxy server and not the original client

Regards

Richard Blewett - DevelopMentor
http://staff..develop.com/richardb/weblog

nntp://news.microsoft.com/microsoft.public.dotnet.languages.csharp/<#T**************@TK2MSFTNGP10.phx.gbl>

hey eric I tried this and this is the output I get from my local machine and from other machines, why can't I get the REAL IP ADDRESS of the machine calling my web service. HttpContext.Current.Request.ServerVariables("REMOT E_ADDR") <REMOTE_ADDR>127.0.0.1</REMOTE_ADDR> Any ideas or suggestions as to how I can get the IP ADDRESS thanks, shailendra batham
Nov 21 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: jarmopy | last post by:
Hi, I have made a service with C# and calling that service class from another C# program with remoting. (Referendes from the calling program) That service class is configured so that garpage...
0
by: Cleo | last post by:
Hi, I am trying to call a WebService Method written in Weblogic from VB.NET and I am getting the following error. I am using SOAP Caal s from VB.NET. Please find the wsdl file and my code. ...
3
by: Mike | last post by:
Timeout Calling Web Service I am calling a .NET 1.1 web service from an aspx page. The web service can take several minutes to complete its tasks before returning a message to the aspx page. ...
3
by: Jerome Cohen | last post by:
AI am trying to call a third-party web service. this service expects an XML fragment that contains the request plus other parameter. adding the web reference created the syntax below(reference.vb)....
7
by: Stu | last post by:
Hi, I have a web service which returns a record set and works well integrated with an asp dot net page. However if I decided to develop a unix app will i be able to read the dataset as it is...
5
by: joeblast | last post by:
I have a Web service that gets the financial periods and hold a reference to a disconnected dataset built at initialization. Web methods work on the dataset inside the web service. Everything is...
1
by: fallenidol | last post by:
hi i'm looking for some heads up info regarding calling and using a web service from within another web service. is this acceptable practice? if not why? what should i be thinking about here? ...
2
by: Johan | last post by:
We have run into problems calling a web service from a client running .NET framework 2.0. The problem is that the first call to the web service, after the client has been started, takes very long...
1
by: ananth | last post by:
Hi All, I have a web service created in Notes Database and i am calling the web service in Visual studio.Net application by adding a web reference. I need to have authentication...
7
by: =?Utf-8?B?UVNJRGV2ZWxvcGVy?= | last post by:
I have a C# logging assembly with a static constructor and methods that is called from another C# Assembly that is used as a COM interface for a VB6 Application. Ideally I need to build a file...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.