Professional Documents
Culture Documents
Development Environment
With Apex- TGI PVT. LTD
Application
Presentation
Application
Application
Web Services
Session
Transport
Others
UDP
TCP
Network
Ipv4, IPv6
Ipv4, IPv6
Datalink
Device Driver
&
Hardware
Device Driver
&
Hardware
Internet Protocol
Suite
Web Services
Model
Physical
OSI Model
09/09/2010
TCP
Industry Examples(CIO)
Synovus Commercial/Retail/ Investment Banking
T-Mobile Re-engineered IT Solutions using SOA
Dell Integrated WW Mfg & Delivery System with 3rd Parties
Twitter Fully integrated SOA Service Delivery Model
Linkedin Integrated Internal
Amazon Integrated SOA Business Model
eBay Integrated SOA Business Model
FedEx Integrated SOA Business Model
Ford Motor Company Integrated WW Supplier SOA Network
Starwood Hotels Replace Multiple Legacy Systems with One SOA System
Verizon- Merged Multiple Legacy Acquisition Companies
CitGroup Integrated SOA Top/Down Throughout Business
Motorola Integrated 180 Separate Business Groups
Federal Government Published Comprehensive SOA Roadmap
US Army Replacing All Legacy Systems with SOA
DoD Created Target SOA Architecture, Successfully Deploy Pilot Programs
Veterans Administration Plans to Migrate All Systems to SOA
Several States Migrating to SOA AZ, IA, MA, UT, TX, WA
RDMS
Airlines -- Delta
Web Browser
Hotels -- Marriot
Web Browser
Web Browser
Travel
Customers
09/09/2010
Automobiles -- Hertz
WS
Client
WS
Server
WSDL
WS
Server
WSDL
WS
Server
BPEL
WSCI
09/09/2010
WS Endpoint
Interface
Internet
WSDL
Java Client
Environment
wsimport
RDBS
Framework
Java
.Net
WS Endpoint
Publisher
09/09/2010
WS Attribute
Classes
Web Service
Client
Application
JSE 6 .jar
javax.jws
javax.xml.ws
javax.xml.rpc
javax.xml.soap
javax.xml.bind
The WSDL
WSDL the most important component of Web Services
WSDL 1.1
Abstract Section
Functions
Data types
Protocols
Where to find service
Types
Message
PortType
Operation
Output
Input
Concrete Section
The server has real objects and the client creates abstract interfaces
Binding
Service
Port
WSDL Structure
Definitions
Target Namespace
WSDL XML Schema
PortType Class { }
Operation Method()
Message Property Type
Msg Name Property Name
Types Property Attributes
Binding Message Protocol
Service Server Location
09/09/2010
Server
Target
Object
class {}
class {}
Invocation Subsystem
(Client Side)
method()
Invocation Subsystem
(Server Side)
Parameter
return
method()
Parameter
Service Endpoint
Interface Proxy
Parameter
return
Request
SOAP
Request
SOAP
Parameter
Parameter
Parameter
Parameter
return
return
method()
Response
SOAP
Response
SOAP
Method
Invocation
Parameter
Parameter
return
return
SOAP Message
Exchange
(Specified by WSDL
method()
Method
Invocation
Annotate & Publish Objects
9
wsimport/wsexport
object factory
Server
WSDL
service{ }
wsimport
Client
fclass1 {
method1()
prop1
method2()
prop2
}
Extracts WSDL
Creates XML Schemas
Compiles Attribute Classes
objectfactory class { }
fmethods()
getprop()
setprop()
Error Handling
fclass1 {
method1()
prop1
method2()
prop2
}
getClass1 {
getprop1()
getprop2()
}
Multi-Threaded
setClass1 {
setprop1()
setprop2()
}
09/09/2010
10
(Client)
WSDL First
Code First
WSDL
wsexport
end
Implementation
Interfaces { }
09/09/2010
attribute
classes { }
Code First
WSDL First
Code-WSDL First
Write WSDL
Compile Server Side EICs
Code Server Side Business Impl
Compile WSDL Client Attribute Classes
+
+
-
wsimport
11
Java
RDBMS
Application
WS Endpoint
Interface
WSDL
RDBS
Framework
Java
.Net
WS Endpoint
Publisher
wsimport
WS Attribute
Classes
Web Service
Client
Application
JSE 6 .jar
javax.jws
javax.xml.ws
javax.xml.rpc
javax.xml.soap
javax.xml.bind
09/09/2010
12
09/09/2010
13
09/09/2010
14
09/09/2010
15
Missing Tool
Components
RDBS
Java
RDBMS
Application
WS Endpoint
Interface
Framework
Java
.Net
WS Endpoint
Publisher
WSDL
wsimport
kSOAP2
Android
Java WS
Client
Missing Library
Components
Figure 1
09/09/2010
Proc beans
xml Abst
Java .jars
javax.jws
javax.xml
othes...
16
WSDL
awsimport
Proposed WS Environment
01/20/15
Android WS
Attribute Classes
Android WS
Library
Android
Client
Application
Android
Platform
kSOAP2
Library
17
01/20/15
Mobile OS
Platforms
Programming
Languages
Android
Java
Apple iOS
Objective C/C++
Blackberry OS
Java
BREW/REX
C/C++, Java
Palm OS
C/C++, Java
Symbian
C/C++, Java
Windows Mobile
C++, C#, VB
18
Embedded OS Programming
Platforms
Languages
01/20/15
VXWorks
Asm, C
Win Embedded
Asm,C, C#, VB
Asm, C, C++
DSP/BIOS
Asm, C
QNX
Asm, C
pSOS
Asm, C
eCOS
Asm, C
19
Symbian
iOS
Blackberry OS
Android
WSDL
mwsimport
01/20/15
Mobile WS
Attribute Classes
Mobile
Client
Application
Symbian
iOS
Blackberry OS
Android
Libraries
Mobile
Platform
20
WSDL
Pseudo
Class
Builder
Extracted
WSDL
Platform
Class
Compiler
WSDL
Object
Factory
Platform
Web Service
Client
Platform
Library
Platform
Support
Environment
Decomposes WSDL
Creates & Defines Classes & Methods
Defines Elements & Types
Builds Pseudo Classes
Parse
portType
Class1
Class2
Classm
Method11()
Method12()
Method1n()
Figure 12.
01/20/15
Parse
Operation
Abstract
Classes
Protocols
Parse
Message
Element11
Parse
Element
Type
Element12
Parse
Element
Type
Element1o
Parse
Element
Type
Pseudo
Class
ArrayList
Define service
Ports
Method11()
Method11()
Method12()
Method12()
Method1n()
Method1n()
Class1
Class2
Classm
Concrete Classes
22
Pseudo
Class
New
classNam
e
Constructor {
Build class }
WS Input
(Output from WS Client)
Marshal
SOAP
Object
Method1()
Set(element)
Pseudo
Class
New
classNam
e
Issue
SOAP
RPC
Element
Message
OK
Return
Message
Error
Post
Error
Constructor {
Object Factory
Class1{}
Class2{}
Class3{}
...
Service.language.source
Build class }
WS Output
(Input from WS Client)
Method1()
Get(element)
Marshal
SOAP
Object
element
Issue
SOAP
RPC
Message
OK
Deserialize
SOAP
Object
Message
Error
Post
Error
Update
Elements
Return
Figure 13.
01/20/15
23
Platform Library
Classes
Description
Methods to facilitate SOAP calls over HTTP using
the J2ME generic connection framework.
MarshalBase64
MarshalDate
MarshalFloat
MarshalHashtable
ServiceConnection
ServiceConnectionMidp
ServiceConnectionSE
SoapEnvelope
SoapFault
SoapObject
SoapPrimative
01/20/15
HttpTransport
HttpTransportBasicAuth
HttpTransportSE
KvmSerializable
SoapSerialization
SoapServlet
Transport
24