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

  • Verified answer
    Community Member Profile Picture
    on at
    RE: Why use web reference over service reference when calling a page web service

    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.

  • Community Member Profile Picture
    on at
    RE: Why use web reference over service reference when calling a page web service

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

  • keoma Profile Picture
    32,727 on at
    RE: Why use web reference over service reference when calling a page web service

    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.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics NAV (Archived)

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans