Return-Path: X-Original-To: apmail-axis-java-dev-archive@www.apache.org Delivered-To: apmail-axis-java-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 75196FF8D for ; Fri, 29 Mar 2013 14:42:39 +0000 (UTC) Received: (qmail 98794 invoked by uid 500); 29 Mar 2013 14:42:37 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 98505 invoked by uid 500); 29 Mar 2013 14:42:35 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 98457 invoked by uid 99); 29 Mar 2013 14:42:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Mar 2013 14:42:34 +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.239.18] (HELO nm38-vm2.bullet.mail.bf1.yahoo.com) (72.30.239.18) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Mar 2013 14:42:29 +0000 Received: from [98.139.212.149] by nm38.bullet.mail.bf1.yahoo.com with NNFMP; 29 Mar 2013 14:42:08 -0000 Received: from [98.139.212.197] by tm6.bullet.mail.bf1.yahoo.com with NNFMP; 29 Mar 2013 14:42:08 -0000 Received: from [127.0.0.1] by omp1006.mail.bf1.yahoo.com with NNFMP; 29 Mar 2013 14:42:08 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 151705.59338.bm@omp1006.mail.bf1.yahoo.com Received: (qmail 65373 invoked by uid 60001); 29 Mar 2013 14:42:08 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1364568127; bh=SMzVKJjCgrvEhy3Gjq/tOVg7Y3Vvt8i4YrWlxWT7XeU=; 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=mK5Gjx6Wvh9q/QgcS4IGwduYl22OmCWlYfbfGO8yQCb5EQJHUf+v6seinclPr+z7KqqWGRdR9YGAtiu21r6FknW1hAmNImAf7c0TlrCd9vTHN+8W0Mt4eoXn5gocve6EkkuhEefCznOq/D/3Jfha1Wt4KhswgG2oh5JCG7IsG60= 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=ZZ+pPX8k1cIoGUck+LzfVWOpZk53TgjoRwfkEfWZ3OrZokFZAdxDbJEz4IbhhJvX0huQA+jnnn/M0HuWpmQrsnbPjaM2WWSdwZVfFxkJ9+mpZ9+2eU6vtxHLqcn+uxPAlc4YD27g9gxtaswxeFhDu+yKRKZdb4kLKQ5gH9rXOoA=; X-YMail-OSG: aGTUNSMVM1lqZZlv4CuMhvzIe4NeKHo3BttGkUxfXDa1EKh cIb4uwhKDyd7GoSfusvSBFpGVrSwkc5wZfVqymjReviQ0K7PU0XtOhKtgc8e 5wFF9OOA05gVMLKGCDFvdzrx_U3IUvurucPnl6Yxn4zlfB9cy6V7_FYouGim N7LmJlVN3dwkkVY9iY0GGNgWagaQtJ_TvEeycQAFD_qUwzUJTI81XKEBEoaE G4EkuJq40jLwtnObWJTiDGqIbcg2t20PeP4Ykzpre8Voly8RoC.HGWZnj50K 6hKs0kSXAxweV_0ovDUbBxRVpIWUFGVm9rf4XBsdM0YUktHaYvheWb7HdeCm ynmGBb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Z2UgYW55dGhpbmcgaW4gdGhlIGNvbmZpZ3VyYXRpb24_CgpUaGFua3MsCkoKCgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwoBMAEBAQE- X-Mailer: YahooMailWebService/0.8.139.530 References: <1341522545.59186.YahooMailNeo@web162803.mail.bf1.yahoo.com> <1343075711.43443.YahooMailNeo@web162801.mail.bf1.yahoo.com>,<1343764180.22404.YahooMailNeo@web162805.mail.bf1.yahoo.com> <1343769140.8159.YahooMailNeo@web162804.mail.bf1.yahoo.com>,<1363988264.21840.YahooMailNeo@web162804.mail.bf1.yahoo.com> Message-ID: <1364568127.65269.YahooMailNeo@web162805.mail.bf1.yahoo.com> Date: Fri, 29 Mar 2013 07:42:07 -0700 (PDT) From: Jack Sprat Reply-To: Jack Sprat Subject: Re: [Axis2] REST web service To: "java-dev@axis.apache.org" In-Reply-To: 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 Martin,=0A=0AIt looks like the "enableRESTInAxis2MainServlet" parameter was= removed from Axis2 long ago.=A0 What version were you using?=0A=0AAs I und= erstand it, ReST and SOAP are enabled by default.=A0 Do I need to change an= ything in the configuration?=0A=0AThanks,=0AJ=0A=0A=0A_____________________= ___________=0AFrom: Martin Gainty =0ATo: "java-dev@axi= s.apache.org" =0ASent: Thursday, March 28, 2013 = 8:55 PM=0ASubject: RE: [Axis2] REST web service=0A=0A=0A=0A1)There are deci= dedly different configurations for REST vs SOAP in axis2.xml=0Agenerally 2 = different servlets processing 2 different url-mappings=0Aone for REST=0Aone= for SOAP=0Atake a look at this configuration from axis2.xml for clarificat= ion on enabling REST specific parameters=0A=0A=A0=0A=A0=A0=A0 =0A=A0=A0=A0 =0A=A0= =A0=A0 =0A=A0= =A0=A0 =0A=0A=0A=0A=0A=A0=A0=A0 false=0A=0A=A0=A0=A0 =0A=A0=A0=A0 false=0A=0A=A0=A0=A0 =0A=A0= =A0=A0 f= alse=0A=0A2)WADL vs WSDL=0AAFAIK REST does not support WSDL but= does support WADL (with included xsds)=0Ahttp://bitworking.org/news/193/Do= -we-need-WADL=0A=0ALooks like you have signigicant=A0re-packaging=A0from WS= DL to WADL=A0ahead of you.=0A=0APeople who fall in love with REST should kn= ow why they dont like SOAP before leaping=0A=0AViel GLuck=0AMartin =0A_____= _________________________________________ =0AVerzicht und Vertraulichkeitan= merkung=0A=0ADiese Nachricht ist vertraulich. Sollten Sie nicht der vorgese= hene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbef= ugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachri= cht dient lediglich dem Austausch von Informationen und entfaltet keine rec= htliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mail= s koennen wir keine Haftung fuer den Inhalt uebernehmen.=A0=0A=0A=0A> Date:= Fri, 22 Mar 2013 14:37:44 -0700=0A> From: rexclaimer2@yahoo.com=0A> Subjec= t: Re: [Axis2] REST web service=0A> To: java-user@axis.apache.org=0A> CC: j= ava-dev@axis.apache.org=0A> =0A> =0A> =0A> Hello list.=0A> =0A> I never rec= eived an answer to the problem I had with a ReST call to my Axis2 web servi= ce.=A0 The binding is XMLBeans and the WSDL is 1.1.=A0 Does ReST only work = with WSDL 2.0 in Axis2?=0A> =0A> Thanks to those that have replied but I st= ill have made no progress with this.=A0 See the message below for the detai= ls.=A0 I've also included the WSDL and 3 schemas again below.=0A> =0A> WSDL= :=0A> =3D=3D=3D=3D=3D=0A> =0A> = =0A> =A0targetNamesp= ace=3D"http://ws.mycompany.com/shipmenttracking";;=0A> =A0xmlns:ship=3D"htt= p://ws.mycompany.com/schema/shipmenttracking";;=0A> =A0xmlns:soap=3D"http:/= /schemas.xmlsoap.org/wsdl/soap/";;=0A> =A0xmlns:xsd=3D"http://www.w3.org/20= 01/XMLSchema";;=0A> =A0xmlns:tns=3D"http://ws.estesexpress.com/shipmenttrac= king";;=0A> =A0xmlns:wsdl=3D"http://schemas.xmlsoap.org/wsdl/";;>=0A> =A0Shipment tracking web service. Copyright 2012=0A> =A0=0A> =A0=A0=A0=A0 =0A> =A0=A0=A0= =0A> =A0=A0=A0=A0=0A> =A0=A0=A0=A0=A0=0A> =A0=A0=A0=A0=A0=0A> =A0=A0=A0=A0=0A> =A0=A0=A0= =0A> =A0=A0=A0= =0A> =A0=A0=A0=A0=0A> =A0=A0=A0=A0=A0<= xsd:maxLength value=3D"100"/>=0A> =A0=A0=A0=A0=0A> =A0=A0= =A0=0A> =A0=A0=A0=0A= > =A0=A0=A0=A0=0A> =A0=A0=A0=A0=A0=0A> =A0=A0=A0=A0=A0= =0A> =A0=A0=A0=A0=0A> =A0=A0=A0=0A> =A0= =A0=A0=0A> =A0=A0=A0=A0=0A> =A0=A0=A0=A0=A0=0A> =A0= =A0=A0=A0=A0=0A> =A0=A0=A0=A0=0A> =A0=A0=A0=0A> =A0=A0=A0=0A> =A0=A0=A0=0A> =A0=A0=A0=0A> =A0=A0=A0=0A> =A0=A0=A0=0A> =A0=A0=A0=0A> =A0=A0=A0=0A> =A0=A0=A0=0A> =A0=A0=A0=0A> =A0=A0=A0=0A> =A0=A0=A0=A0 =0A> =A0=A0=0A> =A0=A0=A0=0A> =A0= =A0=A0=0A> =A0=A0=A0=0A> =A0=A0=A0=A0 =0A> =A0=0A> =A0=0A> =A0=0A> =A0=A0=A0 =A0=0A> =A0=A0=0A> =A0= =0A> =A0=0A> =A0=A0=A0 =A0=0A> =A0=A0=0A= > =A0=0A> =A0=0A> =A0= =A0=A0=A0 =0A= > =A0=A0=A0=A0 =0A> =A0=0A> =A0=0A> =A0=A0=A0=A0 =0A> =A0=A0=A0 =A0=0A> =A0= =0A> =A0=0A> =A0=A0=0A> =A0=A0= =0A> =A0=0A> =A0=0A> = =A0=A0=0A> =A0=A0=0A> =A0=0A> =A0=0A> =A0=A0=A0 =A0= =0A> =A0=A0=A0 =A0=0A> =A0=0A> =A0=0A> =A0=A0=0A> =A0=A0= =A0=0A> =A0=A0= =A0=0A> =A0=A0=A0=0A> =A0=A0=A0=0A> =A0=A0= =0A> =A0=A0=0A> =A0=A0=A0=0A> =A0=A0=A0=0A> =A0=A0=A0=0A> =A0=A0=A0=0A> =A0=A0=A0=0A> =A0=A0=A0=0A> =A0=A0=A0=0A> =A0=A0=A0=0A> =A0=A0= =0A> =A0=0A> =A0=0A> =A0=A0=A0=A0 =0A> =A0=A0=0A> =A0=A0=A0=0A> =A0= =A0=A0=0A> =A0=A0=A0=A0=0A> =A0=A0=A0=0A> =A0=A0=A0=0A> =A0=A0=A0=A0=0A> =A0=A0=A0=0A> =A0=A0= =0A> =A0=A0=0A> =A0=A0=A0=0A> =A0=A0=A0= =0A> =A0=A0=A0=A0=0A> =A0=A0=A0=A0=0A> =A0=A0=A0= =A0=0A> =A0=A0=A0=0A> =A0=A0=A0=0A> =A0=A0=A0=A0=0A> =A0=A0=A0=0A> =A0=A0=A0=0A> =A0=A0=A0= =A0=0A> =A0=A0=A0= =0A> =A0=A0=A0=0A> =A0= =A0=A0=A0=0A> =A0= =A0=A0=0A> =A0=A0=0A> =A0=0A> = =A0=0A> =A0=A0Shipment tracking web service=0A> =A0=A0=0A> = =A0=A0=A0=A0=0A> =A0=A0=0A> = =A0=0A> =0A> =0A> Schemas:=0A> =3D=3D=3D= =3D=3D=3D=3D=0A> =0A> Request:=0A> -----------=0A> =0A> =0A> =0A> =A0=A0=A0 =0A> =A0=A0=A0=A0=A0=A0= =A0=0A>=A0=A0Shipment tracking request. = =0A> Copyright 2012 Estes Express Lines, Inc.=0A> =A0= =A0=A0 =0A> =A0=A0=A0 =0A> =A0=A0=A0 =0A> = =A0=A0=A0=A0=A0=A0=A0 =0A> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0 =0A> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =0A> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0 =0A> =A0=A0=A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A0=A0= =A0=A0=A0 =0A> =A0=A0=A0=A0=A0=A0=A0 =0A> =A0=A0=A0 =0A> =A0=A0=A0 =0A> =A0=A0=A0=A0=A0=A0=A0 =0A> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =0A> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =0A> =A0=A0=A0=A0=A0=A0=A0 =0A> =A0=A0=A0 =0A> =A0=A0=A0 =0A> =A0=A0= =A0=A0=A0=A0=A0 =0A> =A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0 =0A> =A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 =0A> =A0=A0=A0=A0=A0= =A0=A0 =0A> =A0=A0=A0 =0A> =A0=A0=A0 =0A> =A0=A0=A0=A0=A0=A0=A0 =0A> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0 =0A> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = =0A> =A0=A0=A0=A0=A0=A0=A0 =0A> =A0=A0=A0 =0A> =A0=A0=A0 =0A> =A0=A0=A0=A0=A0=A0=A0 =0A> =A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0 Telephone subscriber number = - up to 14 digits=0A> =A0=A0=A0=A0=A0=A0=A0 =0A> =A0=A0=A0=A0=A0=A0=A0 =0A> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =0A= > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =0A> =A0=A0=A0=A0=A0=A0=A0 =0A> =A0=A0=A0 =0A> =A0=A0=A0 =0A> =A0=A0=A0= =A0=A0=A0=A0 =0A> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Full international telephone number=0A> =A0= =A0=A0=A0=A0=A0=A0 =0A> =A0=A0=A0=A0=A0=A0=A0 =0A> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =0A> =A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0 =0A> =A0=A0=A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=0A> =A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0 =0A> =A0=A0=A0=A0=A0=A0=A0 =0A> =A0=A0=A0 =0A> =A0=A0=A0 =0A> =A0=A0=A0= =A0=A0=A0=A0 =0A> =A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 =0A> =A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0 =0A> =A0=A0=A0=A0=A0=A0=A0 <= /xsd:restriction>=0A> =A0=A0=A0 =0A> =0A> =0A= > =A0=0A> Common schema:=0A> ------------------------=0A> =A0=0A> =0A> =0A> =A0=A0=A0 =0A> =A0=A0=A0=A0=A0= =A0=A0=0A>=A0=A0Common elements for ship= ment =0A> tracking service. Copyright 2012 Estes Express Lines, =0A> Inc.=0A> =A0=A0=A0 =0A> =A0=A0=A0 =0A> =A0=A0=A0=A0=A0=A0=A0 =0A> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =0A> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = =0A> =A0=A0=A0=A0=A0=A0=A0 =0A> =A0=A0=A0 =0A> =A0=A0=A0 =0A> =A0=A0=A0= =A0=A0=A0=A0 =0A> =A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0 =0A> =A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0 =0A> =A0=A0=A0=A0=A0=A0=A0 =0A> =A0=A0=A0 =0A> =A0=A0=A0 =0A> =A0=A0=A0=A0=A0=A0=A0 =0A> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =0A> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = =0A> =A0=A0=A0=A0=A0=A0=A0 =0A> =A0=A0=A0 =0A> =A0=A0=A0 =0A> =A0= =A0=A0=A0=A0=A0=A0 =0A> =A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 =0A> =A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0 =0A> =A0=A0=A0=A0=A0=A0=A0 = =0A> =A0=A0=A0 =0A> =A0=A0=A0 =0A> =A0=A0=A0=A0=A0=A0=A0 =0A> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =0A> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = =0A> =A0=A0=A0=A0=A0=A0=A0 =0A> =A0=A0=A0 =0A> =A0=A0=A0 =0A> =A0=A0=A0=A0=A0=A0= =A0 =0A> =A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 =0A> =A0=A0=A0=A0=A0=A0= =A0 =0A> =A0=A0=A0 =0A> =A0=A0=A0 =0A> =A0=A0=A0=A0=A0=A0=A0 =0A> = =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =0A>= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =0A> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =0A> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =0A> =A0=A0= =A0=A0=A0=A0=A0 =0A> =A0=A0=A0 =0A> =0A> =0A> =0A> Thanks,=0A> J=0A> =0A> =0A> =0A> =0A> _________________= _______________=0A> From: Jack Sprat =0A> To: "java-= user@axis.apache.org" =0A> Sent: Tuesday, July = 31, 2012 5:12 PM=0A> Subject: Re: [Axis2] REST web service=0A> =0A> There i= s a comment before the response element but it is not commented out.=A0 I d= on't think the SOAP request would work if the response was commented out.= =0A> =0A> It looks like the original message has been lost.=A0 I can access= the web service with REST but always get a blank response.=0A> =0A> I have= a WSDL 1.1 web service with 2 operations.=A0 The service was generated wit= h =0A> wsdl2java in Axis2 1.6.1.=A0 One operation is a simple echo that I a= m =0A> trying to invoke via REST.=A0 The echo operation should return the r= equest string in the response.=A0 I can access the operation but nothing co= mes =0A> back in the response.=A0 I thought it should work like this:=0A> h= ttp://mywebservice.com/test/services/ShipmentTrackingService/echo?echoReque= st=3Dtest=0A> =0A> I=0A> get a response but there is nothing in the respons= e element.=A0 It works =0A> fine when invoked via SOAP with soapUI.=A0 The = response I get is:=0A> =0A> =0A> =0A> Thanks.=0A> -J=0A> =0A> _____________= ___________________=0A> From: Martin Gainty =0A> To: j= ava-user@axis.apache.org =0A> Sent: Tuesday, July 31, 2012 4:11 PM=0A> Subj= ect: RE: [Axis2] REST web service=0A> =0A> =0A> =0A> any reason why your re= sponse element is commented out?=0A> =0A> can you un-comment echoRe= sponse and redeploy?=0A> =0A> Martin =0A> _________________________________= _____________ =0A> Verzicht und Vertraulichkeitanmerkung=0A> =0A> =0A> > Da= te: Tue, 31 Jul 2012 12:49:40 -0700=0A> > From: rexclaimer2@yahoo.com=0A> >= Subject: Re: [Axis2] REST web service=0A> > To: java-user@axis.apache.org;= rexclaimer2@yahoo.com=0A> > =0A> > Kishanthan, Sagara, anyone..=0A> > =0A>= > Can someone assist with my problem?=A0 I cannot get my web service to wo= rk via REST.=A0 It works perfectly with a SOAP request.=0A> > =0A> > Thanks= .=0A> > J=0A> > =0A> > ________________________________=0A> > From: Jack Sp= rat =0A> > To: "java-user@axis.apache.org" =0A> > Sent: Monday, July 23, 2012 4:35 PM=0A> > Subject= : Re: [Axis2] REST web service=0A> > =0A> > Hi Kishanthan.=0A> > =0A> > I'm= fairly certain that the WSDL is correct.=A0 It works fine with a SOAP requ= est and "echoRequest" is the correct element name. With REST I get a respon= se with the correct format but the value is blank (see my first message for= the details).=A0 I don't know where=A0the code snippet you included below = came from.=A0 This is the snippet from the WSDL:=0A> > =0A> > =0A> > =A0=A0=A0=A0=0A> > =A0=A0=A0=A0=A0=0A> > =A0=A0= =A0=A0=0A> > =A0=A0=A0=0A> > =0A> > The = following SOAP request works fine:=0A> > =0A> > =0A> > =A0=A0 =0A= > > =A0=A0 =0A> > =A0=A0=A0=A0=A0 ping=0A> > =A0=A0 =0A> > =0A> >= =0A> > I still don't know where the problem lies.=A0 Any help is appreciat= ed.=0A> > =0A> > Thanks,=0A> > J=0A> > =0A> > =0A> > ______________________= __________=0A> > From: Kishanthan Thangarajah =0A> >= To: java-user@axis.apache.org; Jack Sprat =0A> > C= c: "axis-user@ws.apache.org" =0A> > Sent: Saturda= y, July 21, 2012 3:25 PM=0A> > Subject: Re: [Axis2] REST web service=0A> > = =0A> > =0A> > Hi,=0A> > =0A> > =0A> > On Fri, Jul 6, 2012 at 2:39 AM, Jack = Sprat wrote:=0A> > =0A> > I have a WSDL 1.1 web ser= vice with 2 operations.=A0=A0The service was generated from the WSDL with A= xis2 1.6.1.=A0 One operation is a simple echo that I am trying to invoke vi= a REST.=A0=A0The echo operation should return the request string in the res= ponse.=A0=A0I can access the operation but nothing comes back in the respon= se.=A0=A0I thought it should work like this:=0A> > >http://mywebservice.com= /test/services/ShipmentTrackingService/echo?echoRequest=3Dtest=0A> > >=0A> = > >=0A> > =0A> > I went through the given wsdl and=A0schema. I think the is= sue here is that "echoRequest" is not the name of the request element defin= ed in wsdl and that is why having it in the url fails. The following is my = understanding on how to make this work. =0A> > =0A> > For example, if you h= ave the following as the definition for=A0EchoRequestType in your wsdl,=A0 = =0A> > =0A> > =A0 =A0=0A> > =A0 = =A0 =A0=0A> > =A0 =A0 =A0 =0A> > =A0 =A0 =A0=0A> > =A0 =A0=A0=0A> > =0A> > Then invoking the e= cho operation via REST would be like,=A0=0A> > =0A> > http://localhost:8080= /axis2/services/ShipmentTrackingService/echo?val=3Dthissstest=0A> > =0A> > = You can see that the name of request element is "val" and it is given as th= e request=A0parameter=A0in the url.=A0=0A> > =0A> > Thanks,=0A> > Kishantha= n.=0A> > =0A> > I get a response but there is nothing in the response eleme= nt. =A0It works fine when invoked via SOAP with soapUI.=A0 The response I g= et is:=0A> > >=0A> > >=0A> > >The pertinent parts of the WSDL are shown bel= ow.=0A> > >=0A> > >=0A> > >=0A> > >=0A> > >=0A> > >=0A> > >=0A> > >= =0A> > >=0A= > > >=0A> > >=0A> > >=0A> > >=A0=0A> > ><= !-- Define SOAP message names. -->=0A> > >=0A> > >=0A> > >=0A> > >Any help is appreciated.=0A> > >=0A> > >Thanks.=0A> > >J= =0A> >=0A> =0A> -----------------------------------------------------------= ----------=0A> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.or= g=0A> For additional commands, e-mail: java-user-help@axis.apache.org=0A> = =0A> ---------------------------------------------------------------------= =0A> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org=0A> For a= dditional commands, e-mail: java-dev-help@axis.apache.org=0A> =A0=A0=A0 --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org For additional commands, e-mail: java-dev-help@axis.apache.org