Download presentation
Presentation is loading. Please wait.
1
GF and RS, Dept of CS, Mangalore University
Web Services (Part 2) CSE 465: Web Technologies Raveeshwara S GF and RS, Dept of CS, Mangalore University
2
Web Services - CSE 405 Web Technologies
What’s Up? SOAP/XML & RESTful Memory Test Java Programming! Implementing a Web Service in Netbeans IDE Using Web Service Web Services - CSE 405 Web Technologies
3
Web Services - CSE 405 Web Technologies
Web Services - CSE 405 Web Technologies
4
Web Services - CSE 405 Web Technologies
Java Programming Platform Independent Object Oriented Programming Language Class Object Properties Methods Example Class: Dog Object: myDog Property: name=mothi Methods: eat(food), bark(), jump() Web Services - CSE 405 Web Technologies
5
Web Services - CSE 405 Web Technologies
Java Programming Compiling Java Program Human readable (source code) byte code instructions Using Java Development Kit Java Compiler tool javac E.g.: javac MyProgram.java Running Java Program Executing byte code instruction Using Java Runtime Environment virtual machine java E.g.: java MyProgram Web Services - CSE 405 Web Technologies
6
Web Services - CSE 405 Web Technologies
Web Services - CSE 405 Web Technologies
7
Web Services - CSE 405 Web Technologies
Web Service - Glossary WSDL - Web Services Description Language SOAP - Simple Object Access Protocol REST - Representational state transfer JAX-RPC - Java API for XML-based RPC JAX-WS - Java API for XML Web Services JAX-RS - Java API for RESTful Web Services XML - Extensible Markup Language JSON - JavaScript Object Notation UDDI - Universal Discovery, Description, and Integration Web Services - CSE 405 Web Technologies
8
Web Services - CSE 405 Web Technologies
XML eXtensible Mark-up Language Language Used for information exchange, storage; defines data format Mark-up Marked data with tags e.g.: <book>…</book> eXtensible You can create your own tags In depth: refer unit-3 Web Services - CSE 405 Web Technologies
9
Web Services - CSE 405 Web Technologies
XML - Example <?xml version="1.0" encoding="UTF-8"?> <note> <to> Tove </to> <from> Jani </from> <heading> Reminder </heading> <body> Don't forget me this weekend! </body> </note> Reference: w3schools.com Web Services - CSE 405 Web Technologies
10
Web Services - CSE 405 Web Technologies
XML - Example <?xml version="1.0" encoding="UTF-8"?> <note> <to> Tove </to> <from> Jani </from> <heading> Reminder </heading> <body> Don't forget me this weekend! </body> </note> Reference: w3schools.com Web Services - CSE 405 Web Technologies
11
Web Services - CSE 405 Web Technologies
UDDI Universal Discovery, Description, and Integration Worldwide registry of web services Open, platform independent, XML based UDDI can communicate via protocols such as SOAP Uses WSDL to describe web services References: Web Services - CSE 405 Web Technologies
12
Web Services - CSE 405 Web Technologies
WSDL Web Services Description Language (WSDL 2.0) Earlier, Web Service Definition Language (WSDL 1.1) Provides machine readable description of a Web Service Descriptions How a service can be called? What parameters it expects? What data structures it returns? Example (see next section – Creating Web Services) Reference: Wikipedia Web Services - CSE 405 Web Technologies
13
Web Services - CSE 405 Web Technologies
SOAP Simple Object Access Protocol What is it? A protocol specification for exchanging structured information in the implementation of web services Purpose To induce extensibility, neutrality and independence What it does? SOAP allows clients to invoke web services and receive responses It is XML based Example (see next section – Creating Web Services) Reference: Wikipedia Web Services - CSE 405 Web Technologies
14
Creating Web Services with NetBeans IDE
Prerequisites Java Development Kit (JDK) NetBeans IDE Web Services - CSE 405 Web Technologies
15
Web Services - CSE 405 Web Technologies
NetBeans IDE Web Services - CSE 405 Web Technologies
16
Web Services - CSE 405 Web Technologies
NetBeans IDE Web Services - CSE 405 Web Technologies
17
Web Services - CSE 405 Web Technologies
NetBeans IDE Web Services - CSE 405 Web Technologies
18
NetBeans IDE: Creating Web Service
Web Services - CSE 405 Web Technologies
19
Creating Web Service with Web Project
1 2 Web Services - CSE 405 Web Technologies
20
Web Services - CSE 405 Web Technologies
Netbeans IDE 2 1 3 Web Services - CSE 405 Web Technologies
21
Web Services - CSE 405 Web Technologies
1 Web Services - CSE 405 Web Technologies
22
Web Services - CSE 405 Web Technologies
1 1 Web Services - CSE 405 Web Technologies
23
Web Services - CSE 405 Web Technologies
1 Web Services - CSE 405 Web Technologies
24
Web Services - CSE 405 Web Technologies
1 2 3 Web Services - CSE 405 Web Technologies
25
Web Services - CSE 405 Web Technologies
1 2 3 Web Services - CSE 405 Web Technologies
26
Web Services - CSE 405 Web Technologies
Web Services - CSE 405 Web Technologies
27
Understanding Web Service Operation
NetBeans IDE Web Services - CSE 405 Web Technologies
28
Understanding Web Service Operation
Parameters Operations Web Service Power Service Hello Name Power (HW*) N Add A, B Web Services - CSE 405 Web Technologies
29
Web Services - CSE 405 Web Technologies
Web Services - CSE 405 Web Technologies
30
Web Services - CSE 405 Web Technologies
Web Services - CSE 405 Web Technologies
31
Web Services - CSE 405 Web Technologies
Web Services - CSE 405 Web Technologies
32
Testing / Using Web Service
NetBeans IDE Web Services - CSE 405 Web Technologies
33
Web Services - CSE 405 Web Technologies
Web Services - CSE 405 Web Technologies
34
Web Services - CSE 405 Web Technologies
1 2 Web Services - CSE 405 Web Technologies
35
Web Services - CSE 405 Web Technologies
Web Services - CSE 405 Web Technologies
36
Web Services - CSE 405 Web Technologies
1 2 Web Services - CSE 405 Web Technologies
37
Web Services - CSE 405 Web Technologies
Web Services - CSE 405 Web Technologies
38
Web Services - CSE 405 Web Technologies
Looking at WSDL NetBeans IDE Web Services - CSE 405 Web Technologies
39
Web Services - CSE 405 Web Technologies
Web Services - CSE 405 Web Technologies
40
Web Services - CSE 405 Web Technologies
Web Services - CSE 405 Web Technologies
41
Web Services - CSE 405 Web Technologies
Web Services - CSE 405 Web Technologies
42
Web Services - CSE 405 Web Technologies
Web Services - CSE 405 Web Technologies
43
Testing / Using Web Service
NetBeans IDE Web Services - CSE 405 Web Technologies
44
Web Services - CSE 405 Web Technologies
Web Services - CSE 405 Web Technologies
45
Web Services - CSE 405 Web Technologies
Web Services - CSE 405 Web Technologies
46
SOAP Request and Response
NetBeans IDE Web Services - CSE 405 Web Technologies
47
SOAP Request/Response Structure
Web Services - CSE 405 Web Technologies
48
Web Services - CSE 405 Web Technologies
Web Services - CSE 405 Web Technologies
49
Web Services - CSE 405 Web Technologies
Adding an Operation NetBeans IDE Web Services - CSE 405 Web Technologies
50
Web Services - CSE 405 Web Technologies
Web Services - CSE 405 Web Technologies
51
Web Services - CSE 405 Web Technologies
Web Services - CSE 405 Web Technologies
52
Web Services - CSE 405 Web Technologies
1 2 Web Services - CSE 405 Web Technologies
53
Web Services - CSE 405 Web Technologies
1 2 3 Web Services - CSE 405 Web Technologies
54
Web Services - CSE 405 Web Technologies
Web Services - CSE 405 Web Technologies
55
Web Services - CSE 405 Web Technologies
Web Services - CSE 405 Web Technologies
56
Web Services - CSE 405 Web Technologies
Web Services - CSE 405 Web Technologies
57
Web Services - CSE 405 Web Technologies
Testing the Operation NetBeans IDE Web Services - CSE 405 Web Technologies
58
Web Services - CSE 405 Web Technologies
Web Services - CSE 405 Web Technologies
59
Web Services - CSE 405 Web Technologies
Web Services - CSE 405 Web Technologies
60
Web Services - CSE 405 Web Technologies
Web Services - CSE 405 Web Technologies
61
Web Services - CSE 405 Web Technologies
Web Services - CSE 405 Web Technologies
62
Web Services - CSE 405 Web Technologies
Web Services - CSE 405 Web Technologies
63
Web Services - CSE 405 Web Technologies
Web Services - CSE 405 Web Technologies
64
Web Services - CSE 405 Web Technologies
Summary XML, UDDI, SOAP, WSDL Java – OOP (Objects, Properties and Methods) Developing Web Service with NetBeans IDE Using and Testing Web Service Web Services - CSE 405 Web Technologies
65
Web Services - CSE 405 Web Technologies
Today’s Web Service REST (representational state transfer) RESTful APIs Web API Web Services - CSE 405 Web Technologies
66
Web Services - CSE 405 Web Technologies
Thank You! Introduction to Web Services Presentation by Raveeshwara S, Dept. of CS, Mangalore University Web Services - CSE 405 Web Technologies
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.