● Là language-agnostic được cung cấp từ xa (hay còn gọi là API)
● Cho phép tích hợp giữa các hệ thống không đồng nhất
OutSystems đã đơn giản hóa consuming and exposing bằng 2 tiêu chuẩn:
Contract chính thức hóa trong một tập tin Web Services Description Language (WSDL)
operations' parameters and return types được mô tả đầy đủSOAP services có thể cung cấp rất chi tiết contractsRequests and responses bằng XMLConsume một hoặc nhiều methods sử dụng SOAP 1.1 và SOAP 1.2 bindings:
Upload WSDL file hoặc URLbindingsmethods để consume
OutSystems generates SOAP methods như một Server Actions. Generates bất kỳ data type compound nào như một Structures
Các generated elements này có thể được sử dụng bình thường như một Actions hoặc Structures
CÓ THỂ THAY ĐỔI:
Default values của Input ParametersName và description của elementsservice updates và change consumed methods
## Exposing SOAP
Để expose một Service trong OutSystems:
Create the ServiceCreate each methodImplement chúng như các Action
Endpoint thông tin của exposed Web Services trong Service Center
Endpoint và WSDL URLs sử dụng: host name và module name
Endpoint: http://<hostname>/<ModuleName>/<WebServiceName>.asmx
SOAP WSDL: http://<hostname>/<ModuleName>/<WebServiceName>.asmx?WSDL
Web Service sẽ exposed với WSDL có SOAP 1.1 hoặc SOAP 1.2 binding
SOAP với Tập dữ liệu trả về NHỎAPI contract file chính thứcdocumentation và examples thay vì contractRequests and responses (usually) bằng JSON gọn nhẹConsume một single REST method
method's URLTest để lấy giá trị response testresponse trong Body
OutSystems generates REST như các Actions. Generates bất kỳ data type compound nào như một Structures
Các generated elements này có thể được sử dụng bình thường như một Actions hoặc Structures
CÓ THỂ THAY ĐỔI:
Default values của Input ParametersName và description của elementsData types của attributes và parameters, cũng như add và remove chúng
REST services Cung cấp 2 Callbacks:
Actions tự động called trước khi requestActions tự động called sau khi nhận được responsedebug và Customize requests:
Consume tất cả các REST methods:
API URLREST API PHẢI compliant (tuân thủ) Swagger chỉ định
Để expose một Service trong OutSystems:
Create the ServiceCreate each methodImplement chúng như các Action
Consumed và exposed Web Services có thể định cấu hình trong Service Center
Cấu hình được thực hiện trên mỗi module: Integrations tab trong Service Center
---
HẾT.