My first question is - "Why do u need sender's IP Address?" Check out WS-Addressing at http://www.w3.org/Submission/ws-addressing/ . and if you think that is what you were looking for then chek http://ws.apache.org/sandesha/sandesha1.html to use WS-Addressing with Axis 1.4,
If it was not what you were looking for, then find out how you can access http request that carries your soap message as the IP Address of the sender comes with HTTP request. See getLocalAddr() method at http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/ServletRequest.html. - Rushikesh On Fri, Mar 14, 2008 at 10:30 AM, Ted Roeloffzen <[EMAIL PROTECTED]> wrote: > I'm not even using Axis 2 > > I'm still using version 1.4 > > regards, > > Ted > > > 2008/3/13, Simon Steinacker <[EMAIL PROTECTED]>: > > > > Hmm. for me it worked. I have it running in my aixs2-1.3 environment... > > Maybe you are using another version of axis2. > > > > regards, > > Simon > > > > > > Ted Roeloffzen wrote: > > > Simon, > > > > > > Are there more things that i have to do, to make this work. Because i > > > get NULL when i run the code. > > > > > > regards, > > > > > > Ted > > > > > > > > > 2008/3/13, Simon Steinacker <[EMAIL PROTECTED] > > > <mailto:[EMAIL PROTECTED]>>: > > > > > > MessageContext msgCtx = MessageContext.getCurrentMessageContext(); > > > String remoteAddress_IPConsumer = (String) > > > msgCtx.getProperty("REMOTE_ADDR"); > > > > > > regards, > > > Simon > > > > > > Ted Roeloffzen wrote: > > > > Hello all, > > > > > > > > I have a webservice written in Axis and now i have to retrieve > > the > > > > ip-address of the pc/server sending me a request. > > > > How do i do that? > > > > > > > > Greetings, > > > > > > > > Ted > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > <mailto:[EMAIL PROTECTED]> > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > <mailto:[EMAIL PROTECTED]> > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > >
