Stephan Klevenz created OLINGO-156:
--------------------------------------

             Summary: url-pattern doesn't work for ODataServlet
                 Key: OLINGO-156
                 URL: https://issues.apache.org/jira/browse/OLINGO-156
             Project: Olingo
          Issue Type: Sub-task
          Components: odata2-core
    Affects Versions: V2 1.1.0
            Reporter: Stephan Klevenz


The servlet work for only if i use url-pattern to root:

<servlet-mapping>
<servlet-name>ODataServlet</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>

if i change the url-pattern to

<servlet-mapping>
<servlet-name>ODataServlet</servlet-name>
<url-pattern>/odata/*</url-pattern>
</servlet-mapping>

i get the error above:

<error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata";>
<code/>
<message xml:lang="en-US">
Could not find an entity set or function import for 'odata'.
</message>
</error>



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to