473,395 Members | 1,608 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,395 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 16 '05 #1
5 1786
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 16 '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 16 '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 16 '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 16 '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 16 '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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.