Project Slide Show
Download
Report
Transcript Project Slide Show
Project 2: Web Services Composition and
Demonstration
Wei-Tek Tsai and Yinong Chen
Computer Science & Engineering Department
1
SOA-Based Recomposable Embedded Systems
Embedded Systems
Project 1
ServiceOriented
Enterprise
Service-Oriented
System Engineering
Project 2
Re-composable
Embedded
Systems
Robotics
EBusiness
Service-Oriented
Architecture
Modeling
Software
Simulation
Reliability
Hardware
Evaluation
Design
Testing
Bioinformatics
Infrastructure
Command
and
Control
Systems
2
Service-Oriented Computing Paradigm
Separation
Loosely coupled
Directory services
UDDI / WSDL / SOAP
ebXML / CPP
Ontology
Publishing
Search
Service brokers
Registry
Found
GUI
Find
Internet
Open Standards
Protocols
White page
Yellow page
Green page
Publishing
Service providers
Application builder
SOAP call
Applications
Results
Application development platform
Specification language
Composition
Code generation
Service agents
Programming
languages:
C++, C#
Java
Computing service
development:
.Net
J2EE
Web and data service development
XML, RDF, OWL,
3
System Features
The project will create a Web Services-based application “Teaching Assistance”,
which allows:
•
•
•
•
Service providers to register new Web services;
Instructors to test questions and solutions into an ontology to form a semantic Web
Instructors to build test papers based on the existing Web services
Give a test online and have the test automatically graded
4
Teaching Assistance Ontology
TAO
565
240
ch1
sec1
q1
qn
q1
qn
sol1 soln sol1 soln
secn
sec1
q1
qn
sol1 soln
ch2
secn
ch3
sec1
ch4
secn
sec1
ch5
secn sec1
q1
qn
q1
qn
q1
qn
sol1 soln sol1 soln sol1 soln
...
secn
q1
qn
q1
qn
sol1 soln sol1 soln
5
Web Services Manipulating the Ontology
addTreeNode(subRoot, name);
removeTreeNode(nodeName);
addTreeLeave(subRoot, name);
removeTreeLeave(leaveName);
selectLeave(leaveName);
takeTest(testName);
gradeTest(testName, grade);
enterGrade(roster, testName, grade);
sort(roster);
display(roster, range);
login(userName, pwd);
logout();
6
Application Building
testPaper(subRoot, name);
testGiving(testName);
login(userName, pwd);
selectLeave(name1) … selectLeave(namen);
buildTest(testName);
logout();
login(userName, pwd);
takeTest(testName);
gradeTest(testName, grade);
enterGrade(roster, testName, grade);
logout();
reportGrade(roster, key1, key2, key3);
login(userName, pwd);
sort(roster);
display(roster, range);
logout();
7
Task Allocation
Task
No
CSE423 Web Services Composition and Demonstration
Responsible
Working Platform
1
Learn .Net, C#,
A
Application builder
2
Use .Net and C# to create all necessary Graphic User Interfaces
A
Application builder
3
Learn .Net, WSDL and SOAP
B
Service Provider
4
Use .Net to wrap the programs into Web services (page 6)
B
Service Provider
5
Register the services to the UDDI service directory
B
Service Provider
6
Learn .Net, WSDL and SOAP
C
Application builder
7
Discover services in the UDDI service directory
C
Application builder
8
Use compose applications based on existing Web services (page 7)
C
Application builder
9
Testing and Integration
A, B, and C
Internet and PC
8
General References
Collection of sample Web services: http://www.xmethods.net/
IBM Course Ware: http://www.developer.ibm.com/us/en/university/scholars/courseware/
IBM Web service patterns: http://www-128.ibm.com/developerworks/patterns/
Fahey. “C# OpenGL Wrapper”.
http://www.colinfahey.com/opengl/csharp.htm
Terragen. “Terrain Generator”.
http://www.planetside.co.uk/
Lloyd. “C# Tutorial for Beginners”. 2004. http://www.csharphelp.com/archives2/archive402.html
-This website was a basic tutorial on C#.
“W3Schools: Learn XML.” 2005.
http://www.w3schools.com/xml/default.asp
-This website was a basic tutorial on XML
“Direct3D Tutorials” 2005.
http://www.two-kings.de/tutorials/d3d.html
-This site has tutorials on Direct3D basics
“Purple# - a shader-driven open source 3d game engine in C#” 2005.
http://www.bunnz.com/index.php
-This site has information on using Purple#
“GDI+ FAQ main index” 2005.
http://www.bobpowell.net/faqmain.htm
-This site has help for programming in GDI+
“MSDN Library” 2005.
http://msdn.microsoft.com/library/default.asp
-This site has help for programming in Visual Studios .Net
Download UDDI service directory:
.Net based: http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96eeb18c4790cffd&displaylang=en
Java-based: http://sourceforge.net/projects/soapuddi/
9