Download SOAShopper API

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
Ravi Palejiya
Ruofan Xu

Consumer often spends lot of time on searching for
best deals of products on different websites.

SOAShopper provides a solution for it. Thus they don’t
need to waste their time in exploring websites.

SOAShopper will give one comprehensive list at a
single place.
SOAShopper project will meat the following objectives

Product Keywords Search on three different shopping
services.

Select search criteria as Category, Currency, PriceRange (High price, Low price)

Product summery with quick link
SOAShopper SOA
Enterprise Layer
SOAShopper Website
Business Layer
Keyword Search Process
Set Search parameters
Intermediary layer
Search
Basic layer
Amazon Web Services
eBay Web Services
Yahoo! Web
Services
Business logic
<<Front end>>
Customer
<<Web Appl>>
SOAShoppe
<<Service>>
eBay Web
<<Service>>
Amazon Web
<<Service>>
Yahoo! Web
Search Request
confirm Search
Invoke OfferSearch()
Invoke OfferSearch()
Invoke OfferSearch()
Offerlist()
Offerlist()
Offerlist()
Search Response
arrange
Technology Architecture of SOAShopper
WSDL/SOAPBased Consumer
REST / Ajax based
Consumer
Plain Old XML
SOAP Message
Internet
Provider<Source>
SEI
Java Objects
SoaShopper
std. XML
schema
Java Objects
Service Implementation
SOAShopper API
Integration Layer
Java
eBay API
SOAP
eBay Web
Service
Java
JAX WS
Amazon API
SOAP
Amazon Web
Service
Java
Yahoo! API
XML/HTTP
Yahoo! Web
Service
Technology Architecture of SOAShopper
WSDL/SOAPBased Consumer
REST / Ajax based
Consumer
Plain Old XML
SOAP Message
Internet
converted in to java objects by using
JAX-WS compiler
Provider<Source>
SEI
Manually
Java Objects
SoaShopper
std. XML
schema
Java Objects
Service Implementation
SOAShopper API
Integration Layer
Java
eBay API
SOAP
eBay Web
Service
Java
JAX WS
Amazon API
SOAP
Amazon Web
Service
Java
Yahoo! API
XML/HTTP
Yahoo! Web
Service
Technology Architecture of SOAShopper
WSDL/SOAPBased Consumer
REST / Ajax based
Consumer
Plain Old XML
SOAP Message
Internet
Provider<Source>
SEI
Standard XML Schema is used to build
request massage and response
Java Objects
SoaShopper
std. XML
schema
Java Objects
Service Implementation
SOAShopper API
Integration Layer
Java
eBay API
SOAP
eBay Web
Service
Java
JAX WS
Amazon API
SOAP
Amazon Web
Service
Java
Yahoo! API
XML/HTTP
Yahoo! Web
Service
Technology Architecture of SOAShopper
WSDL/SOAPBased Consumer
REST / Ajax based
Consumer
Plain Old XML
SOAP Message
Internet
Provider<Source>
SEI
Implementation Layer – Request
massage are serialized into java
objects.
Java Objects
SoaShopper
std. XML
schema
Java Objects
Service Implementation
It provides functionality by binding the
service on top of base lavel
SOAShopper API.
SOAShopper API
i.e. It interprets search request and
invokes proper API method .
Integration Layer
Java
eBay API
SOAP
eBay Web
Service
Java
JAX WS
Amazon API
SOAP
Amazon Web
Service
Java
Yahoo! API
XML/HTTP
Yahoo! Web
Service
Technology Architecture of SOAShopper
WSDL/SOAPBased Consumer
REST / Ajax based
Consumer
Plain Old XML
SOAP Message
Internet
Provider<Source>
SEI
Java Objects
SoaShopper
std. XML
schema
Java Objects
Service Implementation
SOAShopper API provides a common
wrapper around the shopping service
object models.
SOAShopper API
It’s methods Invokes Integration layer
Integration Layer
Java
eBay API
SOAP
eBay Web
Service
Java
JAX WS
Amazon API
SOAP
Amazon Web
Service
Java
Yahoo! API
XML/HTTP
Yahoo! Web
Service
Technology Architecture of SOAShopper
WSDL/SOAPBased Consumer
REST / Ajax based
Consumer
Plain Old XML
SOAP Message
Internet
Provider<Source>
SEI
Java Objects
SoaShopper
std. XML
schema
Java Objects
Service Implementation
Integration layer will implement the
interfaces defined by the SOAShopper
API to Shopping services’ APIs
i.e. It translates/maps the operations
into the syntax and semantics of source
systems.
SOAShopper API
Integration Layer
Java
eBay API
SOAP
eBay Web
Service
Java
JAX WS
Amazon API
SOAP
Amazon Web
Service
Java
Yahoo! API
XML/HTTP
Yahoo! Web
Service
Integration Layer
Bridge
Shopper
-imp
+offerSearch()
ComputerShopper
ShopperImp
+offerSearch()
CellphoneShopper
eBayShopperImp
eBay
Model
-port
eBayAPIInterface
AmazonShopperImp
Amazon
Model
-port
AWSECommercService
YahooShopperImp
Yahoo!
Model
-port
YahooRESTIntrface
e-Bay (SOAP) services implementation
eBay Web Service
WSDL
Buildtime
Endpoint
WSDL to Java
Mapping Tool
Service Endpoint
Interface
SOAP
Request
javax.xml.ws.Service
(factory class)
SOAP
Response
getEBayAPI(…)
Parameters
(JAXB
Generated
Class Instance)
Return Value
(JAXB
Generated
Class Instance)
Proxy Instance
Service
Endpoint
Interface
Handler Chain
Invocation
Handler
SOAPHandler
<SOAPMessageContext>
Yahoo!
(REST) services implementation
Yahoo! Shopping Web Services: Product Search
Endpoint
REST Documentation
(Human Readable)
Convert REST Documentation to an
Interface
(Manual Process)
XML/HTTP
Request
XML/HTTP
Response
REST Interface Implementation
Parameters
(Query String)
RESTful
Invocation
Methods
JAX-WS
Dispatch
Return Value
(JAXB-Generated
Class Instance)
JAXbContext






J2SE 5 (Java 2 Platform, Standard Edition 5)
Java EE 5 (Java Platform, Enterprise Edition 5)
Glassfish application server
Apache Ant 1.7.0
}
Build tools
Apache Maven 2.0
Netbeans 5.5 enterprise Edition – for BPEL
In main folder Maven installation was successful
Solution:
Change the
C:/mark.homepc into
the path of
commen_built.xml in
main pom.xml
Solution:
Change the path of
glassfish in the main
pom.xml without /bin
This error is to be resolved. We have asked author for the help in
special google group SOA Using Java Web Services


Errors due to backward slash(/) instead of
forward slash(\) for setting path
Space in path name (Ex. C:\Documents and
settings)






SOA Using Java Web Services – By Mark D Hansen,
April 2007.
Ant: The definitive Guide, Second Edition
By Steve Holzner, April 2005
A Hands-on Introduction to BPEL by Matjaz B Juric,
http://www.oracle.com/technology/pub/articles/matj
az_bpel1.html
Adam Sherman
http://www.sherman.ca/archives/2004/07/04/mave
n-vs-ant
www.w3school.com
Google group communication by Cristiano.
Related documents