Return-Path: X-Original-To: apmail-axis-java-user-archive@www.apache.org Delivered-To: apmail-axis-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 753C5F606 for ; Fri, 26 Apr 2013 15:40:25 +0000 (UTC) Received: (qmail 56366 invoked by uid 500); 26 Apr 2013 15:40:23 -0000 Delivered-To: apmail-axis-java-user-archive@axis.apache.org Received: (qmail 55830 invoked by uid 500); 26 Apr 2013 15:40:23 -0000 Mailing-List: contact java-user-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@axis.apache.org Delivered-To: mailing list java-user@axis.apache.org Received: (qmail 55583 invoked by uid 500); 26 Apr 2013 15:40:22 -0000 Delivered-To: apmail-ws-axis-user@ws.apache.org Received: (qmail 55513 invoked by uid 99); 26 Apr 2013 15:40:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Apr 2013 15:40:22 +0000 X-ASF-Spam-Status: No, hits=0.5 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_REPLYTO_END_DIGIT,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [72.30.238.136] (HELO nm36-vm0.bullet.mail.bf1.yahoo.com) (72.30.238.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Apr 2013 15:40:15 +0000 Received: from [98.139.212.149] by nm36.bullet.mail.bf1.yahoo.com with NNFMP; 26 Apr 2013 15:39:54 -0000 Received: from [98.139.212.244] by tm6.bullet.mail.bf1.yahoo.com with NNFMP; 26 Apr 2013 15:39:54 -0000 Received: from [127.0.0.1] by omp1053.mail.bf1.yahoo.com with NNFMP; 26 Apr 2013 15:39:54 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 303010.59118.bm@omp1053.mail.bf1.yahoo.com Received: (qmail 788 invoked by uid 60001); 26 Apr 2013 15:39:54 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1366990794; bh=ZGto3TZt5qkry0A6EbyI2D/6xH8u2FJjdMGPa8VTZiI=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=QLGlebai/ewrScLyWc7zAd5b5Qt/PqCRvKA4HoMXMfBvM7lN6SzyO2ZrlwLUz02DfCgWmB/edbwMXEyQAWJNzGu2xRmvR0gVylFnfr8DamaU5RyVWoOd0tNrQ3OJGYwiNirxl1X15GlHATUK+I7n6EhzNvb0WYuivJyHd2NEqpk= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=TZCdBXG1Qwh4MMI2s+HT+O0OVCBrp1jKIwoI4AXNTwIJaYUx2LOiibZcrOQYIvdXKAZKsLEWR5Mvq8aEBBhf3CDxmxPW8LL6WFNXQksUO0HhqKy0T7a++OPtVQWH1ektXBwN70blPVv5jEyKyPj0xCax19hn+0Z4ueqIvn/nfW0=; X-YMail-OSG: AUaaZm0VM1mw7j.EkjXrzCkeGWUpwSpagPUyCLgRYjme._L Q.5gOwmkO58crLgUGrkloXLq_bV15.Leo9ntG1To6f_Iha5ufRYVs6sm8Je. eRwsDSNGU2MnCm8GSPnVDJS5zA2.RrbGn2A3MDrp9q3fdVqsHSUMsusrWpVp bq3U6vdk7.DpVLe3ncF20zkcXaIVrE4SpJRga0weznJX7stxZlDv2sVDPsQ4 Qp5o1H88_isyvpfzazbOrjmOM5ecg73LVNPpobiniNsTNjKIDJhleW0KfpH_ tIMob1_UMLNx56OoGr1bW8WA.tTy5UsNsjFQmSmO6eAerfvRFoh2CyDMzgNE AcMPQbg2eRmIp_DYL6NXdsn3ikFWCV2xaxN8jb4gPcCIlqNQoUJyo23kpWEN 0YlMYD1rof_h6LuFgorHx7y.O42CTUGKrgammngkxB.mqjrrM.LgoWbdGtt2 gsyTL4cbzg.x32pwLFS0xMWxwDxjp_BkouRqCwGbjLiesHPSta5GEFX66uGd GGHwxFmgI2uPjwVs0WHY7OpF9tvPoOOCTC7jhCqCiyuLsj_5eaUwo.ZGRyW1 l6oQVtM8dEz44GiqhjdH_phyoqusqqQLc_UAXsTjaYYOkgAn0gRCYVqehK2x V3ugvnw-- Received: from [12.186.191.5] by web162801.mail.bf1.yahoo.com via HTTP; Fri, 26 Apr 2013 08:39:53 PDT X-Rocket-MIMEInfo: 002.001,VGhlIFJlU1QgcmVxdWVzdCBsb29rcyBsaWtlIHRoaXM6Cmh0dHBzOi8vd3d3LmV4YW1wbGUuY29tL3Rlc3QyL3NlcnZpY2VzL1Rlc3RTZXJ2aWNlL2VjaG8_ZWNob1JlcXVlc3Q9cGluZwoKVGhlIHJlc3BvbnNlIHJldHVybmVkIGlzIGJsYW5rOgo8dGVzdDplY2hvUmVzcG9uc2UgeG1sbnM6dGVzdD0iaHR0cDovL3dzLmV4YW1wbGUuY29tL3Rlc3QiIC8.CgpDYW4gYW55b25lIHRlbGwgbWUgd2hhdCBtYXkgYmUgd3Jvbmc_wqAgSXMgUmVTVCB3aXRoIEF4aXMyIGFuZCBXU0RMIDIuMCBwb3NzaWJsZT_CoCBJIGEBMAEBAQE- X-Mailer: YahooMailWebService/0.8.141.536 References: <1366837865.5208.YahooMailNeo@web162802.mail.bf1.yahoo.com> Message-ID: <1366990793.99217.YahooMailNeo@web162801.mail.bf1.yahoo.com> Date: Fri, 26 Apr 2013 08:39:53 -0700 (PDT) From: Jack Sprat Reply-To: Jack Sprat Subject: Re: ReST with Axis2 To: "java-dev@axis.apache.org" , "axis-user@ws.apache.org" In-Reply-To: <1366837865.5208.YahooMailNeo@web162802.mail.bf1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org The ReST request looks like this:=0Ahttps://www.example.com/test2/services/= TestService/echo?echoRequest=3Dping=0A=0AThe response returned is blank:=0A= =0A=0ACan an= yone tell me what may be wrong?=A0 Is ReST with Axis2 and WSDL 2.0 possible= ?=A0 I am trying to justify using Axis2 here but will lose the fight if it = will not work for ReST requests.=0A=0APlease feel free to contact me off-li= st.=0A=0AThank you.=0A=0A=0A=0A----- Original Message -----=0AFrom: Jack Sp= rat =0ATo: "axis-user@ws.apache.org" =0ACc: =0ASent: Wednesday, April 24, 2013 5:11 PM=0ASubject: ReST= with Axis2=0A=0AI've been struggling with Axis2 and ReST for a few days an= d hope someone can help.=0A=0AI have created a version 2.0 WSDL for a very = simple service and can generate the code stubs using the wsdl2java command.= =A0 In the WSDL I have 2 bindings - 1 for HTTP and 1 for SOAP.=A0 SOAP requ= ests work fine.=A0 All ReST requests come back with a blank response.=A0 Th= e AxisServlet class gets the ReST request correctly as I see the query stri= ng captured in debug mode.=A0 When the service class is called the request = is blank.=A0 I can see this while debugging.=0A=0ADo I need to do anything = different in my service class for ReST requests?=A0 What am I missing?=A0 A= ny help is GREATLY appreciated.=0A=0AI've included the WSDL below.=0A=0A=0A= =0A=0A=0A=A0=A0=A0 Test= WSDL 2.0 web service.=0A=0A=A0=A0=A0 =0A=A0=A0=A0 =0A= =A0=A0=A0 =A0=A0=A0 =0A=0A=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =0A=A0=A0= =A0 =A0=A0=A0 =A0=A0=A0 =0A=0A=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 = =0A=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =0A=0A=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 = =0A=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =0A=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 = =0A=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =0A=A0=A0=A0 =A0=A0=A0 =0A=A0=A0=A0 =0A=0A=A0=A0=A0 =0A=A0=A0=A0 =0A=A0=A0=A0 =A0=A0=A0 =0A=A0=A0=A0 =A0=A0=A0 <= wsdl:fault name=3D"generalError" element=3D"tns:generalError" />=0A=A0=A0= =A0 =A0=A0=A0 =0A=A0=A0=A0 =A0=A0=A0 =0A=A0=A0=A0 =A0=A0=A0 =0A=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =0A=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =0A=A0=A0=A0 = =A0=A0=A0 =0A=A0=A0=A0 =0A=0A=A0=A0=A0 =0A=A0=A0=A0 =0A=A0= =A0=A0 =A0=A0=A0 =0A=A0=A0=A0 =A0=A0= =A0 =0A=A0=A0=A0 =A0=A0=A0 =0A=A0=A0=A0 =0A=A0=A0=A0 =0A=A0=A0=A0 =A0=A0=A0 = =0A=A0=A0=A0 =A0=A0=A0 =0A=A0=A0=A0 = =A0=A0=A0 =0A=A0=A0=A0 =0A=0A=A0=A0=A0 =0A=A0=A0=A0 =0A=A0=A0=A0 =A0=A0=A0 Test WSDL 2.0 web service=0A=A0=A0=A0 =A0=A0=A0 =0A=A0=A0=A0 =A0=A0=A0 =0A=A0=A0=A0 = =A0=A0=A0 =0A=A0=A0=A0 =A0=A0=A0 =0A=A0=A0=A0 =0A=0A=0A=0AThanks.=0A= =0A=0A---------------------------------------------------------------------= =0ATo unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org=0AFor addit= ional commands, e-mail: java-dev-help@axis.apache.org=0A --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org For additional commands, e-mail: java-user-help@axis.apache.org