One more thing; when I run, JAXB complains that my API contains interfaces (input and output parameters)...says it can't handle interfaces. I changed them and it was okay but is there a way to allow interfaces?
-Dave -----Original Message----- From: Ian Roberts [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 19, 2008 5:31 AM To: users@cxf.apache.org Subject: Re: CXF newbie questions David Hoffer wrote: > You can run a single service using an embedded Jetty server using the > JAX-WS standard Endpoint.publish() mechanism. > > [dh] Yes this is what I want to do (if using JAX_WS) is there a newbie > tutorial? http://cwiki.apache.org/CXF20DOC/a-simple-jax-ws-service.html Once you've got the right annotations on your classes it really is as simple as: public static void main(String[] argv) { MyServiceImpl impl = new MyServiceImpl(); Endpoint.publish("http://localhost:9000/MyService", impl); } Ian -- Ian Roberts | Department of Computer Science [EMAIL PROTECTED] | University of Sheffield, UK