What version of CXF? On Thu, Sep 10, 2009 at 5:24 AM, <[email protected]> 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 > >
