Hi Dan, the XML binding is not documented anywhere yet, but hopefully two samples that use XML binding can at least give you a taste of what XML Binding looks like, see: samples\hello_world_xml_bare and samples\hello_world_xml_wrapped. Lets know if you have any further questions. I will add 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?) > > > > 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 > 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 expose DOM, but I want to > use Service > > style coding rather than Provider style. In my service I > want to be > > able to process client messages using XSLT, not object > code. Or, I > > could use a SaxonInterceptor. Is there a sample of > either of these > > 2 approaches? > > > > > > -- Dan > > > > > > Andrea Smyth wrote: > > > >> 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 > >>> > >>> > >>> > >> > > > > > >