WebServices Overview of SOA Architecture Implementation Technology

Source: Internet
Author: User
Tags soap

First, the noun explanation

1, SOA (Service oriented Architecture), services-oriented architecture. An architecture that includes a complete set of distributed system construction methods and environments, including the operating environment, programming model, architectural style, and related methodologies. SOP covers the entire life cycle of the service. The architectural style of SOP is the abstraction of service as the core.

2, WebServices is a set of function libraries, unlike (client-side) project development at the local function library, the Web Service (webservices) is located in the service provider's server. A Web service is an object or application component that is deployed on the web.

Features of WebServices:

1), webservices is self-contained. The client does not need to attach any software, it only needs to support HTTP and XML.

2), webservices is self-described. The client and server only need to find the format and content of the request and response information.

3), webservices are cross-platform and cross-lingual.

4), WebServices is based on development standards. The main technical basis for WebServices is HTTP and XML, while HTTP and XML are industry standards.

5), webservices can be combined. One webservices can access another webservices to combine it into a more complex service.

6), webservices through the network to publish, find and use.

Feature Summary: WebServices provides a platform to build distributed applications, software that runs on different operating systems and devices, or software developed in different programming languages and different vendor software development tools, all of which may have been developed and deployed to enable distributed computing using this platform.

Second, webservices system structure

There are three roles in the WebServices Architecture: Service provider, Service Broker, and service requester. At the same time, three actions are involved: publish, find, bind.

About three characters

1) service provider, publish Web service, wait for other service or application request and respond.

2) service intermediaries, also known as service agents, are used to register published Web service providers and classify them to provide search services. Generally implemented by UDDI.

3) The service requester, the user of the Web service, finds the required services through the Web Service Broker (service registry), and then uses SOAP to send requests to the Web service provider for service.

Three action definitions

1) Publish, the Web service provider to the Web Service Broker to register the service provider's functions and access to the interface.

2) Lookup, Web service requesters can find a specific type of Web service through a Web Service Broker.

3) binding to enable the service requester to use the services provided by the service provider.

Three, WebServices application example--Weather query Web service

Operating Environment: vs2012,c# windowsformsapplication (Windows Forms application).

Operation Steps:

1) Create a Windows Forms application with the project named WinForm

2) Right-click on the project name and select "Add Service Reference" to bring up the [Add Service Reference] dialog box.

3) In the Add Service Reference dialog box, click Advanced, Find Add Web Reference, and the Add Web Reference dialog box appears.

4) URL of the [Add Web Reference] dialog box, fill in: Http://www.webxml.com.cn/Webservices/WeatherWebService.asmx. This URL is where the weather query webservices is located.

5) in the Add Web Reference dialog box, change the Web reference name to weatherwebservices and click Add Reference.

6) in the application to provide Weatherwebservices class calls the method, the details of the source code.

Run the effect as.

Attached project Source Link: Http://pan.baidu.com/s/1hrMlaao

Iv. Reference Documents

Thoroughly understand WebService SOAP wsdl:http://blog.csdn.net/zhuizhuziwo/article/details/8153327

Weather Query tool for WinForm: http://www.cnblogs.com/QinBaoBei/archive/2010/03/30/1700898.html

WebServices Overview of SOA Architecture Implementation Technology

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.