Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 76239 invoked from network); 25 Jun 2008 09:46:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Jun 2008 09:46:46 -0000 Received: (qmail 69510 invoked by uid 500); 25 Jun 2008 09:46:46 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 69456 invoked by uid 500); 25 Jun 2008 09:46:46 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 69445 invoked by uid 99); 25 Jun 2008 09:46:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jun 2008 02:46:46 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sainathdreams@gmail.com designates 209.85.142.189 as permitted sender) Received: from [209.85.142.189] (HELO ti-out-0910.google.com) (209.85.142.189) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jun 2008 09:45:54 +0000 Received: by ti-out-0910.google.com with SMTP id b6so2046196tic.1 for ; Wed, 25 Jun 2008 02:46:12 -0700 (PDT) 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=cpSWyQMXg6WYXs/Z8Nk7EAgtcnjnZ5VK3tvR7NyKncA=; b=fIOSKrKHc9TNZYPPDbZvBHult/gNypksxMFPB3ACboBHJ5rR3JswktUta8oN1pc26U vQ1V9wTJ/5rz6DR0b10zGNdaZzTh8X6UqIODuVtFu4RPZnHnplaSUkEd9fkMMb6lTzff ygGIYA8to2szLcebkI4N9Hp4y5DI9Ox0Vw+EA= 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=LCIQYSkiHw14GbAmpu/LQ/Q69Y8nJbnGEpQF0yspdlaTpxSrlk+f0QHM3Tf0+r5KAG Y12Z+RAP3+5ScpRT2amO9KCUp9DSnJBTXSlzbaqpTrd7vvauQ5ZihPUbKKwKpyN2mqTV X0sN7/MWh/9sXKvDp5Ei3Z9Oupr75ke2SD8yU= Received: by 10.110.70.5 with SMTP id s5mr8143262tia.21.1214387172385; Wed, 25 Jun 2008 02:46:12 -0700 (PDT) Received: by 10.110.2.7 with HTTP; Wed, 25 Jun 2008 02:46:12 -0700 (PDT) Message-ID: <435270830806250246h6847d89fu5a69d5ac3e7bc15b@mail.gmail.com> Date: Wed, 25 Jun 2008 15:16:12 +0530 From: "Sainath Chowdary" To: dev@geronimo.apache.org, jacek@laskowski.net.pl Subject: Re: RESTful Web Services support in Geronimo In-Reply-To: <1b5bfeb50806250111x63197c89le87aaed531dd0111@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2554_10672140.1214387172388" References: <435270830806240655r2b695c8cx3bb65ba4428ebae1@mail.gmail.com> <5eb405c70806240750i3848dbbdrbc23a56127d9e582@mail.gmail.com> <435270830806242319s660d124fjf0920cb988c806d5@mail.gmail.com> <1b5bfeb50806250111x63197c89le87aaed531dd0111@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_2554_10672140.1214387172388 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Jacek, Thank you very much for your help. I configured the JAX-WS engine to CXF in my Geronimo and the RESTful services are working like charm. But I would like to know is there a some kind of fix for running the REST in Axis2 1.3? On Wed, Jun 25, 2008 at 1:41 PM, Jacek Laskowski wrote: > On Wed, Jun 25, 2008 at 8:19 AM, Sainath Chowdary > wrote: > > > So you are telling me that there is no way to deploy a RESTful web > service > > in Geronimo that we are currently using until Axis2 is upgraded or is > there > > any fix that we can use to deploy REST services? > > You can use Geronimo with CXF. The beauty of Geronimo is that you can > mix and match whatever platform you're interested in - Axis doesn't > work well? Use CXF. > > If you use Geronimo/Tomcat distro run Geronimo with > -Dorg.apache.geronimo.jaxws.provider=cxf to enable CXF or switch to > Geronimo/Jetty where CXF is the default Web Services platform. See > var/config/config.xml. The relevant snippet is as follows: > > condition="props['org.apache.geronimo.jaxws.provider'] == 'cxf' or > (props['org.apache.geronimo.jaxws.provider'] == null and > webcontainerName == 'jetty6')"/> > > Jacek > > -- > Jacek Laskowski > Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl > -- Sainath Chowdary B.Tech III yr, Spring Semester Electronics & Communication Engg Indian Institute of Technology Roorkee ------=_Part_2554_10672140.1214387172388 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Jacek,

Thank you very much for your help. I configured the JAX-WS engine to CXF in my Geronimo and the RESTful services are working like charm.

But I would like to know is there a some kind of fix for running the REST in Axis2 1.3?

On Wed, Jun 25, 2008 at 1:41 PM, Jacek Laskowski <jacek@laskowski.net.pl> wrote:
On Wed, Jun 25, 2008 at 8:19 AM, Sainath Chowdary
<sainathdreams@gmail.com> wrote:

> So you are telling me that there is no way to deploy a RESTful web service
> in Geronimo that we are currently using until Axis2 is upgraded or is there
> any fix that we can use to deploy REST services?

You can use Geronimo with CXF. The beauty of Geronimo is that you can
mix and match whatever platform you're interested in - Axis doesn't
work well? Use CXF.

If you use Geronimo/Tomcat distro run Geronimo with
-Dorg.apache.geronimo.jaxws.provider=cxf to enable CXF or switch to
Geronimo/Jetty where CXF is the default Web Services platform. See
var/config/config.xml. The relevant snippet is as follows:

   <module name="org.apache.geronimo.configs/cxf-deployer/2.1.1/car"
condition="props['org.apache.geronimo.jaxws.provider'] == 'cxf' or
(props['org.apache.geronimo.jaxws.provider'] == null and
webcontainerName == 'jetty6')"/>

Jacek

--
Jacek Laskowski
Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl



--
Sainath Chowdary
B.Tech III yr, Spring Semester
Electronics & Communication Engg
Indian Institute of Technology Roorkee ------=_Part_2554_10672140.1214387172388--