Return-Path: Delivered-To: apmail-ws-axis-c-user-archive@www.apache.org Received: (qmail 32110 invoked from network); 26 Jul 2007 05:45:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Jul 2007 05:45:27 -0000 Received: (qmail 61995 invoked by uid 500); 26 Jul 2007 05:45:27 -0000 Delivered-To: apmail-ws-axis-c-user-archive@ws.apache.org Received: (qmail 61979 invoked by uid 500); 26 Jul 2007 05:45:26 -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 61968 invoked by uid 99); 26 Jul 2007 05:45:26 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jul 2007 22:45:26 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of premalal@gmail.com designates 209.85.146.182 as permitted sender) Received: from [209.85.146.182] (HELO wa-out-1112.google.com) (209.85.146.182) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jul 2007 22:45:24 -0700 Received: by wa-out-1112.google.com with SMTP id k22so502693waf for ; Wed, 25 Jul 2007 22:45:03 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:subject:references:from:x-url:to:date:in-reply-to:message-id:user-agent:mime-version:content-type:sender; b=p4Em0eVmd1lDOeGAJLZoq+RLy0X7c3CYeLQ/xPNgdFGfEoo6TTjqzqK3Ivir3bRA4YlYYWQCT+0KqLaGqTVS56UiW2c11EoeDjgLq3oQjnp1Rfx6Ckh+1EoGfNBwf558KfLw0eTTeGNscv1FjoUprTgaTfzjjk+HWroxgnweeNU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:subject:references:from:x-url:to:date:in-reply-to:message-id:user-agent:mime-version:content-type:sender; b=nkPUFueYO5XFRmIoLKk7OVQwSbG4IxFcfLAoOR46d24nMkT60ZmjkU7vrbZ6aVFoLFKYjqsrtiz+b02JZd6XiPU9bOxSX6hLBtCS8auXThBmhPbBVO3HJN1qqjtLuU7PQTVeF88YCLUBRyZImgaLiswDS3ClO/LbTsWDMgAOZK4= Received: by 10.114.201.1 with SMTP id y1mr1357572waf.1185428703459; Wed, 25 Jul 2007 22:45:03 -0700 (PDT) Received: from localhost ( [124.43.215.92]) by mx.google.com with ESMTPS id q20sm2686899pog.2007.07.25.22.45.00 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 25 Jul 2007 22:45:01 -0700 (PDT) Received: from dinesh by localhost with local (Exim 4.67) (envelope-from ) id 1IDwKR-0001yl-Rp for axis-c-user@ws.apache.org; Thu, 26 Jul 2007 11:26:03 +0530 Subject: Re: [Axis2/C] Access to service context or environment References: <90ad28f40707252219h16fa6267w228db962efc045b5@mail.gmail.com> From: Dinesh Premalal X-URL: http://xydinesh.wordpress.com To: axis-c-user@ws.apache.org Date: Thu, 26 Jul 2007 11:26:03 +0530 In-Reply-To: <90ad28f40707252219h16fa6267w228db962efc045b5@mail.gmail.com> (Shaun Mangelsdorf's message of "Thu\, 26 Jul 2007 15\:19\:13 +1000") Message-ID: <87abtj674c.fsf@etch.wso2.com> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Dinesh Premalal X-Virus-Checked: Checked by ClamAV on apache.org Hi, "Shaun Mangelsdorf" writes: > I am targeting this code at running under apache. If there was a way to get to > the server_rec or the module config pointer, I could use that to my > advantage. Yes, In server side, When invoking You can get msg_ctx using that message context you will be able to get config_ctx or config. AXIS2_EXTERN struct axis2_conf_ctx *AXIS2_CALL axis2_msg_ctx_get_conf_ctx(const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env); Please see "echo" service under samples directory for more details. thanks, Dinesh -- Dinesh Premalal http://xydinesh.wordpress.com/ GPG ID : A255955C GPG Key Finger Print : C481 E5D4 C27E DC34 9257 0229 4F44 266E A255 955C --------------------------------------------------------------------- To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-c-user-help@ws.apache.org