Return-Path: Delivered-To: apmail-cxf-users-archive@www.apache.org Received: (qmail 11831 invoked from network); 10 Sep 2009 19:22:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Sep 2009 19:22:01 -0000 Received: (qmail 18576 invoked by uid 500); 10 Sep 2009 19:22:00 -0000 Delivered-To: apmail-cxf-users-archive@cxf.apache.org Received: (qmail 18507 invoked by uid 500); 10 Sep 2009 19:22:00 -0000 Mailing-List: contact users-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cxf.apache.org Delivered-To: mailing list users@cxf.apache.org Received: (qmail 18497 invoked by uid 99); 10 Sep 2009 19:22:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Sep 2009 19:22:00 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [216.40.44.35] (HELO smtprelay.hostedemail.com) (216.40.44.35) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Sep 2009 19:21:48 +0000 Received: from filter.hostedemail.com (ff-bigip1 [10.5.19.254]) by smtprelay01.hostedemail.com (Postfix) with SMTP id 6661613CE576 for ; Thu, 10 Sep 2009 19:21:27 +0000 (UTC) X-Spam-Summary: 50,0,0,da76a785416ad786,907452bc8cfe1759,dkulp@apache.org,users@cxf.apache.org:rspazzoli@imolinfo.it,RULES_HIT:355:379:599:601:945:966:967:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1766:1792:2196:2199:2379:2393:2525:2553:2560:2563:2682:2685:2828:2857:2859:2900:2909:2933:2937:2939:2942:2945:2947:2951:2954:3022:3027:3353:3865:3866:3867:3868:3869:3870:3871:3872:3873:3874:3876:3877:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4184:4250:4321:4385:5007:6114:6117:6119:6261:7679:7903:8501:8957:8985:9025:9388,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fu,MSBL:none,DNSBL:none X-Session-Marker: 64616E406B756C702E636F6D X-Filterd-Recvd-Size: 2945 Received: from server.dankulp.com (server1.dankulp.com [66.207.172.168]) (Authenticated sender: dan@kulp.com) by omf07.hostedemail.com (Postfix) with ESMTP for ; Thu, 10 Sep 2009 19:21:27 +0000 (UTC) Received: by server.dankulp.com (Postfix, from userid 5000) id A109650707C5; Thu, 10 Sep 2009 15:21:26 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on server.dankulp.com X-Spam-Level: X-Msg-File: /tmp/mailfilter.MiblWzNfCf Received: from dilbert.localnet (c-24-91-141-225.hsd1.ma.comcast.net [24.91.141.225]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by server.dankulp.com (Postfix) with ESMTPSA id 305BD50707C2; Thu, 10 Sep 2009 15:21:24 -0400 (EDT) From: Daniel Kulp To: users@cxf.apache.org Subject: Re: SEI implementing java.rmi.Remote with jaxws Date: Thu, 10 Sep 2009 15:21:19 -0400 User-Agent: KMail/1.12.1 (Linux/2.6.30-gentoo-r6; KDE/4.3.1; x86_64; ; ) Cc: rspazzoli@imolinfo.it References: <20090910112443.gkwv3xyrk0csosk0@webmail.e-mind.com> In-Reply-To: <20090910112443.gkwv3xyrk0csosk0@webmail.e-mind.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <200909101521.20678.dkulp@apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-3.3 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=unavailable version=3.2.1-gr1 I just checked the JAXWS spec and I don't see any mention of the Remote stuff other than subclasses of RemoteException shouldn't be mapped. Thus, I'd have no problem removing this restriction. Feel free to log a JIRA and (preferrably) attach a patch. Dan On Thu September 10 2009 5:24:43 am rspazzoli@imolinfo.it wrote: > Hi, > I have a service implementation class that implements java.rmi.Remote. > I have annotated this class with the @WebService annotation and I'm > trying to use it as a web service with cxf. > During the wsdl generation called with the java2wsdl ant task I > receive the following error: "JAXWS SEI can not implement > java.rmi.Remote interface." And the generation stops. > If I simply deploy the webservice it seem to work nicely. The > exception is raised by the JaxwsServiceBuilder class that seems to be > invoked only during the WSDL creation and not at runtime. > I did some research in the jsr181 latest maintenance release and I > find this for the @WebService annotation: > "The service endpoint interface MAY extend java.rmi.Remote either directly > or indirectly, but is not REQUIRED to do so." > > So in my opinion cxf should let SEI implement the java.rmi.Remote > interface. Can you confirm my hypothesis, if yes what is the fastest way > to > workaround the problem when generating the WSDL while waiting for a fix? > > thanks > Raffaele > -- Daniel Kulp dkulp@apache.org http://www.dankulp.com/blog