[ https://issues.apache.org/jira/browse/OLINGO-148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13896220#comment-13896220 ]
Michael Bolz commented on OLINGO-148: ------------------------------------- Hi, currently it is neither supported from OData Version 2 specification nor from the Olingo library to exclude the {{Id}} tag from the response. As suggestion you could use an {{Servlet Filter}} which than modifies the response. But IMHO this is probably no real solution for a productive environment. Perhaps [~chandan.v.a] has another suggestion where you can plug into the {{JPA}} part to modify your response. Kind regards, Michael > How we can remove <Id> tag which contains the URL in response xml > ------------------------------------------------------------------ > > Key: OLINGO-148 > URL: https://issues.apache.org/jira/browse/OLINGO-148 > Project: Olingo > Issue Type: Wish > Components: odata2-jpa > Reporter: Gaurav Garg > > Hi there, > I want to remove the <Id> tag from response xml, because it contains the URL > in which it shows the primary key of the record. but i dont want to show it > to client. Please suggest. -- This message was sent by Atlassian JIRA (v6.1.5#6160)