+ All Categories
Home > Technology > Web Services and Devices Profile for Web Services (DPWS)

Web Services and Devices Profile for Web Services (DPWS)

Date post: 20-Aug-2015
Category:
Upload: jorgen-thelin
View: 3,583 times
Download: 1 times
Share this document with a friend
32
Microsoft Confidential Web Services and Web Services and the Devices Profile the Devices Profile Jorgen Thelin Jorgen Thelin Program Manager Program Manager Connected Systems Division Connected Systems Division [email protected] [email protected]
Transcript
Page 1: Web Services and Devices Profile for Web Services (DPWS)

Microsoft Confidential

Web Services and Web Services and the Devices Profile the Devices Profile Jorgen ThelinJorgen ThelinProgram ManagerProgram ManagerConnected Systems DivisionConnected Systems [email protected]@microsoft.com

Page 2: Web Services and Devices Profile for Web Services (DPWS)

Microsoft Confidential

What Is Web Services?What Is Web Services?

PCsPCsServersServers

ServicesServices

TCP/IPTCP/IPWS ProtocolsWS Protocols

Software talking to SoftwareSoftware talking to Software

Page 3: Web Services and Devices Profile for Web Services (DPWS)

Microsoft Confidential

What Is Web Services on What Is Web Services on devices?devices?

PCsPCsDevicesDevicesServersServers

ServicesServices

TCP/IPTCP/IPWS ProtocolsWS Protocols

Device Profile for Web ServicesDevice Profile for Web Services

Software talking to Software on devicesSoftware talking to Software on devices

Page 4: Web Services and Devices Profile for Web Services (DPWS)

Microsoft Confidential

Web ServicesWeb ServicesScalesScales

““Scales Down”Scales Down”to devicesto devices

““Scales In” Scales In” on a machineon a machine

““Scales Up” Scales Up” on large on large systemssystems

““Scales Away” Scales Away” spans organizations spans organizations

& geographies& geographies

““Scales Out”Scales Out”by adding by adding machinesmachines

Page 5: Web Services and Devices Profile for Web Services (DPWS)

Microsoft Confidential

Why Web ServicesWhy Web ServicesDevices need to interoperate! Devices need to interoperate!

Building devices that work with 3Building devices that work with 3rdrd party party applications increases value to customerapplications increases value to customerBuild devices that work with Internet Build devices that work with Internet services could add revenue streamsservices could add revenue streams

HTML and browsers are limitedHTML and browsers are limitedBrowsers can’t automatically collect dataBrowsers can’t automatically collect dataBrowsers can’t automatically control Browsers can’t automatically control devicesdevices

Custom protocols are costlyCustom protocols are costly

Page 6: Web Services and Devices Profile for Web Services (DPWS)

Microsoft Confidential

QualityQualityWS protocols will be long-livedWS protocols will be long-lived

They’re general purpose and are being adopted They’re general purpose and are being adopted by many large companiesby many large companies

Enterprise-ready frameworkEnterprise-ready frameworkAlready proven in the enterpriseAlready proven in the enterpriseAllow your devices to move seamlessly between Allow your devices to move seamlessly between So-Ho and enterprise environmentsSo-Ho and enterprise environments

Multi-party reviews and interop events for Multi-party reviews and interop events for each speceach spec

Page 7: Web Services and Devices Profile for Web Services (DPWS)

Microsoft Confidential

SecuritySecurityIntegrity, ConfidentialityIntegrity, Confidentiality

Channel-Based (TLS)Channel-Based (TLS)Message-Based (WS-Security)Message-Based (WS-Security)

Secure contentSecure contentScenario – print job content securely over Scenario – print job content securely over the wire, allowing devices to be the wire, allowing devices to be implemented at secure sitesimplemented at secure sites

Secure communicationsSecure communicationsScenario – secure check printingScenario – secure check printing

Page 8: Web Services and Devices Profile for Web Services (DPWS)

Microsoft Confidential

The Device Profile The Device Profile for Web Servicesfor Web Services

Scaling WS to limited resource Scaling WS to limited resource devicesdevices

Page 9: Web Services and Devices Profile for Web Services (DPWS)

Microsoft Confidential

Profile Recipe: Staple, Redline, Profile Recipe: Staple, Redline, GlueGlue

““Staple”Staple”Pull relevant specs Pull relevant specs into scopeinto scope

““Redline”Redline”Add constraints on Add constraints on use of those specsuse of those specs

