Professional Documents
Culture Documents
U6 M1 L9 Annotated - Tagged
U6 M1 L9 Annotated - Tagged
U6 M1 L9 Annotated - Tagged
Services
Client applications
that use web services
can vary.
(Examples include
mobile apps, desktop
applications, web
applications, etc.)
Applications Using Web Services
Language and
platform independent
loosely coupled
nature of web service
applications are
clearly visible in this
scenario as client
technology doesn’t
depend on the web
service technology
The Three-Party Model of Service-Oriented Software
Development
Developers who
understand database,
End User ontology, and matching White
pages
Yellow
Software Registry pages
engineers who Service Brokers Traditional
understand the Green
pages
object-oriented
application programmers,
domain Service active objects
Repository hosting
Internet
Steps
1. New➞Project➞Web➞
ASP .Net website
application
2. Select empty project.
3. Add a web form to the
empty project.
4. Open the toolbox and add
labels, textboxes and
buttons as shown.
Math Web Client Example: Calling SOAP Web Service
[Serializable]
public class results
{
public int digits { get; set; }
public int upper_case_letters { get; set; }
public int lower_case_letters { get; set; }
}
}
Math Web Client Example: Calling REST Web Service
Math Web Client Example: Calling REST Web Service
HttpWebRequest request =
(HttpWebRequest)WebRequest.Create(url);
WebResponse response =
request.GetResponse();
Stream responseStream =
response.GetResponseStream();
results r =
JsonConvert.DeserializeObject<results>(json);
Math Web Client Example: Calling REST Web Service
results r =
JsonConvert.DeserializeObject<results>(json);
Math Web Client Example: Calling REST Web Service