Hi Dan,
You should use
sf.setBindingId(HttpBindingFactory.HTTP_BINDING_ID);
instead.
See also the restful_http_binding sample - I just checked it runs fine.
I have updated the user guide accordingly.
Andrea.
Dan Connelly wrote:
The code example for RESTfulness seems to be out of date at this line:
sf.setBindingFactory(new HttpBindingInfoFactoryBean());
It would appear that neither the FactoryBean nor the setBindingFactory
method exist in CXF 2.0.
Since I cannot find a Javadoc for the runtime classes, someone needs
to help me with this.
Much appreciated,
--- Dan Connelly