apache camel - How to write a cxf service that uses plain xml over http -


i have developed rest , soap services using apache cxf,was wondering if develop service takes xml on http , validates using xsd.

developed rest service accepts xml, wanted pure xml based service.

is there example can start ?

thanks.

for plain http service xml validation can combine jetty http component validation component.

for example, simple as:

<route>     <from uri="jetty:http://0.0.0.0/myapp/myservice" />     <to uri="validator:myschema.xsd" />     <!-- other components --> </route> 

and send xml http post body.


Comments