““Glue”Glue”Define missing bits Define missing bits between specsbetween specsSome will migrate Some will migrate back into specsback into specs

SOAP 1.2WS-

AddressingWS-Metadata Exchange

WSDL 1.1WS-

DiscoveryWS-Eventing

ThisModelMetadataThisDevice

Metadata

ActionFilter

ConformanceClaim

PolicyAssertionsPolicy

Assertions

Page 10: Web Services and Devices Profile for Web Services (DPWS)

Microsoft Confidential

Device Profile for Web Device Profile for Web ServicesServices

Lightweight subset of WS Lightweight subset of WS specificationsspecificationsDescribed in Device Profile for Web Described in Device Profile for Web Services (DPWS) specification Services (DPWS) specification Security based on SSL/TLSSecurity based on SSL/TLSShipping in Windows Vista and Shipping in Windows Vista and Windows CEWindows CE

Page 11: Web Services and Devices Profile for Web Services (DPWS)

Microsoft Confidential

Device Profile for Web Device Profile for Web Services Services Built on the foundation of industry Built on the foundation of industry

standard Web Servicesstandard Web ServicesExtensible Markup Language (XML)Extensible Markup Language (XML)Simple Object Access Protocol (SOAP)Simple Object Access Protocol (SOAP)WS-Discovery, WS-Addressing… (WS-*)WS-Discovery, WS-Addressing… (WS-*)Web Service Definition Language Web Service Definition Language (WSDL) (WSDL) Message Transmission Optimization Message Transmission Optimization Mechanism (MTOM)Mechanism (MTOM)

Developed using the WS workshop Developed using the WS workshop processprocessCo-Authors include Intel, Canon, Co-Authors include Intel, Canon, Ricoh, and Lexmark.Ricoh, and Lexmark.

Page 12: Web Services and Devices Profile for Web Services (DPWS)

Microsoft Confidential

ProtocolDMRCapabilities

DMRCommands

DMREvents

ProtocolIGDCapabilities

IGDCommands

IGDEvents

Devices ProfileDevices Profile

Assurances

Messaging

SOAP

WS-Security

MTOMWS-Addressing

Metadata

WS-Policy

WSDL

WS-MetadataExchange

XML Schema

TLS

Foundation

SOAP / HTTPMIME

XML Infoset

XML 1.0XML

Namespaces

BP 1.1 Sec. 4

WS-Discovery

WS-Eventing

DeviceExtensions

SOAP / UDP

ProtocolPrintCapabilities

PrintCommands

PrintEvents

Page 13: Web Services and Devices Profile for Web Services (DPWS)

Microsoft Confidential

Devices Profile Discovery Devices Profile Discovery BootstrapBootstrap

Transfer - Get message to device – over HTTP

Transfer – Get Response containing DP meta data

Devices Profile Discovery Bootstrap – Discovery Hello

DeviceClient

WS-D - Resolve (to EPR)

WS-D – Resolve Match containing EPR

WS-Discovery Hello (containing EPR)

UDP Multicast

UDP Unicast

HTTP

Page 14: Web Services and Devices Profile for Web Services (DPWS)

Microsoft Confidential

Typical Devices Profile Typical Devices Profile Message ExchangesMessage Exchanges

Page 15: Web Services and Devices Profile for Web Services (DPWS)

Microsoft Confidential

Microsoft Microsoft ImplementatioImplementatio

nsns

Page 16: Web Services and Devices Profile for Web Services (DPWS)

Microsoft Confidential

Vista WS device supportVista WS device supportPC DiscoveryPC DiscoveryPeople Near MePeople Near MeBITSBITSProjectorsProjectors

Integration with current IT systemsIntegration with current IT systemsRemote diagnostics and configurationRemote diagnostics and configurationAsset and usage tracking Asset and usage tracking

Speeds flow of meetingSpeeds flow of meetingAutomatic display and audio settingsAutomatic display and audio settingsEasy to transition between presentersEasy to transition between presenters

Page 17: Web Services and Devices Profile for Web Services (DPWS)

Microsoft Confidential

Vista WS device supportVista WS device supportPrintersPrinters

““plug and play” experience for network plug and play” experience for network printersprintersSecuritySecurity

Control over who can connect to the printerControl over who can connect to the printerPrivacy of data sent to the printerPrivacy of data sent to the printer

Rich printer statusRich printer status

ScannersScanners““Plug and Play” experience for network Plug and Play” experience for network scannersscannersenable one-button scanningenable one-button scanningSecure scan deliverySecure scan delivery

