web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Why use web reference over service reference when calling a page web service

(0) ShareShare
ReportReport
Posted on by

Is there a reason why to not use a service reference? Web reference is deprecated, still every example I have seen uses it for Navision, even the newest MSDN guide for Nav 2016 linked below.

msdn.microsoft.com/.../dd355316(v=nav.90).aspx

*This post is locked for comments

I have the same question (0)
  • keoma Profile Picture
    32,729 on at

    the service reference is meant for WCF services, not for web services. for web services (SOAP) like the nav web services it's needed to use the "old" web reference. the for wcf services needed additional settings are not supported by nav web services.

  • Community Member Profile Picture
    on at

    We have been using service reference without any problems so far, what is it that is not supported?

  • Verified answer
    Community Member Profile Picture
    on at

    Maybe I should have read more carefully. The article actually brings this up:

    "Visual Studio 2005, Visual Studio 2008, Visual C# 2008 Express Edition, or any version of Visual Studio that supports adding Web references. You can also use service references instead of Web references or the Web service proxy generating tools (svcutil.exe or wsdl.exe) that are supplied in the Microsoft .NET Framework SDK."

    So using a service reference is perfectly fine which makes sense as how you consume a web service should not matter.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans