Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 8920 invoked from network); 2 Apr 2008 08:20:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Apr 2008 08:20:24 -0000 Received: (qmail 10088 invoked by uid 500); 2 Apr 2008 08:20:21 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 10053 invoked by uid 500); 2 Apr 2008 08:20:21 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 10042 invoked by uid 99); 2 Apr 2008 08:20:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 01:20:21 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of davidillsley@gmail.com designates 209.85.132.247 as permitted sender) Received: from [209.85.132.247] (HELO an-out-0708.google.com) (209.85.132.247) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 08:19:40 +0000 Received: by an-out-0708.google.com with SMTP id c31so649494ana.22 for ; Wed, 02 Apr 2008 01:19:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=UK8wjpVVoY13PbfkgoPzvFIaFXs5/gdoGtUxAV/AnV0=; b=OO6UICIE1NeRHTLuT6AuU1aFUD9OutwynXn7AFDUUawI34rp63UZ3op8fvv8mSuQTuBPjNHIkgxbdDd31IFp/Qy9OO+0tDdxbZwPt+Uxh5/k8HheKg6u5VKpIE+zTFJCHHvfSJwCS9reV1YvOql64Vh8w8cs7qTQKB1klNVgBUs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=dvNCRtMQQor+O0LV9T/ZEW5VIkXykU+IsVhLnbVb6XBaKnnzG6XApKi+am5EwOydaAiIuQ9xcOAbsL77T5I+nhnmaZSc1hk4os2Mz1tUVZIScxL+CO2eMQPsvZVjGlt14KHfUra8bn8qRVSLGxdfesvMSeYB2nMWTuN/8qLF4LQ= Received: by 10.101.71.9 with SMTP id y9mr21978646ank.15.1207124391962; Wed, 02 Apr 2008 01:19:51 -0700 (PDT) Received: by 10.100.247.12 with HTTP; Wed, 2 Apr 2008 01:19:51 -0700 (PDT) Message-ID: <9abd5e730804020119t21c11e1ejd438b31dcd476133@mail.gmail.com> Date: Wed, 2 Apr 2008 09:19:51 +0100 From: "David Illsley" To: axis-dev@ws.apache.org Subject: Re: Getting service EPR programmatically In-Reply-To: <47F1BF23.1040706@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <47F1BF23.1040706@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Hubert, I don't believe the Axis2 apis will do this for you, however the JAX-WS 2.1 APIs will. They will be available in Axis2 1.4 which is due real soon now. David On Tue, Apr 1, 2008 at 5:50 AM, Deepal jayasinghe wrote: > Hubert H Leung wrote: > > > I am looking for a way to get the EPR of the service programmatically. In > > my service class, I added the init method: > > public void init(ServiceContext serviceContext) > > > > I called serviceContext.getMyEPR() in this method, and the value is null. > > (Note that I set the scope of my service to "application".) > > > > However, serviceContext.getMyEPR() returns the right value if I call it in > > the service call in an operation method. > > > > When is the EPR set? > > > When a message receive , i am not quit sure whether we set that at the > server side. > Any way if you are running inside an application severe , you can get the > EPR as below; > configurationContext.getListenerManager().getEPR(service name) > > Thank you! > Deepal > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-dev-help@ws.apache.org > > -- David Illsley - IBM Web Services Development --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org