Asp.net|web|web Service |xml| Creation
The development of the Internet has been using its unimaginable power to redesign the field of application development. Companies and institutions increasingly rely on the digital resources and communication channels provided by the Internet and related technologies. As a result, applications designed and developed today rarely do not consider how best to integrate and apply Internet technology. The integration of Internet technologies into applications has become a new requirement for industry to develop technology. Microsoft's timely introduction of XML-based Web services satisfies this need, and I'll show you the process of using ASP.net to create and manage XML Web services.
An XML Web service is a programmable entity that provides special functionality and can access many potentially disparate systems using ubiquitous Internet standards such as XML and HTTP. >>>> Detailed content |
|
To be successful in network diversity, XML Web services must not be concerned with the operating system, object model, and program language that you choose. >>>> Detailed content |
|
|
Declaring an XML Web service |
|
When you create an XML Web service using ASP.net, you put the required @_webservice instructions at the top of the. asmx file, and the presence of the @_ WebService directive is related to the URL address of the XML Web service that is implemented. >>>> Detailed content |
|
It is relatively easy to construct a simple XML Web service using ASP.net, however, the truly powerful functionality of XML Web services can only be realized when you have studied the infrastructure. >>>> Detailed content |
|
|
Asynchronous Web Services |
|
|
To improve the performance of XML Web service methods that invoke long-running methods that impede threads, you might consider publishing them as asynchronous XML Web service methods. Implementing an Asynchronous XML Web service method allows a thread to execute other code when it returns to the thread pool. >>>> Detailed content |
|
|
Managing Web Service Status |
|
|
XML Web services can use the same state management options as other ASP.net applications when implementing XML Web services that derive from the WebService class. The WebService class contains many public ASP.net objects, including session objects and application objects. >>>> Detailed content |
|
Transaction processing of XML Web services relies on the support of the common language runtime and is based on the same distributed transaction model as in MTS and COM + services. The model is based on a clear judgment of whether an object participates in a transaction, rather than writing specific code to process, delegate, and callback a transaction. >>>> Detailed content |
|
|
Publishing and deployment |
|
|
Deploying an XML Web service includes copying the. asmx file and the assembler file used by the XML Web service, rather than taking part of the Microsoft.NET framework as a virtual directory on the Web server. >>>> Detailed content |