Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 93171 invoked from network); 11 Aug 2006 10:25:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Aug 2006 10:25:52 -0000 Received: (qmail 70501 invoked by uid 500); 11 Aug 2006 10:25:51 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 70487 invoked by uid 500); 11 Aug 2006 10:25:51 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 70476 invoked by uid 99); 11 Aug 2006 10:25:51 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Aug 2006 03:25:51 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of samisa.abeysinghe@gmail.com designates 64.233.166.178 as permitted sender) Received: from [64.233.166.178] (HELO py-out-1112.google.com) (64.233.166.178) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Aug 2006 03:25:42 -0700 Received: by py-out-1112.google.com with SMTP id o67so106631pye for ; Fri, 11 Aug 2006 03:24:54 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=odanCFAhGl3mdLuYKJx63UF09VDSDsoAnzoaEbqs7zGEZDYKAESgh8EWtBZY4Z/ur9iRXdve4M1eCAKHv6k0giG+tsfm0Go5m2aD6zMeJ+1yn4r7n7usF1NmwFcHOzPwcu/VVo4ZsEEA5282C2XbpGE26s2B4FBLO5LGFDZLN94= Received: by 10.65.59.16 with SMTP id m16mr3666743qbk; Fri, 11 Aug 2006 03:24:54 -0700 (PDT) Received: from ?192.168.1.151? ( [222.165.182.125]) by mx.gmail.com with ESMTP id 5sm1475736nzk.2006.08.11.03.24.50; Fri, 11 Aug 2006 03:24:54 -0700 (PDT) Message-ID: <44DC5426.40706@gmail.com> Date: Fri, 11 Aug 2006 15:55:50 +0600 From: Samisa Abeysinghe User-Agent: Thunderbird 1.5 (X11/20060313) MIME-Version: 1.0 To: Apache AXIS C Developers List Subject: Re: Re [Axis2]: REST / HTTP Get support References: <44DC274C.2040705@apache.org> <44DC30E0.4080602@gmail.com> <44DC50C6.4060608@apache.org> <44DC4B46.6050002@wso2.com> <44DC53CB.8010005@apache.org> In-Reply-To: <44DC53CB.8010005@apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Jean-Sebastien Delfino wrote: > Samisa Abeysinghe wrote: >> Jean-Sebastien Delfino wrote: >>> Samisa Abeysinghe wrote: >>>> Jean-Sebastien Delfino wrote: >>>>> Hi, >>>>> >>>>> I'm working on the Apache Tuscany/C++ SCA runtime project and we >>>>> are already using Axis2/C to implement our (SOAP) Web Service >>>>> binding support. I'd like to add a REST binding, and wondering if >>>>> I can use Axis2 as well for this. Do you support REST HTTP Get? Is >>>>> there any sample showing your support for REST that I could use as >>>>> a starting point? >>>> Yes we have implemented this, you can try with the math sample; run >>>> the simple axis server and try: >>>> http://localhost:9090/axis2/services/math/add?param1=10¶m2=20 >>>> >>>> Samisa... >>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org >>>> For additional commands, e-mail: axis-c-dev-help@ws.apache.org >>>> >>>> >>> >>> Cool! which version of Axis2c should I use? I'm using the 0.92 >>> release on Linux and with >>> http://localhost:9090/axis2/services/math/add?param1=10¶m2=20, >>> axis2_http_server is giving me a Segmentation fault. >> Please use the latest svn head. We added this after 0.92 >> >> Samisa... >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org >> For additional commands, e-mail: axis-c-dev-help@ws.apache.org >> >> > > OK, I'll do that. Thanks! > > Another related question: Can I use Axis2c to send a REST HTTP Get > request as a client? Do you have sample showing this or can you give > me a pointer to what options/configuration I need to set up on the > client? Yes we do have a GET sample. Please have a look at samples/user_guide/clients/echo_rest.c. If you run this sample with: echo_rest -mGET it will do a GET request in place of a POST request. For more information on this sample run: echo_rest -h Thanks, Samisa... --------------------------------------------------------------------- To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-c-dev-help@ws.apache.org