SOAP AND REST IN D365 EXPLANATION WEB SERVICES
A Web service, is a method of communication between two applications or electronic devices over the World Wide Web (WWW). Web services are of two kinds: Simple Object Access Protocol (SOAP) and Representational State Transfer (REST).
SOAP defines a standard communication protocol (set of rules) specification for XML-based message exchange. SOAP uses different transport protocols, such as HTTP and SMTP.
REST describes a set of architectural principles by which data can be transmitted over a standardized interface (such as HTTP). REST does not contain an additional messaging layer and focuses on design rules for creating stateless services. While accessing RESTful resources with HTTP protocol, the URL of the resource serves as the resource identifier and GET, PUT, DELETE, POST are the standard HTTP operations to be performed on that resource.
SOAP is a protocol and REST is an architectural style
SOAP defines standards to be strictly followed, REST does not define too many standards like SOAP
SOAP permits the XML data format only; REST permits different data formats, such as plain text, HTML, XML, and JSON
In D365FnO Integration can be performed via the custom web services (Services node in AOT) or Data Entities using the Odata protocol. Whenever a custom service or a Data Entity is deployed it creates two service endpoints one for SOAP and other REST.
In dynamics AX2012 only SOAP web services were supported for CRUD operations.
I think SOAP API and REST API are amongst the best tools to provide solutions to complex IT problems.
ReplyDeletePowerbi Read Soap