Page 18: Web Services and Devices Profile for Web Services (DPWS)

Microsoft Confidential

BuildingBuildingYour DeviceYour Device

Page 19: Web Services and Devices Profile for Web Services (DPWS)

Microsoft Confidential

Building Embedded Building Embedded ImplementationImplementation

DPWS Protocol componentsDPWS Protocol componentsHTTP & TCP/IPHTTP & TCP/IPSOAP and XML parserSOAP and XML parserTLS/SSL optional for securityTLS/SSL optional for securityWS-* SpecificationsWS-* Specifications

WS-DiscoveryWS-DiscoveryWS-TransferWS-TransferWS-EventingWS-Eventing

Use 3Use 3rdrd Party stacks for rapid Party stacks for rapid developmentdevelopment

eSOLeSOL

Page 20: Web Services and Devices Profile for Web Services (DPWS)

Microsoft Confidential

BuildingBuildingCustom ClientsCustom Clients

Page 21: Web Services and Devices Profile for Web Services (DPWS)

Microsoft Confidential

Building WS on devices in Building WS on devices in WCFWCF

Indigo is now Windows Indigo is now Windows Communication FoundationCommunication FoundationManaged code in C# for rapid Managed code in C# for rapid developmentdevelopmentWCF Samples include WS-Discovery WCF Samples include WS-Discovery and SOAP over UDP transports.and SOAP over UDP transports.Interop tested with many industry Interop tested with many industry stacksstacksGreat rapid prototype environment Great rapid prototype environment for both clients and devicesfor both clients and devices

Page 22: Web Services and Devices Profile for Web Services (DPWS)

Microsoft Confidential

Building WSD Building WSD Client/Server in Native Client/Server in Native CodeCodeWSDAPI.DLL is the foundation for Printer and WSDAPI.DLL is the foundation for Printer and

Projector support.Projector support.Abstracts WSD for the application developerAbstracts WSD for the application developerWSD Client or ServiceWSD Client or ServiceIntegrated with Plug and Play-X (PnP-X)Integrated with Plug and Play-X (PnP-X)

Device Class componentDevice Class componentWSDL definition to drive codegen toolWSDL definition to drive codegen toolCodegen output becomes part of your applicationCodegen output becomes part of your application

Application softwareApplication softwareWrite to codegen generated functionsWrite to codegen generated functions

Page 23: Web Services and Devices Profile for Web Services (DPWS)

Microsoft Confidential

Web Services On Devices Web Services On Devices ResourcesResourcesWS and WSD SitesWS and WSD Sites

Web ServicesWeb Serviceshttp://msdn.microsoft.com/webservices/default.aspxhttp://msdn.microsoft.com/webservices/default.aspx

http://msdn.microsoft.com/windowsvista/connechttp://msdn.microsoft.com/windowsvista/connected/ted/

Web Services Feedback WorkshopsWeb Services Feedback Workshopshttp://msdn.microsoft.com/webservices/community/workshttp://msdn.microsoft.com/webservices/community/workshops/hops/

Web Services BasicsWeb Services Basicshttp://msdn.microsoft.com/webservices/understanding/whttp://msdn.microsoft.com/webservices/understanding/webservicebasics/default.aspxebservicebasics/default.aspx

Devices Profile for Web ServicesDevices Profile for Web Serviceshttp://msdn.microsoft.com/ws/2006/02/devprofhttp://msdn.microsoft.com/ws/2006/02/devprof (soon) (soon)http://msdn.microsoft.com/ws/2005/05/devprofhttp://msdn.microsoft.com/ws/2005/05/devprof

WS-DiscoveryWS-Discoveryhttp://msdn.microsoft.com/ws/2005/04/ws-discovery/http://msdn.microsoft.com/ws/2005/04/ws-discovery/

Page 24: Web Services and Devices Profile for Web Services (DPWS)

Microsoft Confidential

Questions?Questions?

Page 25: Web Services and Devices Profile for Web Services (DPWS)

BackupBackup

Page 26: Web Services and Devices Profile for Web Services (DPWS)

Microsoft Confidential

WS-* Specifications ProcessStep 2

Broader Community Participation

Step 1Initial

Development

Process reconciles conflicting goals• Quality of engineering• Time to market• Breadth of industry support

Step 3Standardization

Step 4Profiling

Increasing Industry ParticipationIncreasing Industry Participation

Specification Specification PublishedPublished

