Hi,

in Xfire it is possible to define a complex result object from a web service as 
an interface like this:

public interface Greeting {

        public abstract void setMessage(String msg);

        public abstract String getMessage();

}

@WebService
public interface HelloWorldService {
        
        @WebMethod
        @WebResult(name="Greeting")
        public List<hello.impl.GreetingImpl> getGreeting(String name);
        
        @WebMethod
        public String sayHello(String name);
}

With CXF a signature like this causes an error. It seems that JAXB can not 
handle the result interfaces. Is it possible to "tell" JAXB to accept the 
interfaces? Can I use another bindung lib? How do i configure it?

Regards,
Marc


-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kanns mit allen: http://www.gmx.net/de/go/multimessenger
  • [no subject] Marc Baumgartner

Reply via email to