Benjamin Francisoud created CXF-5682:
----------------------------------------
Summary: Open Data protocol documentation: xml configuration
example
Key: CXF-5682
URL: https://issues.apache.org/jira/browse/CXF-5682
Project: CXF
Issue Type: Improvement
Components: Documentation
Affects Versions: 3.0.0-milestone2
Reporter: Benjamin Francisoud
Priority: Trivial
Fix For: 3.0.0
The current documentation of Open Data Protocol (Apache olingo) lack some
Spring / XML example in chapter:
http://cxf.apache.org/docs/jax-rs-search.html#JAX-RSSearch-OpenDataProtocol
Especially the line:
??...as shown in this test, see the startServers function...??
(Not so obvious) Example for a SearchBean ;)
{code:xml}
<cxf:bus>
<cxf:properties>
<entry key="search.query.parameter.name" value="$filter" />
<entry key="search.parser">
<bean class="org.apache.cxf.jaxrs.ext.search.odata.ODataParser">
<constructor-arg value="#{
T(org.apache.cxf.jaxrs.ext.search.SearchBean) }" />
</bean>
</entry>
</cxf:properties>
</cxf:bus>
{code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)