Assignment Help, Cloud Based ERP System, Microsoft NAV Certification
WELCOME !!

Please Register, ask for assignment solutions & post the solutions if you know any.

LETS START POSTING YOUR IDEAS AND THOUGHTS AND BUILD THE COMMUNITY OF EXPERTS.

Assignment Help, Cloud Based ERP System, Microsoft NAV Certification

Stock Market, Online Tutoring, Cloud Based ERP System, Microsoft Dynamics Reporting, Microsoft Nav Certification


You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1 Introducing Navision Web Services Part 3 on 12th October 2013, 5:09 pm

Formatted

avatar
Administrator

Installing and Enabling WS on Microsoft Dynamics NAV Installation
We do not need additional steps to have WS up and running on our environment out from following the installation of Microsoft Dynamics NAV 2013.
WS are thought to be working Out of the box and therefore they are part of the Server installation.
We do have the option of choosing which port will be enabled for both SOAP and OData WS on the installation process just in case we want to change by default (7047, 7048) ones:
Those who have worked with Microsoft Dynamics NAV WS before know that delegation setup and Service Principle Names creation was a key part on WS setup for environments lying on 3 different machines (One for Clients, another one for Microsoft Dynamics NAV Service (Microsoft Dynamics NAV Service Tier) and the last one for SQL Server)
Remember the walkthrough on how to enable WS for Microsoft Dynamics NAV 2009 on 3 tier environments:
 
However, in Microsoft Dynamics NAV 2013 this setup is much simpler thanks to the changes introduced on which account is connecting to SQL Server.
There is a nice bunch of information about the new setup for delegation on the next document where this is fully covered.
Once The Microsoft Dynamics NAV Service has been installed we will get the next events (Among many orher messages for other Microsoft Dynamics NAV features) on our Event Viewer that confirms us that everything is running as expected:
·         SOAP:
·         OData:
If we visit the URL’s published there we could see the list of Objects published as WS for both protocols (Remember we haven’t published anyone yet)
·         SOAP:
·         OData:
 
Download Videos for more information :


_________________
REGISTER AND LOG-IN TO PARTICIPATE
START POSTING YOUR IDEAS AND THOUGHTS AND BUILD THE COMMUNITY OF EXPERTS.
View user profile http://kantipur.friendhood.net

2 WS Management on 12th October 2013, 5:11 pm

Formatted

avatar
Administrator

One of the key differences Microsoft Dynamics NAV 2013 incorporates is the fact that just one service is created (Remember we used to have two different services for Microsoft Dynamics NAV 2009: One for Dynamics Microsoft Dynamics NAV and another specific one for Web Services) to manage all the Microsoft Dynamics NAV services.
 
And the new unique Microsoft Dynamics NAV 2013 Service:
 
This unique service controls all Microsoft Dynamics NAV features and WS are included on those that depend on this service.
Another major change is the new Dynamics Microsoft Dynamics NAV Management Console (Based on Microsoft Management Console tool) that allows us to see which configuration options we can enable or disable instead of using the old CustomSettings.Config file:

These are the things we can enable from the Management Console:
·         SOAP
o   Enable SOAP Services-> Allows to enable or disable the Service
o   Max Message Size-> Maximum permitted size of a Web Service request, in kilobytes.
o   Port-> Port SOAP WS are listening to
o   Enable SSL-> Turns on or off https for SOAP Web Services
o   Use NTLM Authentication-> Turns on or off NTLM authentication protocol for Web Services:
      Unchecked: Use SPNEGO (recommended)
      Checked: Use NTLM only
·         OData
o   Default Company-> Allows to choose a Default Company for OData WS
o   Enable OData Services-> Allows to enable or disable the Service
o   Max Page Size-> Maximum permitted size of a Web Service request, in kilobytes.
o   Port-> Port OData WS are listening to
o   Enable SSL-> Turns on or off https for OData Web Services
 
Download how to enable SSL (https) for both SOAP and OData WS:


_________________
REGISTER AND LOG-IN TO PARTICIPATE
START POSTING YOUR IDEAS AND THOUGHTS AND BUILD THE COMMUNITY OF EXPERTS.
View user profile http://kantipur.friendhood.net

3 Enabling and Publishing WS on 12th October 2013, 5:16 pm

Formatted

avatar
Administrator

Once we have installed and setup WS the way we want we can start consuming Web Services.
First step we have to take is to choose these Objects we want to publish as Web Services so they are available for consume.
We do this by means of using the Web Service Page (Adminsitration / IT Administration / General) on the Role Tailored Client :
 
If we edit this Page we will be able to choose these objects (Pages or Codeunits for SOAP and Query for OData) that we want to publish, let’s choose one of each to check that everything is working as expected:
 
It’s important not to forget that we can assign the name we prefer to the Service and that we need to check the Published checkmark if we want to have this service available for consuming.
If we now check URL’s again we’ll be able to see these objects published and ready to consume from whatever way we choose:

Browsing to each Object URL will show use the WSDL for this WS for SOAP WS:


Once all these steps have been taken WS are published and ready to be consumed.

Here you can find a nice walkthrough on how to publish WS:
How to: Publish a Web Service


_________________
REGISTER AND LOG-IN TO PARTICIPATE
START POSTING YOUR IDEAS AND THOUGHTS AND BUILD THE COMMUNITY OF EXPERTS.
View user profile http://kantipur.friendhood.net

4 Re: Introducing Navision Web Services Part 3 on 12th October 2013, 5:17 pm

Formatted

avatar
Administrator


_________________
REGISTER AND LOG-IN TO PARTICIPATE
START POSTING YOUR IDEAS AND THOUGHTS AND BUILD THE COMMUNITY OF EXPERTS.
View user profile http://kantipur.friendhood.net

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum