Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 99289 invoked from network); 30 Nov 2008 06:28:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Nov 2008 06:28:09 -0000 Received: (qmail 26375 invoked by uid 500); 30 Nov 2008 06:28:12 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 26340 invoked by uid 500); 30 Nov 2008 06:28:11 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 26329 invoked by uid 99); 30 Nov 2008 06:28:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Nov 2008 22:28:11 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of amilasuriarachchi@gmail.com designates 209.85.134.184 as permitted sender) Received: from [209.85.134.184] (HELO mu-out-0910.google.com) (209.85.134.184) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Nov 2008 06:26:44 +0000 Received: by mu-out-0910.google.com with SMTP id w8so1766635mue.8 for ; Sat, 29 Nov 2008 22:27:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=Nlk+zqzr0u9sirK5jMXRQzpT/E33AmxU809kyAG4N4s=; b=eEDazsmIQ6N8GGh60rVh8t0rSCzPOWfDE+Sie2DGnyj0N2t1C/1Gdz8h441vVpKIuM AxiEdoajIyU7efTPNdLDzr2fXB6U335M7Hn4ZF2V6eaxM2bCj7HU6n68Y5SAIYQvYFV8 EL80YtdWzZC/3/XzVUOYVh6ntCtaD8hXb5Wto= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=c1vF7EO569NrR9W3GA6MGJN30ZWHb+9n8CmzCCHHsoUOIRg/L4Nkw10tBwz/8P2ejw iXXTkABPDwJlZPmCem3PG4TV73EAqIjOR9wkM+YkZKi5K4MuvTzzfw7wXxu9rtiuPUq1 r7sIw68lohdI0tzuXDXLLQzwMt4UZvGF+TW0I= Received: by 10.103.131.18 with SMTP id i18mr3897623mun.74.1228026450792; Sat, 29 Nov 2008 22:27:30 -0800 (PST) Received: by 10.103.12.6 with HTTP; Sat, 29 Nov 2008 22:27:30 -0800 (PST) Message-ID: <60708f4b0811292227n1dc670b1xb36d5bf79f3bd171@mail.gmail.com> Date: Sun, 30 Nov 2008 11:57:30 +0530 From: "Amila Suriarachchi" To: axis-user@ws.apache.org Subject: Re: how to return a respnose from module In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_78442_18297994.1228026450789" References: X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_78442_18297994.1228026450789 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Fri, Nov 28, 2008 at 2:45 PM, Michele Mazzucco < Michele.Mazzucco@ncl.ac.uk> wrote: > What about using InvocationResponse.ABORT after processing the request in > your handler? this is also a possibility then you need to call the AxisEngine.Send() at your handler. thanks, Amila. > > > Michele > > > > On 27 Nov 2008, at 19:29, Shah Asrani wrote: > > Hi >> I have a web service running. The web service has method called >> "getVersion" and it returns an OMElement. >> The web service has a custom handler that gets invoked. I set the >> envelope in the MessageContext. >> but web service continues and returns the response from the getVersion >> method. How can return the respone from custom handler (i.e., I don't >> want web service to reach to getVersion method and I want to write the >> response in module. >> >> Best Regards, >> >> Shah Asrani >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org >> For additional commands, e-mail: axis-user-help@ws.apache.org >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-user-help@ws.apache.org > > -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/ ------=_Part_78442_18297994.1228026450789 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline

On Fri, Nov 28, 2008 at 2:45 PM, Michele Mazzucco <Michele.Mazzucco@ncl.ac.uk> wrote:
What about using InvocationResponse.ABORT after processing the request in your handler?

this is also a  possibility then you need to call the AxisEngine.Send() at your handler.

thanks,
Amila.


Michele



On 27 Nov 2008, at 19:29, Shah Asrani wrote:

Hi
I have a web service running. The web service has method called
"getVersion" and it returns an OMElement.
The web service has a custom handler that gets invoked. I set the
envelope in the MessageContext.
but web service continues and returns the response from the getVersion
method.  How can return the respone from custom handler (i.e., I don't
want web service to reach to getVersion method and I want to write the
response in module.

Best Regards,

Shah Asrani

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org




--
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/
------=_Part_78442_18297994.1228026450789--