Basic Conception On SOA

简介: 1. What is SOA? SOA is the acronym(缩略语) for Service Oriented Architecture. Basically, SOA states that every component of a system should be a servic...

1. What is SOA?

SOA is the acronym(缩略语) for Service Oriented Architecture.

Basically, SOA states that every component of a system should be a service, and the system should be composed of several loosely-coupled services.

A service here means a unit of a program that serves a business process.

Loosely-coupled here means that these services should be independent of each other so that changing one of them should not affect any other services.

 

 

2. What is a web service?

 A web service is a software system designed to support interoperable machine-tomachine
interaction over a network.

A web service is typically hosted on a remote
machine (provider) and called by a client application (consumer) over a network.
After the provider of a web service publishes the service, the client can discover it
and invoke it.

The communications between a web service and a client application
use XML messages.

A web service is hosted within a web server and HTTP is used
as the transport protocol between the server and the client applications.

 

3. Web service WSDL

In order to be called by other applications, each web service has to supply a
description of itself so that other applications will know how to call it. This
description is provided in a language called WSDL.
WSDL stands for Web Services Description Language. It is an XML format that
defines and describes the functionalities of the web service, including the method
names, parameter names and types, and returning data types of the web service.
For a Microsoft ASMX web service, you can see the WSDL by adding
?WSDL to the end of the web service URL, say http://localhost/MyService/
MyService.asmx?WSDL.

 

4. Web service proxy

A client application calls a web service through a proxy. A web service proxy is
a stub class between a web service and a client. It is normally autogenerated by
a tool such as Visual Studio IDE, according to the WSDL of the web service. It can
be reused by any client application.

The proxy contains stub methods mimicking(模仿)
all the methods of the web service so that a client application can call each method
of the web service through these stub methods. It also contains other necessary
information required by the client to call the web service such as custom exceptions,
custom data and class types, and so on.
The address of the web service can be embedded within the proxy class, or it can
be placed inside a configuration file.

 

5. SOAP

There are many standards for web services—SOAP is one of them. SOAP was
originally an acronym for Simple Object Access Protocol and was designed by
Microsoft.

 

 

 

目录
相关文章
|
数据库 网络架构 iOS开发
SAP Gateway 里的 REST 概念
SAP Gateway 里的 REST 概念
|
5月前
|
监控 安全 数据安全/隐私保护
SAP RBAM (Role-Based Authorization Management) 概念解析
SAP RBAM (Role-Based Authorization Management) 概念解析
|
人工智能 安全 程序员
BASIC College,或许就是每个技术人的“伊甸园”
BASIC College是蚂蚁金服内部的一所神秘的“大学”。
1441 0
|
存储 人工智能 安全
胡喜:从 BASIC 到 basic ,蚂蚁金服技术要解决两个基本的计算问题
揭开 BASIC College 神秘面纱,蚂蚁金服首次揭秘人才培养机制。
2462 0
|
SQL 应用服务中间件 PHP
|
消息中间件 Docker 微服务
Catalog Service - 解析微软微服务架构eShopOnContainers(三)
上一篇我们说了Identity Service,因为其基于IdentityServer4开发的,所以知识点不是很多,今天我们来看下Catalog Service,今后的讲解都会把不同的、重点的拿出来讲,希望大家明白。
1811 0
|
Linux Docker 微服务
Identity Service - 解析微软微服务架构eShopOnContainers(二)
接上一篇,众所周知一个网站的用户登录是非常重要,一站式的登录(SSO)也成了大家讨论的热点。微软在这个Demo中,把登录单独拉了出来,形成了一个Service,用户的注册、登录、找回密码等都在其中进行。
3053 0
|
架构师 网络架构
《SOA与REST:用REST构建企业级SOA解决方案》目录—导读
本书的作者们对于什么是REST,什么不是REST具有非常清晰的理解,所以,本书给你带来的知识,可以帮助你区分哪些是真正的RESTful,哪些又只是自我标榜。你将学习SOA与REST的基础知识,还会了解若干结合了SOA与REST的设计模式。你还会学到如何构建服务及服务消费者。
3450 0