WebService Study record (i)

Source: Internet
Author: User
Tags http post soap wsdl

1.1 What is WebService

Web Serviceis aPlatformIndependent, low-coupling, self-contained,Programmingof theWebapplication, you can use an openXML(Standard Universal Markup Languagea subset of the following)Standardcome toDescription, Publish, Discover, orchestrate, and configure these applications for the development of distributed, interoperable Application. [1]

Web Service technology enables different applications running on different machines to exchange data or integrate with each other without the use of additional, specialized third-party software or hardware. applications that are implemented according to the Web Service specification can exchange data with each other, regardless of the language, platform, or internal protocol they are using. Web Serviceis a self-describing, self-contained, available network module that can perform specific business functions. Web ServiceAre also easy to deploy because they are based on a number of conventional industry standards and some of the existing technologies, such asStandard Universal Markup Languagethe subset underXML,HTTP. Web Servicereduces the cost of the application interface. Web Serviceprovides a common mechanism for integration of business processes across the enterprise and even across multiple organizations. A WSDL corresponding to each webservice.

WebService the characteristics

    • WebService accepts customer requests via HTTP POST
    • WebService and clients typically use the SOAP protocol to transfer XML data

It is designed for cross-platform or cross-language

1.2 Call the WebService service on the network

http://webxml.com.cn/

1.3 Soap and WSDL concepts

SOAP (Simple Object access Protocol)

HTTP protocol

post/getinfo.action http/1.1host www.javaweb.comcontentType text/html;charset=utf8id=001 &name=fyk&age=22 ...

SOAP protocol

post/getinfo.action http/1.1host www.javaweb.com contentType Text/xml;charset=utf8<!--The label structure is fixed dead and cannot be changed -<Envelop>    <Body>      <!--the label is not fixed after body -      <GetInfo>        <ID>001</ID>        <name>Fyk</name>      </GetInfo>    </Body></Envelop>
    • SOAP is used as an XML-based protocol for transmitting data over the Internet.
    • SOAP = +xml data on the basis of HTTP .
    • SOAP is HTTP-based .
    • the composition of SOAP is as follows:
    • envelope– must be part of. appears as the root element of the XML.
    • headers– is optional.
    • body– is necessary. In the Body section, the method that contains the server to be executed. And the data sent to the server.

WebService Study record (i)

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.