1 / 10

Workshop

Workshop. Einführung in Web Services Web Services in der Praxis Überwachungssystem-Prototyp. Web Services – Übersicht. XML. SOAP, WSDL, UDDI, WSFL, ebXML, .NET, Sun ONE,. Web Services. _____ _____ _____ _____. _____ _____ _____ _____. _____ _____ _____ _____. HTML.

Download Presentation

Workshop

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. Workshop • Einführung in Web Services • Web Services in der Praxis • Überwachungssystem-Prototyp

  2. Web Services –Übersicht XML SOAP, WSDL, UDDI, WSFL, ebXML, .NET, Sun ONE, ... Web Services _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ HTML Web Services Web Services Microsoft COM+, DNA, ... Sun J2EE XML

  3. UDDI Service Registry Service Description publish find Service Description message Service Provider Service Requestor Service RPC WSDL SOAP Web Services –Das Prinzip XML Internet Service Description WSDL UDDI UDDI SOAP bind WSDL SOAP

  4. Web Application Server Service Provider Geschäftslogik (EJB, JMS, JDBC, ...) Web Service Apache SOAP/Axis Listener (RPC Router Servlet) SOAP Service Requestor Apache SOAP/Axis API Client Application Web Services – Ein Beispiel – Apache SOAP / Apache Axis

  5. Web Services – Ein Beispiel – Web Service und Client public class SimpleWebService { public String getUpperString(String t) { return t.toUpperCase(); } } Web Service String endpoint = "http://localhost:8080/axis/servlet/AxisServlet"; String webServiceName = "SimpleWebService"; String methodName = "getUpperString"; String param = "Dies ist ein Test!"; Object[] params = {param}; Service service = new Service(); Call call = (Call) service.createCall(); call.setTargetEndpointAddress(new URL(endpoint)); call.setProperty(Call.NAMESPACE, webServiceName); call.setOperationName(methodName); call.addParameter("firstParam", XMLType.XSD_STRING, Call.PARAM_MODE_IN); String ret = (String) call.invoke(params); Axis Client

  6. Web Services – Ein Beispiel – WSDL und Proxies • WebService -> WSDL: • Browser: <webservice-url> + ´?wsdl´ • WSDL -> Client Proxy (stub) • Tool: wsdl2java • Visual Studio .NET

  7. Web Services – UDDI-Registry • Kategorien: • white pages (Unternehmensverzeichnis) • yellow pages (Branchenverzeichnis) • green pages (Web Service Verzeichnis) • Zurzeit existierende Verzeichnisse: • http://uddi.microsoft.com/ • http://www-3.ibm.com/services/uddi/ • https://uddi.hp.com • http://udditest.sap.com/ • http://uddi.ariba.com/ • Globales öffentliches Verzeichnis

  8. Überwachungssystem-Prototyp –Akteure und Anwendungsfälle

  9. Überwachungspersonal Web Services JMX J/XFS Bankperipheriegerät Überwachungssystem-Prototyp –Architektur Schnittstellenoffenlegung Management Gerätezugriff

  10. Web Application Server SOAP Web Service SOAP RMI SOAP JMX MBean Server MBean RMI MBean MBean J/XFS Server ... ... ... Hardware Überwachungssystem-Prototyp –Architektur Java-Client Geldautomat C#-Client Middleware

More Related