Return-Path: Delivered-To: apmail-ws-axis-c-user-archive@www.apache.org Received: (qmail 17861 invoked from network); 17 Nov 2008 22:28:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Nov 2008 22:28:50 -0000 Received: (qmail 64476 invoked by uid 500); 17 Nov 2008 22:28:57 -0000 Delivered-To: apmail-ws-axis-c-user-archive@ws.apache.org Received: (qmail 64254 invoked by uid 500); 17 Nov 2008 22:28:56 -0000 Mailing-List: contact axis-c-user-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C User List" Reply-To: "Apache AXIS C User List" Delivered-To: mailing list axis-c-user@ws.apache.org Received: (qmail 64243 invoked by uid 99); 17 Nov 2008 22:28:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Nov 2008 14:28:56 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [129.196.250.12] (HELO dhrseasvgw01.danahermail.com) (129.196.250.12) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Nov 2008 22:27:34 +0000 Received: from dhrseasvxf01.messaging.danaherad.com (dhrseasvxf01.messaging.danaherad.com [172.29.152.75]) by dhrseasvgw01.danahermail.com (BorderWare MXtreme Mail Firewall) with ESMTP id C4CB290DS2 for ; Mon, 17 Nov 2008 14:28:17 -0800 (PST) Received: from [129.196.180.173] ([129.196.180.173]) by dhrseasvxf01.messaging.danaherad.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.2499); Mon, 17 Nov 2008 14:28:17 -0800 Message-ID: <4921F001.8050106@flukenetworks.com> Date: Mon, 17 Nov 2008 14:28:17 -0800 From: Kevin Liang User-Agent: Thunderbird 2.0.0.14 (X11/20080801) MIME-Version: 1.0 To: axis-c-user@ws.apache.org Subject: help on obtaining a server's IP address Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 17 Nov 2008 22:28:17.0288 (UTC) FILETIME=[C99B0880:01C94903] X-Virus-Checked: Checked by ClamAV on apache.org I'm wondering if there is a way to obtain an axis2 server's IP address in the server's skeleton function _invoke(). In response to a client request for a server's ip, I tried to obtain the server ip using axis2_msg_ctx_get_property_value(msg_ctx, env, "AXIS2_SVR_PEER_IP_ADDR") but it gave me a NULL pointer, indicating that the given key value is not set. Is there any way to obtain the server's IP on the server rather than using system calls? Thanks, -- Kevin Please be advised that this email may contain confidential information. If you are not the intended recipient, please do not read, copy or re-transmit this email. If you have received this email in error, please notify us by email by replying to the sender and by telephone (call us collect at +1 202-828-0850) and delete this message and any attachments. Thank you in advance for your cooperation and assistance. In addition, Danaher and its subsidiaries disclaim that the content of this email constitutes an offer to enter into, or the acceptance of, any contract or agreement or any amendment thereto; provided that the foregoing disclaimer does not invalidate the binding effect of any digital or other electronic reproduction of a manual signature that is included in any attachment to this email. --------------------------------------------------------------------- To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-c-user-help@ws.apache.org