The outbound web service process is used to request data from an external application and to process the response in D365 FO, via an external web service.
Name | Responsible | Description |
---|---|---|
Web service request message is run |
D365 FO (Handler class) |
When triggered, the outbound web service action first runs the request message, if defined. This is managed by the handler class as defined for the web service action. The goal of the request message depends on the HTTP action of the web service action. In general, the request message provides the web service with data from D365 FO.
If the HTTP action is:
For a request message the:
|
Web service response message is run |
D365 FO (Handler class) |
When in an outbound web service process, the requested data is received from the web service, the outbound web service action runs the response message, if defined. This is managed by the handler class as defined for the web service action. If the HTTP action is:
|
Web service error message is run |
D365 FO (Handler class) |
When in an outbound web service process, an error is received from the web service, the outbound web service action runs the error message, if defined. This is managed by the handler class as defined for the web service action.
The error message processes the error from the web service in D365 FO. For example, you can use an error message to change the status of a record in D365 FO.
For an error message the:
|
External web service receives request and responds to it |
Web service (Client HTTP class) |
The external web service receives the request and responds to it. |