Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Microsoft Dynamics NAV 7 Programming Cookbook

You're reading from   Microsoft Dynamics NAV 7 Programming Cookbook Learn to customize, integrate and administer NAV 7 using practical, hands-on recipes

Arrow left icon
Product type Paperback
Published in Sep 2013
Publisher Packt
ISBN-13 9781849689106
Length 312 pages
Edition 2nd Edition
Languages
Arrow right icon
Toc

Table of Contents (20) Chapters Close

Microsoft Dynamics NAV 7 Programming Cookbook
Credits
About the Author
About the Reviewers
Acknowledgements
www.PacktPub.com
Preface
1. String, Dates, and Other Data Types FREE CHAPTER 2. General Development 3. Working with Tables, Records, and Queries 4. Designing Pages 5. Report Design 6. Diagnosing Code Problems 7. Roles and Security 8. Leveraging Microsoft Office 9. OS Interaction 10. Integration 11. Working with the SQL Server 12. NAV Server Administration Index

Creating web services


The web services allow sharing of an application's functionalities to an external system and its users. It also takes proper authorization before sharing any information. In Microsoft Dynamics NAV, creating a web service is an easy task; we can expose pages, codeunits, and queries as web services.

How to do it...

  1. Start Microsoft Dynamics NAV RoleTailored client and follow the steps.

  2. Either search for Web Service in NAV's search, or from the Department menu, visit the following path:

  3. CRONUS International Ltd. | Departments | Administration | IT Administration | General | Web Services.

  4. Create a new web service using the following record:

    Object Type

    Object ID

    Service Name

    Published

    Page

    22

    Customer List

    Yes

  5. Close the page.

How it works...

We can publish two types of web services, SOAP and OData. The SOAP web service provides flexibility for building an operation-centric service. We can publish a page or a codeunit as SOAP services. The OData web service is designed for...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime