Re: Client IP address

2003-10-20 Thread Kiss Attila
Thank you it was a big help :) ! - Original Message - From: "Vitali W. Danilow" <[EMAIL PROTECTED]> To: "Kiss Attila" <[EMAIL PROTECTED]> Sent: Sunday, October 19, 2003 1:06 AM Subject: Re: Client IP address > here we g

Re: Client IP address

2003-10-18 Thread Vitali W. Danilow
here we go... private String getClientIP() { HttpServletRequest srv = (HttpServletRequest) MessageContext.getCurrentContext().getProperty(HTTPConstants. MC_HTTP_SERVLETREQUEST); if (srv != null) { return srv.getRemoteAddr(); } else {

Re: Client IP address

2003-10-18 Thread Jose M Selman
Sent: Saturday, October 18, 2003 12:30 PM Subject: Client IP address > Hi > > I am using axis with Jbuider I wrote a java bean and i exported as web > service . the problem is that i dont know how can i get the client's IP > address. > > thanks for your help > > Attila > >

Client IP address

2003-10-18 Thread Kiss Attila
Hi I am using axis with Jbuider I wrote a java bean and i exported as web service . the problem is that i dont know how can i get the client's IP address. thanks for your help Attila

Re: client Ip address

2003-08-15 Thread Vladimir Umansky
Take a look at axis samples at: C:\axis\samples\jaxrpc\hello\ServerHandler.java --- Justin Avaya <[EMAIL PROTECTED]> wrote: > > Hi, > > I am writing a simple RPC using JAVA and then using > AXIS. > > I am not sure where to implement the request handler > that Vladmir suggested. > > I tried a

Re: client Ip address

2003-08-15 Thread Justin Avaya
Hi,I am writing a simple RPC using JAVA and then using AXIS. I am not sure where to implement the request handler that Vladmir suggested.I tried adding it to the RPC method itself [I am sure it is wrong but it was giving me null]Looking forward for your help.package exportbean;import javax.xml.rpc.

Re: client Ip address

2003-08-15 Thread Vladimir Umansky
Sorry, HandlerUtil is a snippet of my code, should just be HTTPConstants.MC_HTTP_SERVLETREQUEST. Vlad --- Balaji D L <[EMAIL PROTECTED]> wrote: > Vladimir & justin, > The HandlerUtil.MC_HTTP_SERVLETREQUEST is not > working, its returning null value(for me).. > the HTTPConstants.MC_HTTP_SERVLE

Re: client Ip address

2003-08-15 Thread Balaji D L
Vladimir & justin, The HandlerUtil.MC_HTTP_SERVLETREQUEST is not working, its returning null value(for me).. the HTTPConstants.MC_HTTP_SERVLETREQUEST is working fine. --- Vladimir Umansky <[EMAIL PROTECTED]> wrote: > > You can get it through MessageContext: > > handleRequest(MessageContext con

client Ip address

2003-08-14 Thread Justin Avaya
Hi, I am writing a simple Java program and using Apache Axis to generate the web service. I am writing the server. I need to capture the IP address of the client who is trying to connect to me to log him in my database. In a servelt I would use the request object. How do I do it here.   Tha

Re: client Ip address

2003-08-14 Thread Vladimir Umansky
You can get it through MessageContext: handleRequest(MessageContext context) { .. // HttpServletRequest may not be available HttpServletRequest req = null; // get it from Axis if (context.containsProperty(HandlerUtil.MC_HTTP_SERVLETREQUEST)) { req

RE: Get Client IP address when using message-style service

2003-02-20 Thread Mike Burati
MAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 8:32 AM To: [EMAIL PROTECTED] Subject: Get Client IP address when using message-style service Hi, I'm using message style of SOAP messages and I wonder how to get client IP from service method. I use folowin

Re: Get Client IP address when using message-style service

2003-02-20 Thread michal.strelec
IL PROTECTED]> > Komu: <[EMAIL PROTECTED]> > CC: > Datum: Thu, 20 Feb 2003 14:31:59 +0100 > Předmět: Get Client IP address when using message-style service > > Hi, > I'm using message style of SOAP messages and I wonder how to get > client IP from service method.

Get Client IP address when using message-style service

2003-02-20 Thread michal.strelec
Hi, I'm using message style of SOAP messages and I wonder how to get client IP from service method. I use folowing type of message-style service: public void method(SOAPEnvelope req, SOAPEnvelope resp) But in this method there is no messageContext from which I can obtain client's IP address. T