12.07.2015 Views

Devices Profile for Web Services Version 1.1 OASIS Standard 1 July ...

Devices Profile for Web Services Version 1.1 OASIS Standard 1 July ...

Devices Profile for Web Services Version 1.1 OASIS Standard 1 July ...

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304Appendix C. Declaring Discovery Types in WSDLSolutions built on DPWS often define portTypes implemented by Hosted <strong>Services</strong>, and a discovery-layerportType implemented by the Host Service so the presence of these functional services can bedetermined at the discovery layer. The binding between a service-layer type and its discovery-layer typecan be defined purely in descriptive text, but this appendix provides an optional mechanism to declare adiscovery-layer type inside WSDL that can be consumed and understood by tools.This appendix defines an @dpws:DiscoveryType attribute to annotate the WSDL <strong>1.1</strong> portType [WSDL<strong>1.1</strong>] <strong>for</strong> the service-layer type. The normative outline <strong>for</strong> @dpws:DiscoveryType is:[…]*The following describes additional, normative constraints to the outline listed above:/wsdl:definitions/wsdl:portType/@dpws:DiscoveryTypeThe name of the portType to be advertised by the Host Service to indicate that this devicesupports the annotated Hosted Service portType.If omitted, no implied valueThis mechanism is only suitable in cases where a functional service type is bound to a single discoverylayertype, and authors of more complex type topologies may express the relationship between serviceand discovery types through normative text or through other means.Example usage follows. PrintDeviceType is the discovery-layer type <strong>for</strong> PrintPortType.wsdd-dpws-<strong>1.1</strong>-spec-os 1 <strong>July</strong> 2009Copyright © <strong>OASIS</strong>® 2009. All Rights Reserved. Page 38 of 43

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!