I personally don't know the store with java.rmi.Remote, so I asked you for
the release just to make sure that you were working with current. Hopefully,
someone who understands the issues here will respond. If nothing comes by,
I'll see what I can dig up.


On Thu, Sep 10, 2009 at 9:11 AM, <[email protected]> wrote:

> the cxf version is the latest 2.2.3.
>
> thanks
> Raffaele
>
> Quoting Benson Margulies <[email protected]>:
>
>  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
>>>
>>>
>>>
>>
>
>
>

Reply via email to