locked
Problem with Odata Client RRS feed

Answers

  • User1644755831 posted

    Hello Sreeja1234,

    I tried to reproduce your issue and you probably need to create a ProductClient.odata.config file on in the productapp project and make changes as suggested then run the custome tool again. it should look like this

    <?xml version="1.0" encoding="utf-8" ?>
    <Parameters>
      <Parameter Name="MetadataDocumentUri"
                 Value="http://localhost/2047469/odata"></Parameter>
      <Parameter Name="UseDataServiceCollection"
                 Value="true"></Parameter>
      <Parameter Name="NameSpacePrefix"
                 Value="ProductsApp"></Parameter>
      <Parameter Name="TargetLanguage"
                 Value="CSharp"></Parameter>
    </Parameters>

    after changing this and running custom tool again your code should be generated.

    Hope this helps.

    With Regards,

    Krunal Parekh

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, April 27, 2015 3:23 AM