Feedback and Feedback and Interop Interop

WorkshopsWorkshopsRevise specRevise spec Standards OrgStandards Org WS-IWS-I

Idea

Page 27: Web Services and Devices Profile for Web Services (DPWS)

Microsoft Confidential

WS-* Spec Status

Assurances

Messaging

SOAP

WS-Security

MTOMWS-Addressing

Metadata

WS-Policy

WSDL

WS-Discovery

UDDI

WS-MetadataExchange

WS-Transfer WS-Enumeration WS-Eventing

XML Schema

WS-ReliableMessaging

WS-Coordination

WS-AtomicTransaction

WS-BusinessActivity

WS-Trust

WS-SecureConversation

Infrastructureand ProfilesWS-ManagementWS-Federation

DevicesProfile

Foundation

SOAP / HTTP

SOAP / UDP

MIME

XML Infoset

XML 1.0XML

Namespaces

Step 4 – Approved Standard

Step 3 – Standardization

Step 2 – Workshops & Community Dev

Page 28: Web Services and Devices Profile for Web Services (DPWS)

Microsoft Confidential

Delivering WS-* - Delivering WS-* - MicrosoftMicrosoft

Microsoft is delivering implementations of all WS-* Microsoft is delivering implementations of all WS-* specsspecs

WSE 2.0 / 3.0WSE 2.0 / 3.0Interim coverage of evolving security and policy specsInterim coverage of evolving security and policy specs

IndigoIndigoFull coverage of all SRTP Advanced Web Services specsFull coverage of all SRTP Advanced Web Services specs

SecuritySecurityReliable MessagingReliable MessagingTransactionsTransactionsPolicyPolicy

Windows Server 2003 Release 2Windows Server 2003 Release 2WS-Management stack for interoperable system managementWS-Management stack for interoperable system management

Windows LonghornWindows LonghornWS-Devices stack for printer and networked device WS-Devices stack for printer and networked device connectivityconnectivity

Page 29: Web Services and Devices Profile for Web Services (DPWS)

Microsoft Confidential

VS 2005 + WSE 3.0VS 2005 + WSE 3.0 SOAP 1.1, 1.2 SOAP 1.1, 1.2 WSDL 1.1 WSDL 1.1 MTOMMTOM WS-Addressing 2004/08 (or REC)WS-Addressing 2004/08 (or REC) WS-Security 1.0 WS-Security 1.0

(U/P, X509, Kerberos)(U/P, X509, Kerberos) WS-Secure ConversationWS-Secure Conversation WS-Trust WS-Trust WS-Policy basedWS-Policy based Limited wire Interop with WSE 2.0Limited wire Interop with WSE 2.0

AD Federation Services in R2AD Federation Services in R2 Cross-organizational Identity Cross-organizational Identity

FederationFederation Web SSOWeb SSO

SQL Server 2005SQL Server 2005 SOAP 1.1,1.2 SOAP 1.1,1.2 WSDL1.1WSDL1.1 WS-Security 1.0WS-Security 1.0

ManagementManagement WS-ManagementWS-Management

Microsoft WS-* Product Microsoft WS-* Product RoadmapRoadmap

VS2003 + Web Services VS2003 + Web Services

Enhancements (WSE) 2.0Enhancements (WSE) 2.0 SOAP 1.1SOAP 1.1 WSDL 1.1WSDL 1.1 WS-Addressing 2004/03WS-Addressing 2004/03 WS-Security 1.0 (U/P, X509, WS-Security 1.0 (U/P, X509,

Kerberos)Kerberos) WS-Secure Conversation WS-Secure Conversation

2004/042004/04 WS-Trust 2004/04WS-Trust 2004/04 WS-Policy basedWS-Policy based

IndigoIndigoWire-level interop with WSE3.0Wire-level interop with WSE3.0

In addition:In addition: MTOMMTOM SAML Token Profile 1.0SAML Token Profile 1.0 Security PolicySecurity Policy WS-Federation Active ClientWS-Federation Active Client

- Enables easy to build STS- Enables easy to build STS WS-RM 2005/02, PolicyWS-RM 2005/02, Policy WS-AT/WS-C 2005/02, PolicyWS-AT/WS-C 2005/02, Policy WS-Policy/PolicyAttachmentWS-Policy/PolicyAttachment WS-MEXWS-MEX

Easy to use Digital Identity / Easy to use Digital Identity / InfoCardInfoCard

Active Directory: FederationActive Directory: Federation

