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

Open Data protocol documentation: xml configuration example

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Done
    • Affects Version/s: 3.0.0-milestone2
    • Fix Version/s: 3.0
    • Component/s: Documentation
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: