320 likes | 516 Views
Web Services and the Devices Profile . Jorgen Thelin Program Manager Connected Systems Division JThelin@microsoft.com. What Is Web Services?. Software talking to Software. Services. Servers. PCs. WS Protocols. TCP/IP. What Is Web Services on devices?.
E N D
Web Services and the Devices Profile Jorgen Thelin Program Manager Connected Systems Division JThelin@microsoft.com
What Is Web Services? Software talking to Software Services Servers PCs WS Protocols TCP/IP
What Is Web Services on devices? Software talking to Software on devices Services Servers Devices PCs Device Profile for Web Services WS Protocols TCP/IP
“Scales Away” spans organizations & geographies “Scales Out” by adding machines “Scales Up” on large systems “Scales In” on a machine “Scales Down” to devices Web ServicesScales
Why Web Services • Devices need to interoperate! • Building devices that work with 3rd party applications increases value to customer • Build devices that work with Internet services could add revenue streams • HTML and browsers are limited • Browsers can’t automatically collect data • Browsers can’t automatically control devices • Custom protocols are costly
Quality • WS protocols will be long-lived • They’re general purpose and are being adopted by many large companies • Enterprise-ready framework • Already proven in the enterprise • Allow your devices to move seamlessly between So-Ho and enterprise environments • Multi-party reviews and interop events for each spec
Security • Integrity, Confidentiality • Channel-Based (TLS) • Message-Based (WS-Security) • Secure content • Scenario – print job content securely over the wire, allowing devices to be implemented at secure sites • Secure communications • Scenario – secure check printing
The Device Profile for Web ServicesScaling WS to limited resource devices
“Staple” Pull relevant specs into scope “Redline” Add constraints on use of those specs “Glue” Define missing bits between specs Some will migrate back into specs SOAP 1.2 WS-Addressing WS-Metadata Exchange WSDL 1.1 WS-Discovery WS-Eventing Profile Recipe: Staple, Redline, Glue Conformance Claim Action Filter ThisModel Metadata ThisDevice Metadata Policy Assertions Policy Assertions
Device Profile for Web Services • Lightweight subset of WS specifications • Described in Device Profile for Web Services (DPWS) specification • Security based on SSL/TLS • Shipping in Windows Vista and Windows CE
Device Profile for Web Services • Built on the foundation of industry standard Web Services • Extensible Markup Language (XML) • Simple Object Access Protocol (SOAP) • WS-Discovery, WS-Addressing… (WS-*) • Web Service Definition Language (WSDL) • Message Transmission Optimization Mechanism (MTOM) • Developed using the WS workshop process • Co-Authors include Intel, Canon, Ricoh, and Lexmark.
Devices Profile Protocol Protocol Protocol DMR Commands Print Commands IGD Commands IGD Events DMR Events Print Events IGD Capabilities Print Capabilities DMR Capabilities Metadata WS-Metadata Exchange WS-Discovery Device Extensions WS-Policy Assurances WS-Security TLS BP 1.1 Sec. 4 Messaging WS-Eventing WSDL SOAP WS-Addressing MTOM XML Schema Foundation XML Infoset SOAP / UDP XML 1.0 XML Namespaces MIME SOAP / HTTP
Vista WS device support • PC Discovery • People Near Me • BITS • Projectors • Integration with current IT systems • Remote diagnostics and configuration • Asset and usage tracking • Speeds flow of meeting • Automatic display and audio settings • Easy to transition between presenters
Vista WS device support • Printers • “plug and play” experience for network printers • Security • Control over who can connect to the printer • Privacy of data sent to the printer • Rich printer status • Scanners • “Plug and Play” experience for network scanners • enable one-button scanning • Secure scan delivery
Building Embedded Implementation • DPWS Protocol components • HTTP & TCP/IP • SOAP and XML parser • TLS/SSL optional for security • WS-* Specifications • WS-Discovery • WS-Transfer • WS-Eventing • Use 3rd Party stacks for rapid development • eSOL
Building WS on devices in WCF • Indigo is now Windows Communication Foundation • Managed code in C# for rapid development • WCF Samples include WS-Discovery and SOAP over UDP transports. • Interop tested with many industry stacks • Great rapid prototype environment for both clients and devices
Building WSD Client/Server in Native Code • WSDAPI.DLL is the foundation for Printer and Projector support. • Abstracts WSD for the application developer • WSD Client or Service • Integrated with Plug and Play-X (PnP-X) • Device Class component • WSDL definition to drive codegen tool • Codegen output becomes part of your application • Application software • Write to codegen generated functions
Web Services On Devices Resources WS and WSD Sites • Web Services • http://msdn.microsoft.com/webservices/default.aspx • http://msdn.microsoft.com/windowsvista/connected/ • Web Services Feedback Workshops • http://msdn.microsoft.com/webservices/community/workshops/ • Web Services Basics • http://msdn.microsoft.com/webservices/understanding/webservicebasics/default.aspx • Devices Profile for Web Services • http://msdn.microsoft.com/ws/2006/02/devprof (soon) • http://msdn.microsoft.com/ws/2005/05/devprof • WS-Discovery • http://msdn.microsoft.com/ws/2005/04/ws-discovery/
Feedback and Interop Workshops Specification Published Revise spec Standards Org WS-I Idea Increasing Industry Participation WS-* Specifications Process Step 1 InitialDevelopment Step 2Broader Community Participation Step 3 Standardization Step 4 Profiling • Process reconciles conflicting goals • Quality of engineering • Time to market • Breadth of industry support
Step 2 – Workshops & Community Dev WS-* Spec Status Step 3 – Standardization Step 4 – Approved Standard Infrastructure and Profiles Metadata WS-Federation WS-Management Devices Profile WS-Metadata Exchange Assurances WS-Secure Conversation WS-Business Activity WS-Discovery WS-Trust WS-Atomic Transaction UDDI WS-Security WS-Reliable Messaging WS-Coordination WS-Policy Messaging WS-Transfer WS-Enumeration WS-Eventing WSDL SOAP WS-Addressing MTOM XML Schema Foundation XML Infoset SOAP / UDP XML 1.0 XML Namespaces MIME SOAP / HTTP
Delivering WS-* - Microsoft • Microsoft is delivering implementations of all WS-* specs • WSE 2.0 / 3.0 • Interim coverage of evolving security and policy specs • Indigo • Full coverage of all SRTP Advanced Web Services specs • Security • Reliable Messaging • Transactions • Policy • Windows Server 2003 Release 2 • WS-Management stack for interoperable system management • Windows Longhorn • WS-Devices stack for printer and networked device connectivity
WindowsServer 2003 “R2” Wave Longhorn Wave Microsoft WS-* Product Roadmap • VS 2005 + WSE 3.0 • SOAP 1.1, 1.2 • WSDL 1.1 • MTOM • WS-Addressing 2004/08 (or REC) • WS-Security 1.0 (U/P, X509, Kerberos) • WS-Secure Conversation • WS-Trust • WS-Policy based • Limited wire Interop with WSE 2.0 • AD Federation Services in R2 • Cross-organizational Identity Federation • Web SSO • SQL Server 2005 • SOAP 1.1,1.2 • WSDL1.1 • WS-Security 1.0 • Management • WS-Management VS2003 + Web Services Enhancements (WSE) 2.0 • SOAP 1.1 • WSDL 1.1 • WS-Addressing 2004/03 • WS-Security 1.0 (U/P, X509, Kerberos) • WS-Secure Conversation 2004/04 • WS-Trust 2004/04 • WS-Policy based Indigo Wire-level interop with WSE3.0 In addition: • MTOM • SAML Token Profile 1.0 • Security Policy • WS-Federation Active Client - Enables easy to build STS • WS-RM 2005/02, Policy • WS-AT/WS-C 2005/02, Policy • WS-Policy/PolicyAttachment • WS-MEX Easy to use Digital Identity / InfoCard Active Directory: Federation WSD API: Device Profile
DPWS WS-D Devices WS-* - Industry Adoption WS-RM WS-AT WS-SecureConv Assurances SOAP / WSDL WS-Security WS-Trust WS-Fed MTOM Messaging Security WS-P MEX Metadata WS-XFer / Enum WS-M Mgmt © 2003-2006 Microsoft Corporation. All rights reserved. The information contained in this document represents the current view at the time of publication and is subject to change.
Opportunities in Web Services • Devices are moving to Web Services • Printer • Scanner • Projectors • IGD • Industries are moving to Web Services • Healthcare • Retail • Devices Integrate with existing Web Services • Amazon, Mappoint, Terraserver, and many others
Opportunities in Web Services • Opportunities exist for new revenue streams • Create secure end-to-end applications that provide great end user benefits • Directly sell services or supplies to your customers • From • Consumables, toner • Extended warranty • Product upgrades • To • Data services • Storage services • And more • Integrate with existing Web Services • Amazon, Mappoint, Terraserver, and many others