473,326 Members | 2,182 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,326 software developers and data experts.

How to get Client IP address

I need to get the client IP address in my SoapService.
ie: WSE 2.0 SP3 service class has inherited from SoapService.

Does anyone have an idea how to do this?
(ps; I am passing SoapEnvelope back and forth)
Thanks
Ron
[SoapServiceAttribute("http://husky.ca/TcEng_MSMQ/Services")]
class Services : SoapService
{
[SoapMethod("SubmitRequest")]
public SoapEnvelope SubmitRequest(SoapEnvelope se)
{

Nov 23 '05 #1
1 4317
Check out System.Web.HttpRequest

Richard Rosenheim
"Ron J" <Ro**@discussions.microsoft.com> wrote in message
news:BB**********************************@microsof t.com...
I need to get the client IP address in my SoapService.
ie: WSE 2.0 SP3 service class has inherited from SoapService.

Does anyone have an idea how to do this?
(ps; I am passing SoapEnvelope back and forth)
Thanks
Ron
[SoapServiceAttribute("http://husky.ca/TcEng_MSMQ/Services")]
class Services : SoapService
{
[SoapMethod("SubmitRequest")]
public SoapEnvelope SubmitRequest(SoapEnvelope se)
{

Nov 23 '05 #2

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

Similar topics

5
by: JezB | last post by:
Any way I can get at a unique "Client ID" within server code ? I'm writing some auditing and I want to record which particular client machine initiated a request, for example. I imagine in an...
4
by: Andy | last post by:
Hi all, In a recent intranet project, I want to limit the access to my mobile asp.net appl only to a set of authorized MAC addresses by determining client's MAC address. Is there any way to...
4
by: rs | last post by:
how I the client tell the server that the socket is closed? or this there an even that informs the server that the clients socket is close? Oh, I am using vb.net 2003 Thanks
4
by: Goh | last post by:
Hi, I would like to know how can we implement a web page that intelligent enough to unique identify that pc have been visit before without any cookies and login user require. I have try...
13
by: Sandeep Singh | last post by:
I am making socket client application in C# how can i get ip address of client who has connected to server
14
by: Ankit Aneja | last post by:
The code of classes given below is for server to which clients connect i want to get ip address of client which has connected pls help how can i get //listen class public class listen {
13
by: James | last post by:
Hi, I'm new to ASP .NET, working on a school project, which i need to find out the client's MAC address. However in my search on the web, i have not find any method available, and some mention...
2
by: WhatHappend | last post by:
I have converted a .Net 1.0 application to .Net 2.0 and the web service invocations have delay of around 10seconds on each intial access. After the first access subsequent access are fast (After a...
3
by: RFD | last post by:
I've been slaving at this problem for over a week, and would appreciate some help from you kind folks. Basic Problem: I have made a server program and a client program. When I try to use the...
15
by: Mike | last post by:
Hi ASP Gurus, Please help me solving my problem. I am trying to get the clients IP address but I am not able to do it successfully. I have tried: Request.ServerVariables("http_user_agent")...
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...
0
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...
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: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
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)...
1
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: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.