RE: User Guide: RESTful Services (out of date?)

2007-05-08 Thread Liu, Jervis
this into my to-do-list to have XML binding well documented. Cheers, Jervis > -Original Message- > From: Dan Connelly [mailto:[EMAIL PROTECTED] > Sent: 2007?5?8? 3:37 > To: cxf-user@incubator.apache.org > Subject: Re: User Guide: RESTful Services (out of date?) > > &

Re: User Guide: RESTful Services (out of date?)

2007-05-07 Thread Dan Connelly
Apparently what I am looking for is xformat:binding in the WSDL (xmlns:xformat="http://cxf.apache.org/bindings/xformat";). Where is this documented? Dan Connelly wrote: Thanks Andrea: The code and the sample you suggested did the trick. However, I have another question: Can CXF marsha

Re: User Guide: RESTful Services (out of date?)

2007-05-06 Thread Dan Connelly
Thanks Andrea: The code and the sample you suggested did the trick. However, I have another question: Can CXF marshall/unmarshal to DOM instead of JAXB in Service style coding? Alternatively, how can I intercept the client messages for XML processing. The restful_dispatch sample dpes

Re: User Guide: RESTful Services (out of date?)

2007-05-02 Thread Andrea Smyth
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

User Guide: RESTful Services (out of date?)

2007-05-02 Thread Dan Connelly
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