presentation nava&indi
Embed Size (px)
TRANSCRIPT
-
8/6/2019 Presentation Nava&Indi
1/26
Study on Web Service
Technology and its Application
to Supply Chain ManagementBy
Navajeet Saikia (CSM08019)
Indira Bhadhara (CSM08040)
Guided byMr. S.I. Singh
Asst. Professor
Tezpur University
-
8/6/2019 Presentation Nava&Indi
2/26
Topics Covered
Introduction
Problem definition
Analysis
Design & Implementation
Demo
5/11/2011 2
-
8/6/2019 Presentation Nava&Indi
3/26
Introduction Web Service Basics
Any piece of software that makes itself available over the internet
& uses a standard XML messaging system
Concerns the way in which software communicates
Service Description provided by WSDL
Can locate itself using UDDI
Functionality invoked using SOAP
These three technologies are built upon the common data
description standard XML
SOA
5/11/2011 3
-
8/6/2019 Presentation Nava&Indi
4/26
Problem Definition
This is a typical B2C and B2B model.
Retailer offers electronic goods to consumer.
Retailer Manage stock levels in warehouses. Items below a certain threshold- retailer
restock from Manufacturers inventory.
Fulfill Request-Manufacturer executeproduction run
5/11/2011 4
-
8/6/2019 Presentation Nava&Indi
5/26
Analysis
5/11/2011 5
-
8/6/2019 Presentation Nava&Indi
6/26
Requirements and
Assumptions
1. Retailer has three warehouses A, B, C
2. Three Manufacturers Brand 1, Brand 2, Brand 3
3. Each manufacturer supplies three products TV, DVD,
VCR.4. All three warehouses stock all nine products.
5. An order may contain multiple line items. Partialshipment not supported.
6. Back orders are not supported.
7. Payments are not demonstrated.8. Manufacturer can always ship the required product.
9. Warehouse stocks min - calls manufacturer.
5/11/2011 6
-
8/6/2019 Presentation Nava&Indi
7/26
Use Case Diagram
5/11/2011 7
-
8/6/2019 Presentation Nava&Indi
8/26
Use Cases
UC1: Purchase Goods Consumer visits Retailers website to purchase
electronics goods.
Request for catalog. Orders goods through a cart.
UC2: Source Goods Retailer locate ordered goods in warehouse and
request shipment. Selects appropriate warehouse and ships.
Inventory decreases.
5/11/2011 8
-
8/6/2019 Presentation Nava&Indi
9/26
-
8/6/2019 Presentation Nava&Indi
10/26
Designand Implementation
5/11/2011 10
-
8/6/2019 Presentation Nava&Indi
11/26
Technologies Used
J2EE
Apache Axis2
Apache Tomcat Server
Eclipse IDE
Database
MySql
-
8/6/2019 Presentation Nava&Indi
12/26
How to create a Web Service ?
Write an application program in Java.
-Methods are Services.
Code converted to WSDL using Axis2.
WSDL deployed on Apache Tomcat by
Axis2.
Web Service Created.
-
8/6/2019 Presentation Nava&Indi
13/26
How to create a Web Service
Client ?
Client locates and accesses the WSDL.
WSDL converted to Stub by Axis2.
Stub acts as Proxy to Web Service for the
Client.
Write the Client program using Stub.
-
8/6/2019 Presentation Nava&Indi
14/26
Class Diagram forRetailer
System
5/11/2011 14
-
8/6/2019 Presentation Nava&Indi
15/26
Class Diagram for
Manufacturing System
5/11/2011 15
-
8/6/2019 Presentation Nava&Indi
16/26
Web Services
There are two Web Services
Retailer System Web Service
- Retailer Service- Warehouse Service
-Warehouse Callback Service
ManufacturerWeb Service
5/11/2011 16
-
8/6/2019 Presentation Nava&Indi
17/26
Deployment Diagram for
Retailer System
5/11/2011 17
-
8/6/2019 Presentation Nava&Indi
18/26
Deployment diagram for
Manufacturing System
5/11/2011 18
-
8/6/2019 Presentation Nava&Indi
19/26
Operation/Message Types
Retailer Service
5/11/2011 19
-
8/6/2019 Presentation Nava&Indi
20/26
-
8/6/2019 Presentation Nava&Indi
21/26
Database Table Description
Catalog
5/11/2011 21
-
8/6/2019 Presentation Nava&Indi
22/26
Warehouse Tables
5/11/2011 22
-
8/6/2019 Presentation Nava&Indi
23/26
Manufacturer Tables
5/11/2011 23
-
8/6/2019 Presentation Nava&Indi
24/26
Demo
5/11/2011 24
-
8/6/2019 Presentation Nava&Indi
25/26
Q & A
-
8/6/2019 Presentation Nava&Indi
26/26
THANK YOU
5/11/2011 26