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)

System requirements

  • 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.

Additional Installation

  • 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

  1. You need to expose your MS Dynamics AX WebServices with wsHttpBinding using SecurityMode=Transport and ClientCredentialType=Ntlm.
  2. 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
    under Services, expand each Service and its Endpoints, select the (Empty Name) and ensure that Binding and BindingConfiguration is set to wsHttpBinding (and NOT to basicHttpBinding !).
  • 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.

 

Troubleshooting: Lots of things can go wrong in this setup, so please follow the above instructions carefully.
An error like "This is not a SOAP message" can mean a lot of things - usually something is not setup correctly in IIS - it could be that the services are not using the wsHttpBindings (but rather the default basicHttpBinding).

 

When IIS and the WebServices are setup correctly, then you can see long error messages and you can find more details in AX: Open the Microsoft Dynamics AX client, select the DAT company and go to the Periodic area, expand the Application Integration Framework, select Exceptions

 

Configuration in RapidiOnline

  1. Logon to RapidiOnline. Select the Configure Tab and then go to the AX WS Connector Tab
  2. 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
...

 

  1. Getting Started
  2. Documentation
  3. HowTo
  4. Standard Integrations

 

  1. Support for MS Dynamics NAV2013 Web Services
  2. Support for MS Dynamics AX2009 Web Services
  3. Changes to the Scheduler process
  4. Backup and restore of configuration database
  5. New Features and Changes

 

 

Wheeled by Wagn v. 1.9.1