XML Schema-WSD description

Source: Internet
Author: User
Web Service Description Language (WSDL) provides a simple method to describe Web Services (mostly using SOAP. WSDL allows you to describe the services and interfaces provided by the SOAP standard. For example, you can create a WSDL file that describes the Services provided on a server, and then distribute the file to the W Web service Description Language (WSDL) that requires these Services) provides a simple method to describe Web Services (mostly using SOAP. WSDL allows you to describe the services and interfaces provided by the SOAP standard. For example, you can create a WSDL file that describes the services provided on a server, and then distribute the file to the W
Web Service Description Language (WSDL) provides a simple method to describe Web Services (mostly using SOAP. WSDL allows you to describe the services and interfaces provided by the SOAP standard.
For example, you can create a WSDL file that describes the services provided on a server and then distribute the file to the Web service consumers who need these services. By reading and parsing the WSDL file, the consumer can understand all the information needed to use these Web services, including the data types that can be exchanged, parameters, and various returned errors and other information.
Using the W3C example again, we can see that the declarations and exchanged data of different remote functions are all processed through the XML Schema Definition, as shown in listing 3.
Listing 3. XML definitions of different remote functions and data exchange

 
 
 
   
    
      
       
         
          
      
         
       
        
        
        
           
          
          
      
         
       
        
        
           
          
          
      
         
       
        
        
           
        
     
    
    
    
      
     
    
    
      
     
    
    
      
       
         
          
          
        
     
    
    
      
       
       
       
         
          
          
          
            
           
          
            
           
          
            
           
        
     
    
    
      
   
    snowboarding-info.com Endorsement Service
        
       
         
          
        
     
   
 

WSDL declares the message type, default data type and content, and the exchanged data structure.
All information required to access the SOAP structure on the server can be found in the WSDL. Most languages and environments provide a mechanism for reading and parsing WSDL to determine available functions and data exchanges.
WSDL not only defines the SOAP interface for information exchange, but also can be used to create the code required to send requests, generate and format responses through appropriate WSDL generation programs.
WSDL and SOAP form a powerful remote process calling system.

The above is the description of WSD in XML mode. For more information, see other related articles in the first PHP community!

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.