1 / 10

Seminararbeit SOA CRYSTL-PIM P roduct I nformation M anagement

Seminararbeit SOA CRYSTL-PIM P roduct I nformation M anagement. Sandrine Ferrari Benjamin Bäni. CRYSTL-PIM ( P roduct I nformation M anagement) Kontext. Präsentation 6. April 2013 Technische Lösung für Produktinformationen via Webservice lesen. Kontext. Ziele. Lösungsansatz.

peta
Download Presentation

Seminararbeit SOA CRYSTL-PIM P roduct I nformation M anagement

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. Seminararbeit SOACRYSTL-PIMProductInformation Management Sandrine Ferrari Benjamin Bäni

  2. CRYSTL-PIM (Product Information Management)Kontext • Präsentation 6. April 2013 • Technische Lösung für Produktinformationen via Webservice lesen Kontext Ziele Lösungsansatz Implementierung Testing Demonstration

  3. CRYSTL-PIM (Product Information Management)Ziele Technische Lösung • Ein- und Ausgabemaske • Request und Response über HTTP (SOAP und XML) • Implementierung der Services • Manuelle und automatisierte Tests Kontext Ziele Lösungsansatz Implementierung Testing Demonstration

  4. CRYSTL-PIM (Product Information Management)Lösungsansatz (Grundidee) • Webservice mit SOAP • Service-Methoden zum Abfragen von einzelnen oder allen Produkten • Client mit Servlet/JSP Kontext Ziele Lösungsansatz Grundidee Aufbau Implementierung Testing Demonstration

  5. CRYSTL-PIM (Product Information Management)Lösungsansatz (Aufbau) Kontext Ziele Lösungsansatz Grundidee Aufbau Implementierung SOAP Server-Client Architektur Testing Demonstration Lösung mit SOAP via HTTP

  6. CRYSTL-PIM (Product Information Management)Implementierung http://localhost:8080/PimServer/ProductService Browser Kontext Ziele PIM-Client PIM-Server Lösungsansatz SOAP Message Implementierung Servlet/JSP Service Schema Architektur Service (Skeleton) DAO Service Testing Demonstration HSQL

  7. CRYSTL-PIM (ProductInformation Management)Product Web Service with JAX-WS • @WebService • publicinterfaceProductService { • @WebMethod(action="getProductById") • ProductTOgetProductById(@WebParam(name="id") Long id); • } • @WebService(endpointInterface = "ch.crystl.pim.service.ProductService") • publicclassProductServiceImplimplementsProductService { • @Override • publicProductTOgetProductById(Long id) { .. } • } • @XmlAccessorType(XmlAccessType.FIELD) • @XmlType(name = "productTO", propOrder = { • "results", • "message", • "returncode" • }) • publicclassProductTO{ • @XmlElement(nillable = true) • protected List<Product> results; • protected String message; • protected String returncode; • } Ausgangslage Ziele Lösungsansatz Implementierung Architektur Service Testing Demonstration

  8. CRYSTL-PIM (Product Information Management)Unit-Testing mit SoapUI Endpoint: http://localhost:8088/mockProductServiceImplPortBinding HSQL Kontext PIM-Server Junit-Tests Ziele PimDB TestProductDAO Lösungsansatz Implementierung SoapUI Testing start/stop TestMockService MockService Demonstration run TestProductService TestSuite TestSuite TestSuite

  9. CRYSTL-PIM (Product Information Management)Demonstration Kontext Ziele Lösungsansatz Implementierung Testing Demonstration

  10. CRYSTL-PIM (Product Information Management)Fragen ? Kontext Ziele Lösungsansatz Implementierung Testing Demonstration Sandrine Ferrari Benjamin Bäni

More Related