<tfoot id='7TXDL'></tfoot>
  • <i id='7TXDL'><tr id='7TXDL'><dt id='7TXDL'><q id='7TXDL'><span id='7TXDL'><b id='7TXDL'><form id='7TXDL'><ins id='7TXDL'></ins><ul id='7TXDL'></ul><sub id='7TXDL'></sub></form><legend id='7TXDL'></legend><bdo id='7TXDL'><pre id='7TXDL'><center id='7TXDL'></center></pre></bdo></b><th id='7TXDL'></th></span></q></dt></tr></i><div id='7TXDL'><tfoot id='7TXDL'></tfoot><dl id='7TXDL'><fieldset id='7TXDL'></fieldset></dl></div>
    <legend id='7TXDL'><style id='7TXDL'><dir id='7TXDL'><q id='7TXDL'></q></dir></style></legend>

    <small id='7TXDL'></small><noframes id='7TXDL'>

          <bdo id='7TXDL'></bdo><ul id='7TXDL'></ul>
      1. 从 Visual Studio 2017 使用 OData 服务

        时间:2023-05-22

          <tfoot id='6pY3N'></tfoot>

          <small id='6pY3N'></small><noframes id='6pY3N'>

          • <i id='6pY3N'><tr id='6pY3N'><dt id='6pY3N'><q id='6pY3N'><span id='6pY3N'><b id='6pY3N'><form id='6pY3N'><ins id='6pY3N'></ins><ul id='6pY3N'></ul><sub id='6pY3N'></sub></form><legend id='6pY3N'></legend><bdo id='6pY3N'><pre id='6pY3N'><center id='6pY3N'></center></pre></bdo></b><th id='6pY3N'></th></span></q></dt></tr></i><div id='6pY3N'><tfoot id='6pY3N'></tfoot><dl id='6pY3N'><fieldset id='6pY3N'></fieldset></dl></div>
                <tbody id='6pY3N'></tbody>
              <legend id='6pY3N'><style id='6pY3N'><dir id='6pY3N'><q id='6pY3N'></q></dir></style></legend>
              • <bdo id='6pY3N'></bdo><ul id='6pY3N'></ul>

                  本文介绍了从 Visual Studio 2017 使用 OData 服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  限时送ChatGPT账号..

                  我在使用 Dynamics Nav OData 时遇到问题.我正在使用 Visual Studio Community 2017(版本 15.9.0),并且我已经安装了扩展 OData 连接服务(官方 Microsoft 扩展)

                  这是我的 Odata 结构:

                  <块引用>

                  到目前为止,一切正常.

                  问题是当我去 Visual Studio 并尝试添加新的连接服务时,它会引发下一个错误

                  图片文字:

                  <块引用>

                  连接服务无法访问

                  对我来说效果很好.

                  I've a issue consuming Dynamics Nav OData. I'm using Visual Studio Community 2017 (version 15.9.0), and I've installed the extension OData Connected Service (Official Microsoft Extension)1.

                  This is my Odata structure:

                  http://myWeb:8145/DynamicsNav90_Desa/OData

                  I've verified and the odata is returning 2 values correctly at opera browser.

                  So far, it's working fine.

                  The problem is when I go to the visual studio and I try to add a new connected service, It throws the next error 3:

                  Image text:

                  Connected Services Cannot access http://myWeb:8145/DynamicsNav90_Desa/OData/$metadata

                  I've checked the firewall and the port information and they are totally open to connect.

                  解决方案

                  I had the same issue (I'm also working with Dynamics Nav ;) )

                  The problem is that OData Connected Service doesn't support authorization.

                  You need to save metadata file locally and point it when adding OData Service Reference.

                  1. Open http://myWeb:8145/DynamicsNav90_Desa/OData/$metadata in the browser and save it on disk
                  2. Use path to this file during adding service reference in Visual Studio:

                  For me it works perfectly.

                  这篇关于从 Visual Studio 2017 使用 OData 服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:使用预编译的 Azure 函数库生成错误 下一篇:Nuget Pack 命令,在 Visual Studio 2017 中

                  相关文章

                    1. <small id='GobFR'></small><noframes id='GobFR'>

                      <legend id='GobFR'><style id='GobFR'><dir id='GobFR'><q id='GobFR'></q></dir></style></legend>

                      <tfoot id='GobFR'></tfoot>
                        <bdo id='GobFR'></bdo><ul id='GobFR'></ul>
                    2. <i id='GobFR'><tr id='GobFR'><dt id='GobFR'><q id='GobFR'><span id='GobFR'><b id='GobFR'><form id='GobFR'><ins id='GobFR'></ins><ul id='GobFR'></ul><sub id='GobFR'></sub></form><legend id='GobFR'></legend><bdo id='GobFR'><pre id='GobFR'><center id='GobFR'></center></pre></bdo></b><th id='GobFR'></th></span></q></dt></tr></i><div id='GobFR'><tfoot id='GobFR'></tfoot><dl id='GobFR'><fieldset id='GobFR'></fieldset></dl></div>