Return-Path: Delivered-To: apmail-incubator-cxf-dev-archive@locus.apache.org Received: (qmail 59061 invoked from network); 30 Sep 2006 07:10:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Sep 2006 07:10:54 -0000 Received: (qmail 14735 invoked by uid 500); 30 Sep 2006 07:10:54 -0000 Delivered-To: apmail-incubator-cxf-dev-archive@incubator.apache.org Received: (qmail 14698 invoked by uid 500); 30 Sep 2006 07:10:53 -0000 Mailing-List: contact cxf-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-dev@incubator.apache.org Delivered-To: mailing list cxf-dev@incubator.apache.org Received: (qmail 14689 invoked by uid 99); 30 Sep 2006 07:10:53 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Sep 2006 00:10:53 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [217.69.20.190] ([217.69.20.190:36728] helo=cluster-d.mailcontrol.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 77/35-23383-9781E154 for ; Sat, 30 Sep 2006 00:10:51 -0700 Received: from SGBD012100.wsatkins.com ([193.117.24.24]) by rly35d.srv.mailcontrol.com (MailControl) with SMTP id k8U7Agqv020757 for ; Sat, 30 Sep 2006 08:10:42 +0100 Received: From SGBD012103.wsatkins.com ([10.202.26.17]) by SGBD012100.wsatkins.com (WebShield SMTP v4.5 MR2); id 1159600221622; Sat, 30 Sep 2006 08:10:21 +0100 Received: from SGBEMB2101.wsatkins.com ([10.8.33.30]) by SGBD012103.wsatkins.com with Microsoft SMTPSVC(6.0.3790.1830); Sat, 30 Sep 2006 08:10:21 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: [jira] Created: (CXF-133) Support sending HTTP GET using JAX-WS dispatch Date: Sat, 30 Sep 2006 08:10:18 +0100 Message-ID: <6E76AADE4AD1EC428BEC803AD204C21A03977418@SGBEMB2101.wsatkins.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [jira] Created: (CXF-133) Support sending HTTP GET using JAX-WS dispatch Thread-Index: AcbkQ5Gvq5aD/x98TFa538RX5nhCHAAG7dcQ From: "Shaw, Richard A" To: X-OriginalArrivalTime: 30 Sep 2006 07:10:21.0626 (UTC) FILETIME=[7E28B1A0:01C6E45F] X-Scanned-By: MailControl A-07-04-02 (www.mailcontrol.com) on 10.68.0.145 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Does using JAX-WS to perform a HTTP GET allow handlers to be added to the r= equest ? If so then I see this as a benefit of using it. I have a use case in my architecture for this, we have a generic logging co= mponent which intercepts the logical message in a a handler and writes to a= log database. At the moment we can't use it for HTTP GET interfaces. Richard Shaw =A4=BA=B0`=B0=BA=A4=F8,=B8=B8,=F8=A4=BA=B0`=B0=BA=A4=F8=A4=BA=B0`=B0=BA=A4= =F8,=B8=B8,=F8=A4=BA=B0`=B0=BA=A4=F8=A4=BA=B0`=B0=BA=A4=F8,=B8=B8,=F8=A4 Richard Shaw=20=20 Technical Design Authority - Information Solutions Consultancy=20=20 Intelligent Transport Systems=20 Atkins Highways and Transportation=20 Woodcote Grove, Ashley Road, Epsom, Surrey, KT18 5BW Tel: +44 (0) 1372 756407=20 Fax: +44 (0) 1372 740055 Mob: 07740 817586=20 E-mail: richard.shaw@atkinsglobal.com www.atkinsglobal.com/its -----Original Message----- From: Jervis Liu (JIRA) [mailto:jira@apache.org]=20 Sent: 30 September 2006 04:50 To: cxf-issues@incubator.apache.org Subject: [jira] Created: (CXF-133) Support sending HTTP GET using JAX-WS di= spatch Support sending HTTP GET using JAX-WS dispatch ---------------------------------------------- Key: CXF-133 URL: http://issues.apache.org/jira/browse/CXF-133 Project: CeltiXfire Issue Type: Sub-task Reporter: Jervis Liu Support sending HTTP GET using JAX-WS dispatch: A HTTP GET request can be s= ent by using URL.openStream or by using JAX-WS dispatch. Though I do not se= e much benefit of using the latter, we do need to support it. According to = JAX-WS spec, this can be done by adding extra non-standard properties into = request context. A code snippet may look like below: =20 Service service =3D Service.createService(); service.addPort(portQName, " http://cxf.apache.org/bindings/xformat", endpointAddress); Dispatch d =3D service.createDispatch(portQName, Source.cla= ss, Service.Mode.PAYLOAD); =20 Map requestContext =3D d.getRequestContext();=20=20= =20=20=20=20=20=20 requestContext.put(Message.HTTP_REQUEST_METHOD, new String("GET")); requestContext.put(Message.QUERY_STRING, queryString); requestContext.put(Message.PATH_INFO, path);=20=20=20=20=20=20=20= =20 =20 Source result =3D d.invoke(null); -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= p://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira =20=20=20=20=20=20=20=20 This message has been scanned for viruses by MailControl - (see http://blue= pages.wsatkins.co.uk/?4318150) This email and any attached files are confidential and copyright protected.= If you are not the addressee, any dissemination of this communication is s= trictly prohibited. Unless otherwise expressly agreed in writing, nothing s= tated in this communication shall be legally binding.