1 / 4

Microsoft Web Services “At-A-Glance”

Microsoft Web Services “At-A-Glance”. Contains code for the entire class. Contains a definition for the entire class. Contains a message for a single exchange. The .asmx file. Specified as the “web reference” for a web service

orea
Download Presentation

Microsoft Web Services “At-A-Glance”

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Microsoft Web Services “At-A-Glance” Contains code for the entire class Contains a definition for the entire class Contains a message for a single exchange

  2. The .asmx file • Specified as the “web reference” for a web service • Allows the application to find and exchange data with the web service <%@ WebService Language="C#" CodeBehind="~/App_Code/Service.cs" Class="TempConvert" %>

  3. A Web Service Exchange Web reference SOAP request (method call) Client application (uses the web service) Web service (running on a server) Both are formatted using XML (text/tags) SOAP response (return value)

  4. An Example (TempConvert) http://class1.sbm.temple.edu/3502/TemperatureConversion/TempConvert.asmx edu.temple.sbm.class1.TempConvert SOAP request (ToCelsius(212)) Temp Consume.cs Temp Convert.cs Both are formatted using XML (text/tags) SOAP response (100) Local computer (localhost) class1.sbm.temple.edu

More Related