Download presentation
Presentation is loading. Please wait.
Published byElfreda Wilcox Modified over 9 years ago
1
Code in [WebMethods] created by programmer C# Created from the WebMethod headers by.NET runtime (the web reference) WSDL Created “on- demand” by the.NET runtime from the WSDL specification SOAP Contains code for the entire class Contains a definition for the entire class Contains a message for a single exchange Microsoft Web Services “At-A-Glance”
2
Specifies the language in which the web service was coded WebService Language="C#" The source code for the web service CodeBehind="~/App_Code/Service.cs" The name of the class contained within the web service Class="TempConvert" The.asmx file Specified as the “web reference” for a web service Allows the application to find and exchange data with the web service
3
A Web Service Exchange Client application (uses the web service) Web service (running on a server) Web reference SOAP request (method call) SOAP response (return value) Both are formatted using XML (text/tags)
4
An Example (TempConvert) Temp Consume.cs Temp Convert.cs SOAP request (ToCelsius(212)) SOAP response (100) Both are formatted using XML (text/tags) edu.temple.sbm.class1.TempConvert http://class1.sbm.temple.edu/3502/TemperatureConversion/TempConvert.asmx Local computer (localhost) class1.sbm.temple.edu
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.