On Tuesday 20 July 2010 7:50:31 am Rice Yeh wrote:
> Hi,
> I write the following code for unit test. This code is so simple, but I
> find it does not work. That is, the server does not start up and No error
> message is shown. Anything I do is wrong?
>
> JAXRSServerFactoryBean sf = new JAXRSServerFactoryBean();
> sf.setServiceBeans(new PassThroughResource());
> sf.setAddress("http://localhost:9500/");
> sf.create();
>
> Regards,
> Rice
Not really sure. Does the project have the cxf-rt-transport-http-jetty module
as a dependency so there is an implementation for the http transport?
--
Daniel Kulp
[email protected]
http://dankulp.com/blog