Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-5682

Open Data protocol documentation: xml configuration example

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Done
    • 3.0.0-milestone2
    • 3.0
    • Documentation
    • None

    Description

      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

      <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>
      

      Attachments

        Activity

          People

            sergey_beryozkin Sergey Beryozkin
            francisoud Benjamin Francisoud
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: