During my Career in CRM dynamics, I have struggled a lot when it comes to seeing what is going out of CRM so that it can be used to investigate things.
Especially the people who involve in a lot of triaging of issues & developing integration plugins and needs to validate it.
- WSDL of the target service.
- SOAP UI(any version would work)
- Up and running server where you have SOAP UI installed.
Open SOAP UI and create a new project:
Browse to the WSDL and click okay.
now it’s time to generate a mock service:
once you have imported the WSDL it will show all the services it contains.You have to select the one you want a mock service for. and then right click on it and say generate mock service like below:
once you do that it will give you the list of operations and the path of the mock service.
Verify the same and click okay:
here you go your mock service is ready:
Now you might have to modify the response you are getting from mock service to do that double click on the service (e.g here “buy”) than on the response add whataver you need.
close the box. click on the green button to run this service.
now in order for your CRM to reach to this service you have to configure this end point. either in your config file or if you read it from a custom entity in CRM.
now the endpoint would be the combination of your server address for.e.g.
you can get the mock service Path from the custom properties box on the left bottom.side.
once you do that all you have to do is to trigger the action and once you do that you have the request coming in the mock service in the below section:
double click on that than on the option format XML to see the XML you need.
Hope it helps.
Pingback: How to setup a mock service in SOAP UI. See CRM output XML. Integration Plugins Microsoft Dynamics CRM 2016/2015/2013 – Passion Dynamics