[ 
https://issues.apache.org/jira/browse/OLINGO-464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14179791#comment-14179791
 ] 

Christian Amend commented on OLINGO-464:
----------------------------------------

Hi Eugenio,

we did not change any implementation for the servlet between 1.0.0 and 2.0.0 
Which version were you using when it worked?

Could you please try to use a context e.g. 
localhost:8080/Servlet/CarsService.svc and see if the issue still persist?

Best Regards,
Christian

> Wrong entity container name
> ---------------------------
>
>                 Key: OLINGO-464
>                 URL: https://issues.apache.org/jira/browse/OLINGO-464
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata2-core
>    Affects Versions: V2 1.2.0, V2 2.0.0
>            Reporter: Eugenio Lentini
>            Assignee: Christian Amend
>            Priority: Critical
>
> Hi,
> I have the OData service available on http://127.0.0.1:8081/res.svc/ when I 
> invoke the service I get an issue with the name of the entity container.
> The issue comes from UriParserImpl.java line 169
> final String entityContainerName = percentDecode(matcher.group(1));
> and as entity container name I get "res" and segment name "svc".
> Then in my EdmProvider implementation the method getEntityContainerInfo check 
> if the name passed is equal to "ODataResEntityContainer" and it fails. This 
> is the same behavior I have found in the doc 
> http://olingo.apache.org/doc/odata2/tutorials/basicread.html
> I use the ODataServlet in my configuration.
> I have not changed the code since 2nd of July, before was perfectly working, 
> now something has changed I guess. Do you know what has happened?
> Thanks a lot for your attention.
> Eugenio



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to