Hi,

I just playing a little bit with cxf and get the following error message:

hello.Greeting is an interface, and JAXB can't handle interfaces.

I understand the meaning of this message but is there a possible workaround to 
define a webservice and objects as interfaces like this:

package hello;

public interface Greeting {

        public abstract void setMessage(String msg);

        public abstract String getMessage();

}

package hello;

import java.util.List;

import javax.jws.WebMethod;
import javax.jws.WebService;

@WebService
public interface HelloWorldService {
        
        @WebMethod
        public List<Greeting> getGreeting(String name);
        
}

Thanks,
Marc
-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser

Reply via email to