Return-Path: Delivered-To: apmail-incubator-cxf-dev-archive@locus.apache.org Received: (qmail 65958 invoked from network); 6 Dec 2006 14:42:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Dec 2006 14:42:33 -0000 Received: (qmail 57632 invoked by uid 500); 6 Dec 2006 14:42:33 -0000 Delivered-To: apmail-incubator-cxf-dev-archive@incubator.apache.org Received: (qmail 57271 invoked by uid 500); 6 Dec 2006 14:42:32 -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 57253 invoked by uid 99); 6 Dec 2006 14:42:32 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Dec 2006 06:42:32 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of Eric.Johnson@iona.com designates 65.223.216.181 as permitted sender) Received: from [65.223.216.181] (HELO amereast-smg1.iona.com) (65.223.216.181) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Dec 2006 06:42:21 -0800 Received: from amer-ems1.IONAGLOBAL.COM ([10.65.6.25]) by amereast-smg1.iona.com (Switch-3.1.7/Switch-3.1.7) with ESMTP id kB6EfZ4p005267 for ; Wed, 6 Dec 2006 09:41:36 -0500 (EST) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Java first question Date: Wed, 6 Dec 2006 09:41:52 -0500 Message-ID: <8DA58330BA060E41AB52B73294034EA625859C@amer-ems1.IONAGLOBAL.COM> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Java first question Thread-Index: AccY33mqUjcn3nfeTa6CHVg1nK5kBQAZLXMg From: "Johnson, Eric" To: X-Virus-Checked: Checked by ClamAV on apache.org So if I have a class that I want to expose using JAX-WS and want to use a default SOAP/HTTP binding then I need to do the following: 1. create an interface for the class. 2. modify the class to implement that interface. 3. Add @WebService() to the interface. 4. write a main() that creates an Endpoint for the implementation and publishes it. Is that it? Then how do I write a consumer to use this service? =20 > -----Original Message----- > From: Jim Ma [mailto:jim.ma@iona.com]=20 > Sent: Tuesday, December 05, 2006 9:35 PM > To: cxf-dev@incubator.apache.org > Subject: RE: Java first question >=20 > If use RPC_Lit and Doc_Bare , we need add two annotaions to=20 > an interface: > @WebService > @SOAPBinding >=20 > If use Doc_Wrapped, we only need to add @WebService=20 > annotation . Doc_Wrapped is the default style . >=20 > Regards >=20 > Jim >=20 > > -----Original Message----- > > From: Johnson, Eric [mailto:Eric.Johnson@iona.com] > > Sent: Wednesday, December 06, 2006 6:57 AM > > To: cxf-dev@incubator.apache.org > > Subject: Java first question > > > > > > What is the minimum amount of annotation I need to add to=20 > an interface=20 > > to Web service enable it? > > > > >=20 >=20