360 likes | 909 Views
Web Services For Devices: The .NET Vision Realized. Rob Williams Program Manager Windows Device Experience Group Robwilli @ microsoft.com Microsoft Corporation. Session Outline. Web Services on devices (WSD) What is WSD? The value of WSD The Device Profile for Web Services
E N D
Web Services For Devices: The .NET Vision Realized Rob Williams Program ManagerWindows Device Experience Group Robwilli @ microsoft.com Microsoft Corporation
Session Outline • Web Services on devices (WSD) • What is WSD? • The value of WSD • The Device Profile for Web Services • Specification update • Implementation updates • Building WSD Devices: Real Solutions
Session Outline • Building a Device Class: Printers and Scanners • The Path to WSD Projectors and Displays • Creating Protocols for Building Automation
What Is Web Services for Devices? Services PCs Servers Devices Device Profile for Web Services WS Protocols TCP/IP
Web Services on devices • Protocols for consuming and controlling services on network connected devices • Built on industry standards defined in the Device Profile for Web Services (DPWS) • WS-* • Extensible Markup Language (XML) • Simple Object Access Protocol (SOAP) • Web Service Definition Language (WSDL) • Message Transmission Optimization Mechanism (MTOM) • Lightweight subset of WS Specifications • Security based on SSL/TLS • Shipping in Windows Longhorn
The Value Of WSD • Custom protocols are costly • Expensive to develop and maintain • Limited 3rd party applications for device • Distracted device vendors from key business area • Poor integrated experience in Windows • Opportunity for Device manufactures to innovate • Build on top of Windows infrastructure • Devices vendors can concentrate on building great devices • Innovate in core business areas • Interoperate with other parties • Build devices that work with 3rd party applications • Build devices that work with Internet services
The Value Of WSD • 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 • And many others!
The Value Of WSD • Gain a competitive advantage • Create new markets • Opportunity for leadership in new markets • Access enormous ISV and developer base • Simplify the customer experience!
WSD Specifications Status • The Device Profile for Web Services • Published 9/2004 • New revision under co-author review • Interop mid this year • Shipping in Longhorn
WSD Specifications Status • WS-Discovery • 04/2005 published last Friday! • Great Interop success in 12/2004 • IRP terms have changed to RAND-Z
Building WSD Client/Server In Longhorn • WSDAPI.DLL is part of Longhorn • Abstracts WSD for the application developer • WSD Client or Service • Integrated with Plug and Play-X (PnP-X) • Part of Windows Connect Now • Shipping in Longhorn Beta 1 • Device Class component • WSDL definition to drive codegen tool • Codegen output becomes part of your application • Application software • Write to codegen generated functions • Add value in area of expertise
Device Profile For Web Services In Longhorn Applications Provided by: Microsoft Web Services for Devices API (WSDAPI.DLL)l Function Discovery ISV IHV WS-Discovery (Part of WSDAPI.DLL) Network WSD Devices
Building WSD Devices • DPWS Protocol components • HTTP & TCP/IP • SOAP/XML parser • TLS/SSL needed for optional security • WS-* Specifications • WS-Discovery • WS-MetaData Exchange • WS-Eventing • Device Class component • WSDL definition • Device control software
Defining WSDL Contracts For Devices • Control • Configuration • Manipulation • Status • Control results • Device ready / Device in use • Maintenance • Diagnostics • Remote diagnostics for customer support • Remote support services for device
Examples Of WSD • Network Printing and Scanning • Network Projectors and Displays • Building Control
Building A WSD Printer Tali Roth Lead Program Manager Digital Documents Talir @ microsoft.com Microsoft Corporation
Printing And Imaging Problem Set • Many scenarios to solve for network printers and scanners • Discovery • How can you get a “plug and play” experience? • Security • How can you enable real security? • Control over who can connect to the printer • Control over data sent to the printer • Secure wireless access • Control and Response • How can you configure your driver? • How can you know when your job has finished printing? • How can you get rich status to enable a status monitor or ordering applet? • How can you enable one-button scanning? • Consistency • How can you use one solution for all the functions on your multi-function printer?
Web Services Solution • Web Services solves these problems! • WS-Discovery enables “plug and play” for network devices • WS-Security enables security scenarios • WS-Eventing enables auto-configuration, rich status • Device Profile for Web Services enables consistency throughout all classes of devices
Writing The Windows Device Protocols (WSDL) • Microsoft has written Print and Scan Protocols (WSDL) • Both are completely extensible • Can extend the protocols • Can extend new print port monitor (WSDMon) • Independent Hardware Vendors (IHVs) can also create their own protocols that run over Web Services • Microsoft defined the print and scan WSDL and evolved the specification based on IHV feedback • Plugfests and continuing vendor engagements planned to get additional feedback • Will be delivered in the Windows Driver Kit
Status Of Vendor Adoption • Microsoft is working with many tier 1 printing and imaging IHVs • Print specification currently at v0.3 • Scan specification currently at v0.2 • Feedback very positive so far – IHVs see value proposition of Web Services for Devices • Six hardware implementations were brought to first print plugfest held in February 2005 • See resources for information on how to get a copy of the Print and Scan protocols
Installing A WS-Based Printer Key Points Ease of installation Automatic driver configuration True end of job support Shown using Canon imageRUNNER with Color MEAP Technology
Building A WSD Projector Todd Manion Program Manager Collaboration Technologies Tmanion @ microsoft.com Microsoft Corporation
Customer Pain Points With Today’s Projectors • Expensive to manage and maintain • No integration with current IT systems • Security and upgrade management • Remote diagnostics and configuration • Fault prediction • Asset and usage tracking • Complicated to use • Each presenter must adjust display and audio settings • Slows flow of meeting • Play musical chairs to sit close to the projector • Difficult to transition between presenters • Impossible to provide consistent, better presentation management tools
Web Services Helps Solve These Problems • WS Allows for remote configuration • WS-Discovery enables “plug and play” • Makes projectors easy to find and use • WS-Eventing enables auto-configuration • Easy to setup displays and audio setting
Web ServicesResidential Device Control Eric Eichensehr Chief Technology Officer Exceptional Innovation
Web Services in Building Control • Industry moving to IP based connectivity and control • DPWS is the right protocol for residential device control • WS-Security enables security scenarios • WS-Eventing enables rich status • Device Profile for Web Services enables consistency throughout all classes of devices
Residential Device Control Key Points Ease of installation Integrated device control Device eventing status to host
DPWS Call To Action • Integrate Web Services into your devices to support ease of discoverability and use • Participate in the DPWS interops and workshops • Work with Microsoft and your industry to define WDPs (WSDLs) for your device class • Build new businesses in a world of connected devices!
Web Services For Devices Resources WS and WSD Sites • Web Services • http://msdn.microsoft.com/webservices/default.aspx • 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/2004/08/devprof • WS-Discovery • http://msdn.microsoft.com/ws/2004/10/ws-discovery/
Printing And Imaging Resources • E-Mail • prninfo @ microsoft.com • wiainfo @ microsoft.com Use these to request WDP Print, WDP Scan, the Auto-configuration cookbook, or NCDMon bits • Web Resources • Printer Working Group • http://www.pwg.org • Printing – Architecture and Driver Support • http://www.microsoft.com/whdc/device/print/default.mspx • Still Imaging/WIA Technologies • http://www.microsoft.com/whdc/device/StillImage/default.mspx • MSDN Developer Community Chats • Printer Drivers: Ask the Experts Online • http://msdn.microsoft.com/chats/windows/windows_102402.asp • Windows Drivers: Printer Drivers • http://msdn.microsoft.com/chats/windows/windows_101602.asp • Windows Drivers: Printing and Networking • http://msdn.microsoft.com/chats/windows/windows_022002.asp
Related Talks • WinHEC • TTWMO05010_Implementations for Web Services • TWMO05004_Device and PC Integration with Discovery, Plug and Play, Publication, and Network Explorer • Driver DevCon • 4/28 – Web Services for Scanners Step-by-Step • 4/28 – Web Services for Printers Step-by-Step
Community Resources • Windows Hardware and Driver Central (WHDC) • www.microsoft.com/whdc/default.mspx • Technical Communities • www.microsoft.com/communities/products/default.mspx • Non-Microsoft Community Sites • www.microsoft.com/communities/related/default.mspx • Microsoft Public Newsgroups • www.microsoft.com/communities/newsgroups • Technical Chats and Webcasts • www.microsoft.com/communities/chats/default.mspx • www.microsoft.com/webcasts • Microsoft Blogs • www.microsoft.com/communities/blogs
© 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.