Creation and Deployment of new port on IIS

Microsoft Dynamics AX connector will only consume the services which are created inside Dynamics AX Application and hosted on IIS manager. New Port has to be created using a HTTP adapter.

Create Port over HTTPS service

Steps for port creation:
  1. Open Microsoft Dynamics AX 2012 application, go to System Administration form.
  2. Navigate to Service and Application Integration Framework, click on Inbound port.
  3. Click on New button.
  4. Fill in the below mentioned fields:
    1. Port Name – enter a unique name for the port.
    2. Select Adapter as HTTP.
    3. For the URI
      1. Click on the drop down. A small window Select Web site will pop-up.
      2. Click on the drop down and select the https website.
      3. Click OK.
    4. Click on Configure button (present above the URI drop down).
      1. In case a message pops-up, click Yes.
      2. Click on Bindings under Configuration section.
      3. Click on Create New Binding Configuration link under configuration section. Create a New Binding window appears.
      4. Click on the option basicHttpBinding from the list.
      5. Click on OK.
      6. Select the new binding created.
      7. In the Security tab, set Mode as Transport by choosing the option from Mode’s drop down list.
      8. In the Security section, set Transport Client credential type as Ntlm from the drop down list.
      9. In configuration section, expand the node Services.
      10. Expand the service node in it to get Endpoints node.
      11. Select and right click on the Endpoints node.
      12. Click on New Service Endpoint option.
      13. In the new service endpoint configuration, enter valid name.
      14. Select basicHttpBinding created in step (iv).
      15. For binding, choose the new binding created in step (v).
      16. Expand the node Advanced under Configuration section.
      17. Expand the sub node Service Behaviors.
      18. Expand the sub node routingServiceBehavior.
      19. Select the sub node serviceMetaData.
      20. Change the value for HttpsGetEnabled to true from the default value false.
      21. Close the window. A pop-up would appear for saving the changes. Click Yes.
    5. Under the Service contract customization, click on the Service operations button.
      1. Select the service operations which you want to invoke.
      2. Click on Close.
  5. Click on the Activate button in the main menu, to activate the port.
  6. After port activation note down WSDL URI. For example, https://<hostname>:443/MicrosoftDynamicsAXAif60/FixedAssetTest/xppservice.svc
  7. Add ?wsdl to the URI and check if you can access this URI on local browser.

Create Port over HTTP service

Steps for port creation:
  1. Open Microsoft Dynamics AX 2012 application, go to System Administration form.
  2. Navigate to Service and Application Integration Framework, click on Inbound port.
  3. Click on New button.
  4. Fill in the below mentioned fields:
    1. Port Name – enter a unique name for the port.
    2. Select Adapter as HTTP.
    3. For the URI
      1. Click on the drop down. A small window Select Web site will pop-up.
      2. Click on the drop down and select the http website.
      3. Click OK.
    4. Click on Configure button (present above the URI drop down).
      1. In case a message pops-up, click Yes.
      2. Expand Bindings and select basicHttpBinding.
      3. On the right-hand panel, go to Security tab. Set TransportClientCredentialType as Ntlm.
      4. Close the window. A pop-up would appear for saving the changes. Click Yes.
    5. Under the Service contract customization, click on the Service operations button.
      1. Select the service operations which you want to invoke.
      2. Click on Close.
  5. Click on the Activate button in the main menu, to activate the port.
  6. After port activation note down WSDL URI. For example, http://<hostname>:8085/AXHttpAppPool/AssetConditionService/xppservice.svc
  7. Add ?wsdl to the URI and check if you can access this URI on local browser.

Endpoint Details

Following will be endpoint details, if you consider WSDL URI as http://<XYZ>:8085/AXHttpAppPool/AssetConditionService/xppservice.svc?wsdl
  • Host Name: XYZ
  • Port Number: 8085
  • Application Pool: AXHttpAppPool
  • Port Name: AssetConditionService

Add authentication details.

Add proxy details, if required.

For HTTPs Service, add details in Security Panel.

Click on Download/Update WSDL button. After downloading the WSDL from Endpoint, You can move forward and invoke service.




Feedback | Notices


Timestamp icon Last updated: Wednesday, 15 June 2016


http://pic.dhe.ibm.com/infocenter/wci/v7r0m0/topic/com.ibm.wci.doc/MS_Dyn_AX_creation_and_deployment_of_new.html