Can you please explain your use case a little bit more in detail? If you want to implement a ODataSingleProcessor then all detailed uri information is already available:
a) Service root -> via ODataContext which is available in processor instance b) OData uri -> via the UriInfo object that is given to each processor method Is this what you want? -- Stephan On 14.03.14 11:44, "Khare, Aparna" <aparna.kh...@sap.com> wrote: >Hello Team, > > Please can you help us with the issue we are facing :- > >I have a edm file and I'm able to create an EDMprovider from that. > >The edmx will have a URL which is a string field . > >In my application I would want to get the service root from the string url > >Eq:- >http://services.odata.org/OData/OData.svc/Category(1)/Products?$top=2&$ord >erby=name >_______________________________________/ __________________/ >_________________/ > | | | > service root URI resource path query >options > >Can you please help us with this. > >I would have to read the service root ,resource path and key property in >case of a PUT >(http://services.odata.org/V3/Northwind/Northwind.svc/Categories(1)) > > >Thanks and Regards, >Aparna