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]

Reply via email to