Using a Dynamics AX web service in an InfoPath form
InfoPath allows you to quickly create data entry forms that can be saved locally, to SharePoint, and also update data in databases. Additionally, it is able to connect to web services and send and receive data through that channel as well. So once we have a web service wrapper built that links to Dynamics AX, we can create a form that will send information to it in order to add and update data.
In this recipe, we will show how you can create an InfoPath form that uses a Dynamics AX web service wrapper to publish information.
Getting ready
For this recipe, you need to make sure that you have InfoPath installed, since it is usually part of Office Professional Plus or Office 365. Just check that it shows up within the Microsoft Office program group.
How to do it...
To use a web service within an InfoPath form, follow these steps:
Within the InfoPath designer, create a new form and select the Web Service template.
This will automatically open up the...