1 / 24

Shopping is FUN!!!!!!!

Shopping is FUN!!!!!!!. Ravi Palejiya Ruofan Xu. Goal. 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.

mlau
Download Presentation

Shopping is FUN!!!!!!!

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Shopping is FUN!!!!!!! Ravi Palejiya Ruofan Xu

  2. Goal • 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.

  3. Objective SOAShopper project will meat the following objectives • Product Keywords Search on three different shopping services. • Select search criteria as Category, Currency, Price-Range (High price, Low price) • Product summery with quick link

  4. 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

  5. Sequence Diagram <<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

  6. Technology Architecture of SOAShopper WSDL/SOAP-Based Consumer REST / Ajax based Consumer SOAP Message Internet Provider<Source> SEI SoaShopper std. XML schema Java Objects Java Objects Service Implementation SOAShopper API Integration Layer Java Java Java Yahoo! API eBay API Amazon API SOAP SOAP XML/HTTP Amazon Web Service Yahoo! Web Service eBay Web Service Plain Old XML JAX WS

  7. Technology Architecture of SOAShopper WSDL/SOAP-Based Consumer REST / Ajax based Consumer SOAP Message Internet Provider<Source> SEI SoaShopper std. XML schema Java Objects Java Objects Service Implementation SOAShopper API Integration Layer Java Java Java Yahoo! API eBay API Amazon API SOAP SOAP XML/HTTP Amazon Web Service Yahoo! Web Service eBay Web Service Plain Old XML converted in to java objects by using JAX-WS compiler Manually JAX WS

  8. Technology Architecture of SOAShopper WSDL/SOAP-Based Consumer REST / Ajax based Consumer SOAP Message Internet Provider<Source> SEI SoaShopper std. XML schema Java Objects Java Objects Service Implementation SOAShopper API Integration Layer Java Java Java Yahoo! API eBay API Amazon API SOAP SOAP XML/HTTP Amazon Web Service Yahoo! Web Service eBay Web Service Plain Old XML Standard XML Schema is used to build request massage and response JAX WS

  9. Technology Architecture of SOAShopper WSDL/SOAP-Based Consumer REST / Ajax based Consumer SOAP Message Internet Provider<Source> SEI SoaShopper std. XML schema Java Objects Java Objects Service Implementation SOAShopper API Integration Layer Java Java Java Yahoo! API eBay API Amazon API SOAP SOAP XML/HTTP Amazon Web Service Yahoo! Web Service eBay Web Service Plain Old XML Implementation Layer – Request massage are serialized into java objects. It provides functionality by binding the service on top of base lavel SOAShopper API. i.e. It interprets search request and invokes proper API method . JAX WS

  10. Technology Architecture of SOAShopper WSDL/SOAP-Based Consumer REST / Ajax based Consumer SOAP Message Internet Provider<Source> SEI SoaShopper std. XML schema Java Objects Java Objects Service Implementation SOAShopper API Integration Layer Java Java Java Yahoo! API eBay API Amazon API SOAP SOAP XML/HTTP Amazon Web Service Yahoo! Web Service eBay Web Service Plain Old XML SOAShopper API provides a common wrapper around the shopping service object models. It’s methods Invokes Integration layer JAX WS

  11. Technology Architecture of SOAShopper WSDL/SOAP-Based Consumer REST / Ajax based Consumer SOAP Message Internet Provider<Source> SEI SoaShopper std. XML schema Java Objects Java Objects Service Implementation SOAShopper API Integration Layer Java Java Java Yahoo! API eBay API Amazon API SOAP SOAP XML/HTTP Amazon Web Service Yahoo! Web Service eBay Web Service Plain Old XML 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. JAX WS

  12. Bridge Shopper -imp +offerSearch() ComputerShopper CellphoneShopper eBayShopperImp AmazonShopperImp YahooShopperImp eBay Model Amazon Model Yahoo! Model -port -port -port eBayAPIInterface YahooRESTIntrface Integration Layer ShopperImp +offerSearch() AWSECommercService

  13. WSDL to Java Mapping Tool Buildtime eBay Web Service WSDL Service Endpoint Interface SOAP Request Endpoint javax.xml.ws.Service (factory class) SOAP Response getEBayAPI(…) Proxy Instance Parameters (JAXB Generated Class Instance) Service Endpoint Interface Handler Chain Invocation Handler SOAPHandler <SOAPMessageContext> Return Value (JAXB Generated Class Instance) e-Bay (SOAP) services implementation

  14. Yahoo! (REST) services implementation Yahoo! Shopping Web Services: Product Search REST Documentation (Human Readable) Endpoint REST Interface Implementation RESTful Invocation Methods JAX-WS Dispatch JAXbContext Convert REST Documentation to an Interface (Manual Process) XML/HTTP Request XML/HTTP Response Parameters (Query String) Return Value (JAXB-Generated Class Instance)

  15. Software configurations • J2SE 5 (Java 2 Platform, Standard Edition 5) • Java EE 5 (Java Platform, Enterprise Edition 5) • Glassfish application server • Apache Ant 1.7.0 • Apache Maven 2.0 • Netbeans 5.5 enterprise Edition – for BPEL }Build tools

  16. Errors & Solution In main folder Maven installation was successful

  17. Errors & Solution(Contd.) Solution: Change the C:/mark.homepc into the path of commen_built.xml in main pom.xml

  18. Errors & Solution(Contd.) Solution: Change the path of glassfish in the main pom.xml without /bin

  19. Errors & Solution(Contd.) This error is to be resolved. We have asked author for the help in special google group SOA Using Java Web Services

  20. Errors due to backward slash(/) instead of forward slash(\) for setting path • Space in path name (Ex. C:\Documents and settings)

  21. Demo

  22. References • SOA Using Java Web Services – By Mark D Hansen, April 2007. • Ant: The definitive Guide, Second EditionBy Steve Holzner, April 2005 • A Hands-on Introduction to BPEL by Matjaz B Juric, http://www.oracle.com/technology/pub/articles/matjaz_bpel1.html • Adam Sherman http://www.sherman.ca/archives/2004/07/04/maven-vs-ant • www.w3school.com • Google group communication by Cristiano.

  23. Thank you

More Related