WSD API: Device ProfileWSD API: Device Profile

LonghornLonghornWaveWave

WindowsWindowsServerServer20032003

““R2”R2”WaveWave

Page 30: Web Services and Devices Profile for Web Services (DPWS)

MicrosoMicrosoftft

IntelIntel

SunSun

DellDell

AMDAMD AA

CACA AA

SonicSonic AA

gSOAPgSOAP

SystineSystinett

AA

WEBMWEBM

NetIQNetIQ

WS-P

WS-* - Industry AdoptionWS-* - Industry Adoption

Messaging

Security

Assurances

Devices

Mgmt

Metadata

DPWS

WS-

Secure

Conv

WS-S

ecurit

y

WS-T

rust W

S-RM

WS-A

T

MEX

WS-D

Released productReleased product

Public interopPublic interop

AA Co-Author OnlyCo-Author Only

SOAP / W

SDL

MicrosoftMicrosoft

IBMIBM

BEABEA AA

Cape ClearCape Clear

SystinetSystinet

Blue TitanBlue Titan

Rogue Rogue WaveWave

SonicSonic

IONAIONA

JBossJBoss

ChoreologyChoreology

ApacheApache

TibcoTibco

MicrosoftMicrosoft

IBMIBM

BEABEA AA

RSARSA AA

SystinetSystinet

ApacheApache

Layer7Layer7 AA

DataPowerDataPower

CACA AA AA

SUNSUN

SAPSAP

TibcoTibco

IONAIONA

WebMethoWebMethodsds

NokiaNokia

Cape ClearCape Clear

SonicSonic

gSOAPgSOAP

Ping IDPing ID AA

NetegrityNetegrity AA AA

VerisignVerisign AA AA AA

OpenNetwOpenNetworkork

AA AA AA

Oracle/Oracle/OblixOblix

MicrosoftMicrosoft

IBMIBM

BEABEA

SUNSUN

GoogleGoogle

AmazonAmazon

eBayeBay

ApacheApache

WhitemesWhitemesaa

gSOAPgSOAP

RicohRicoh

EpsonEpson

HPHP

XeroxXerox

Fuji-XeroxFuji-Xerox

IntelIntel

CanonCanon

MicrosoftMicrosoft

IntelIntel

CanonCanon

BEABEA AA

WebMethoWebMethodsds

AA

RicohRicoh

EpsonEpson

HPHP

XeroxXerox

Fuji-XeroxFuji-Xerox

BrotherBrother

ToshibaToshiba

ExceptionaExceptional l InnovationInnovation

PeerlessPeerless

SchneiderSchneider

SystinetSystinet

gSOAPgSOAP

LexmarkLexmark AA

MicrosoftMicrosoft

IBMIBM AA

BEABEA AA

SAPSAP AA

SunSun AA

VerisignVerisign AA

SonicSonic

Layer 7Layer 7

ApacheApache

CACA AA

WebMethoWebMethodsds

AA

SystinetSystinet

gSOAPgSOAP

MTOM

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

WS-M

WS-X

Fer /

Enum

WS-F

ed

Page 31: Web Services and Devices Profile for Web Services (DPWS)

Microsoft Confidential

Opportunities in Web Opportunities in Web ServicesServicesDevices are moving to Web ServicesDevices are moving to Web Services

PrinterPrinterScannerScannerProjectorsProjectorsIGDIGD

Industries are moving to Web Industries are moving to Web ServicesServices

HealthcareHealthcareRetailRetail

Devices Integrate with existing Web Devices Integrate with existing Web ServicesServices

Amazon, Mappoint, Terraserver, and Amazon, Mappoint, Terraserver, and many othersmany others

Page 32: Web Services and Devices Profile for Web Services (DPWS)

Microsoft Confidential

Opportunities in Web Opportunities in Web ServicesServicesOpportunities exist for new revenue Opportunities exist for new revenue

streamsstreamsCreate secure end-to-end applications that Create secure end-to-end applications that provide great end user benefitsprovide great end user benefitsDirectly sell services or supplies to your Directly sell services or supplies to your customerscustomers

FromFromConsumables, tonerConsumables, tonerExtended warrantyExtended warrantyProduct upgradesProduct upgrades

ToToData servicesData servicesStorage servicesStorage servicesAnd moreAnd more

Integrate with existing Web ServicesIntegrate with existing Web ServicesAmazon, Mappoint, Terraserver, and many othersAmazon, Mappoint, Terraserver, and many others


Recommended