ASP. net xml Web Service Infrastructure
Basic Block Functions
The XML Web Service Catalog provides a central address for locating XML Web Services provided by other organizations. The XML Web Service Directory such as UDDI registration implements this function. The XML Web Service client can reference the XML Web Service directory or not.
XML Web Service Directory
XML Web Service Discovery uses the Web Service Description Language (WSDL) to locate or discover one or more documents describing special XML Web Services. The DISCO Specification defines the rules for locating the service description. If the XML Web Service Customer understands the location of the service description, they can bypass the discovery step.
XML Web Service Description to understand how to interact with a specific XML Web Service, a description is required to define the interaction operations supported by the XML Web Service. The XML Web Service client must understand how to interact with an XML Web Service.
The XML Web Service connection format for general communication, XML Web Services use open connection formats for communication. These are protocols that can be understood by any system that supports the most common Web standards. SOAP is a key protocol used for XML Web Service communication.
ASP. net xml Web Service Directory
Like any other resource on the Internet, the XML Web Service Directory cannot find a specific XML Web Service without some search methods. The XML Web Service Catalog provides a central address for XML Web Service Providers to publish information about their XML Web Services. Such a directory can even be the XML Web Service itself, which can be programmed to access and provide search results to respond to queries on the XML Web Service client. It is necessary to use an XML Web Service Directory to locate an organization that provides XML Web Services for a specific purpose, or to determine what XML Web Services a specific organization provides.
The Standard Specification defines a standard method to publish and discover XML Web Service information. The XML Schema associated with UDDI defines four types of information, allowing developers to use a published XML Web Service. These are: business information, service information, binding information and other standardized information for the service.
As the core component of the UDDI project, the UDDI Business Registry Business registration allows Business programming to locate the XML Web Service Information published by other organizations. Developers can use the UDDI Business Registry to locate and discover files and service descriptions. For more information, see the UDDI Web site http://uddi.microsoft.com ).
ASP. net xml Web Service Discovery
XML Web Service Discovery uses the Web Service Description Language WSDL to locate or discover one or more operations that describe a specific XML Web Service file. It allows the XML Web Service client to know whether an XML Web Service exists and where to find the description file of the XML Web Service.
A published. disco file is an XML file that contains resources connected to other XML Web Services. It can be programmed to discover an XML Web Service. The following code provides an example of discovering the structure of a file:
- <?xml version="1.0" encoding="utf-8" ?>
- <discovery xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance" xmlns=
"http://schemas.xmlsoap.org/disco/">
- <contractRef ref="http://www.contoso.com/Counter.asmx?wsdl" docRef=
"http://www.contoso.com/Counter.asmx"
- xmlns="http://schemas.xmlsoap.org/disco/scl/" />
- <soap address="http://www.contoso.com/Counter.asmx" xmlns:q1=
"http://tempuri.org/" binding="q1:CounterSoap"
- xmlns="http://schemas.xmlsoap.org/disco/soap/" />
- </discovery>
- DataList and Repeater controls of ASP. NET
- Analysis of IIS ing in ASP. NET
- Overview ASP. NET status types
- Introduction to ASP. NET and Web servers
- EnableViewState attribute of ASP. NET