MS Dynamics AX Web Services
MS Dynamics AX can be accessed in different ways depending on which version you are using. You can use our database level access MS Dynamics AX (with special support for reading and writing data in the correct AX format etc.) MS Dynamics AX or you can use our MS Dynamics AX WebServices which can be used to access Documents/Tables exposed as a WebService.
The following versions of AX are supported for WebServices
- MS Dynamics AX 2009
- MS Dynamics AX 2012 (released soon)
- WebServices - you need access to run the WebServices Server in your license
- You might need additional licenses from Microsoft - please check your license conditions for this.
- In order for RapidiOnline to connect to your local database server, you need to download and install a small service, that we call the
Configuration in MS Dynamic AX
- You need to expose your MS Dynamics AX WebServices with wsHttpBinding using SecurityMode=Transport and ClientCredentialType=Ntlm.
- Expose the WebServices from within MS Dynamics AX - use names like "Customer" and "SalesOrder".
- In AX2009, open the Microsoft Dynamics AX client, select the DAT company and go to the Basic area,
Under Setup, expand the Application Integration Framework, select Services
Find for example the CustCustomerService and set it to Enabled (check the box).
To set bindings and securitymode, select Configure and a new windows will open (Microsoft Service Configuration Editor)
under Bindings select the wsHttpBinding - select the Security tab and set Mode=Transport, TransportClientCredential=Ntlm
- To use Transport Security (SSL) you will need to install a server certificate on the AX AIF server. This can easely be done using a self-signed certificate. In WindowsServer 2008 for example:
1) Open “Internet Information Services (IIS) Manager
2) click the “computer name”
3) select “Server certificates”
4) on right side, click “create self-signed certificate”
5) give it a name
- You also need to add SSL Bindings to the site:
1) select the WebSite (e.g. Default Web Site)
2) on right side under “Edit side”, choose “Bindings...”
3) click “Add...” and add HTTPS, 443, *, and select your certificate
4) you can test using Browse (you might need to anable directory browsing)
- After this you can go ahead and Read Design and start creating Transfers.
Configuration in RapidiOnline
- Logon to RapidiOnline. Select the Configure Tab and then go to the AX WS Connector Tab
- The fields of the MS Dynamics AX WebService DataSource Card are as follows:
- Description: Enter a text describing this Data Source. Example: "Production AX database, cee company".
- Authentication Type: Select the Authentication method to be used with AX WebServices. Only NTLM is supported for now.
- Server Name: Specify the name of the server hosting the AX WebServices. Please use the full path to the WebServices on the server - like https://win-jq88p6ld5ie.corp.rapidi.com/MicrosoftDynamicsAXAif50/customerservice.svc
- Company: Enter the name of the AX company here. Example: cee or 100
- User ID: Enter the UserID to access the AX WebService server here.
- Password: If you enter a UserID the corresponding Password is applied here.
- Domain: Here you enter the windows Domain name that is used by the WebService Server.
- Service List: Enter a list of the services that you have exposed and want to Read Design for (separated with #). Example: Customer#SalesOrder
Test and Read Design
- You can Test that the access to a DataSource works using the Test button on the DataSource.
- Logon to RapidiOnline. Select the
- Read Design is the way to read the layout - the information about tables and fields - from a DataSource. Reading the design is