Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Building ERP Solutions with Microsoft Dynamics NAV
Building ERP Solutions with Microsoft Dynamics NAV

Building ERP Solutions with Microsoft Dynamics NAV: Solve business scenarios using NAV

Arrow left icon
Profile Icon Stefano Demiliani
Arrow right icon
$32.99 $47.99
eBook Mar 2017 392 pages 1st Edition
eBook
$32.99 $47.99
Paperback
$60.99
Subscription
Free Trial
Renews at $19.99p/m
Arrow left icon
Profile Icon Stefano Demiliani
Arrow right icon
$32.99 $47.99
eBook Mar 2017 392 pages 1st Edition
eBook
$32.99 $47.99
Paperback
$60.99
Subscription
Free Trial
Renews at $19.99p/m
eBook
$32.99 $47.99
Paperback
$60.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

Building ERP Solutions with Microsoft Dynamics NAV

Chapter 2. Configuring Microsoft Dynamics NAV Web Services

Starting from version 2009, Microsoft Dynamics NAV supports the creating and publishing Microsoft Dynamics NAV objects and functionalities as web services.

Web services permit an easy, open, and flexible way to integrate NAV with the external systems and applications.

In this chapter, we'll learn about the following topics:

  • Types of web service you can have in NAV
  • Activating NAV web services
  • Publishing NAV objects as web services

Microsoft Dynamics NAV web service protocols

From NAV objects, you can publish two types of web service:

  • SOAP web services
  • OData web services

Simple Object Access Protocol (SOAP) is an XML-based, platform-independent, and language-independent messaging protocol for exchanging information via the Internet. SOAP enables client applications to easily connect to remote services and invoke remote methods.

The most common type of messaging pattern in SOAP is the Remote Procedure Call (RPC), where one network node (the client) sends a request message to another node (the server), and the server sends a response message back to the client.

Open Data Protocol (OData) is a web protocol that is designed for querying tabular data. The protocol enables the creation and consumption of Representational State Transfer (REST) APIs using normal HTTP messages.

The OData standard is good for web service applications that require a uniform, flexible, general purpose interface for exposing Create,...

Microsoft Dynamics NAV web service types

The NAV objects that can be exposed as web services are:

  • Page web services
  • Codeunit web services
  • Query web services

To use NAV web services, a client must be properly authenticated on NAV. After a successful authentication, it can read and write data using SOAP over the HTTP protocol.

Page web services

A NAV page published as a web service permits you to have CRUD operations (Create, Read, Update, Delete) on the entity linked to the Page object.

When you expose a page as an OData web service, you can query that data to return a service metadata Entity Data Model Extension (EDMX) document, an AtomPub document, or a JavaScript Object Notation (JSON) document. If the exposed page has write permissions, you can also insert data on NAV.

In a page web service, each operation is executed on a single transaction with optimistic concurrency. These are the functions exposed on a page web service by default:

Operation

Description and signature

Create

Creates...

Publishing NAV web services

Web services can be set up in the Microsoft Dynamics NAV Windows client (RoleTailored Client) or in the Microsoft Dynamics NAV Web client. You must then publish the web service in order to have it available to the client applications.

Users can discover web services by pointing a browser at the computer that is running the Microsoft Dynamics NAV Server and requesting a list of available services.

When you publish a web service, it is immediately available over the network for authenticated users (only users with the correct NAV permissions can access and use published web services).

Creating and publishing NAV web services

To create and then publish a NAV object as a web service, follow these steps:

  1. Open the Microsoft Dynamics NAV Windows client or the Microsoft Dynamics NAV Web client and, in the Search box, enter web services as the keyword and choose the related link:

    Creating and publishing NAV web services

  2. In the Web Services page, click on New:

    Creating and publishing NAV web services

  3. Insert a new record in the table:
    • Object Type: Choose...

Summary

In this chapter, we have seen what types of web services you have with Microsoft Dynamics NAV, and what types of protocols they use and we analyzed the differences between them. We have seen how to set up and activate web services in NAV by configuring the service tier and by publishing them from the Windows client, and then how to test whether all is working by using the browser.

After this chapter, you should have a complete knowledge of how to publish NAV business logic to the external applications.

In the next chapter, we'll see how to create an application that will use published NAV web services.

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Integrate NAV with various offerings of the Microsoft stack to create enterprise-ready and service-oriented solutions
  • Use Power BI and Universal Windows Platform for effective data analysis and real-time tracking with NAV
  • Discover the services offered by Microsoft Azure and implement them in different industries using real-world case scenarios

Description

Implementing Microsoft Dynamics NAV in the real world often requires you to integrate the ERP with external applications or solve complex architectural tasks in order to have a final successful project. This book will show you how to extend a Microsoft Dynamics NAV installation to the enterprise world in a practical way. The book starts with an introduction to Microsoft Dynamics NAV architecture and then moves on to advanced topics related to implementing real-world solutions based on NAV and external applications. You will learn how an enterprise distributed architecture with NAV at the core can be implemented. Through a series of real-world cases on every topic and every industry (sales, retail, manufacturing, distribution, healthcare, and so on), you’ll see step by step how to efficiently solve a technical problem. These common problems encountered in a NAV implementation will be solved using the entire technology stack that Microsoft offers. By the end of the book, you will have the knowledge to efficiently solve certain scenarios, you will know which is the best solution architecture to propose to a customer and how to implement it.

Who is this book for?

This book is for NAV developers and solution architects who need to implement real-world enterprise solutions based on Microsoft Dynamics NAV. Knowledge of the NAV programming language (C/AL) and C# language is recommended. Knowledge of ASP.NET and Visual Studio development would help, but is not necessary.

What you will learn

  • Configure NAV Web Services and create external applications with Visual Studio, .NET, and .NET Core
  • Solve technical architectural problems by implementing enterprise solutions with NAV
  • Develop applications and solutions with Microsoft Dynamics NAV and the Microsoft technology stack
  • Create a Power BI dashboard for rich reporting and NAV data analysis
  • Find out how to transmit your device location from a UWP application to NAV in order to implement a distributed solution for managing couriers in a sales company
  • Make the most of Microsoft Azure and its services
  • Create enterprise solutions with NAV by using Azure App Service
  • Use Azure Service Bus for managing distributed NAV applications

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Mar 22, 2017
Length: 392 pages
Edition : 1st
Language : English
ISBN-13 : 9781787129641
Vendor :
Microsoft

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Mar 22, 2017
Length: 392 pages
Edition : 1st
Language : English
ISBN-13 : 9781787129641
Vendor :
Microsoft

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 182.97
Programming Microsoft Dynamics NAV
$60.99
Mastering Microsoft Dynamics NAV 2016
$60.99
Building ERP Solutions with Microsoft Dynamics NAV
$60.99
Total $ 182.97 Stars icon
Banner background image

Table of Contents

10 Chapters
1. Introduction to Microsoft Dynamics NAV Architectures Chevron down icon Chevron up icon
2. Configuring Microsoft Dynamics NAV Web Services Chevron down icon Chevron up icon
3. Creating an Application Using NAV Web Services Chevron down icon Chevron up icon
4. Using NAV Web Services with Microsoft Power BI Chevron down icon Chevron up icon
5. Integrating NAV Web Services and External Applications Chevron down icon Chevron up icon
6. Extending NAV Pages with Control Add-ins Chevron down icon Chevron up icon
7. Programming Universal Windows Apps with NAV and Devices Chevron down icon Chevron up icon
8. Exploring Microsoft Azure and its Services Chevron down icon Chevron up icon
9. Working with NAV and Azure App Service Chevron down icon Chevron up icon
10. Implementing a Message-Based Architecture with Azure Service Bus and NAV Chevron down icon Chevron up icon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.