<?xml version="1.0" encoding="UTF-8"?>
<!--
   PWG Semantic Model v2   

Copyright 2011, IEEE Industry Standards and Technology Organization/CopyService Working Group. 
All rights reserved  

Editors:  Joe Murdock, Peter Zehler, Ira McDonald 
-->
<!--07/30/2011 JBM Initial Version-->
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:sm="http://www.pwg.org/schemas/2012/3/sm" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:xmime="http://www.w3.org/2005/05/xmlmime" targetNamespace="http://www.pwg.org/schemas/2012/3/sm">
	<types>
		<xs:schema xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" elementFormDefault="qualified" targetNamespace="http://schemas.xmlsoap.org/ws/2004/08/addressing">
			<xs:include schemaLocation="addressing.xsd"/>
		</xs:schema>
		<xs:schema xmlns:sm="http://www.pwg.org/schemas/2012/3/sm" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" elementFormDefault="qualified" attributeFormDefault="qualified" version="1.174" targetNamespace="http://www.pwg.org/schemas/2012/3/sm">
			<xs:include schemaLocation="PwgSecurityOpMsg.xsd"/>
			<xs:import namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing" schemaLocation="addressing.xsd"/>
		</xs:schema>
	</types>
	<message name="GetSecurityAttributesRequestMsg">
		<part name="body" element="sm:GetSecurityAttributesRequest"/>
		<part name="MessageID" element="wsa:MessageID"/>
		<part name="To" element="wsa:To"/>
		<part name="From" element="wsa:From"/>
		<part name="Action" element="wsa:Action"/>
	</message>
	<message name="GetSecurityAttributesResponseMsg">
		<part name="MessageID" element="wsa:MessageID"/>
		<part name="RelatesTo" element="wsa:RelatesTo"/>
		<part name="To" element="wsa:To"/>
		<part name="From" element="wsa:From"/>
		<part name="Action" element="wsa:Action"/>
		<part name="body" element="sm:GetSecurityAttributesResponse"/>
	</message>
	<message name="RequestSecurityAttributesRequestMsg">
		<part name="body" element="sm:RequestSecurityAttributesRequest"/>
		<part name="MessageID" element="wsa:MessageID"/>
		<part name="To" element="wsa:To"/>
		<part name="From" element="wsa:From"/>
		<part name="Action" element="wsa:Action"/>
	</message>
	<message name="RequestSecurityAttributesResponseMsg">
		<part name="MessageID" element="wsa:MessageID"/>
		<part name="RelatesTo" element="wsa:RelatesTo"/>
		<part name="To" element="wsa:To"/>
		<part name="From" element="wsa:From"/>
		<part name="Action" element="wsa:Action"/>
		<part name="body" element="sm:RequestSecurityAttributesResponse"/>
	</message>
	<portType name="PwgSecurityPort">
		<operation name="GetSecurityAttributes">
			<input message="sm:GetSecurityAttributesRequestMsg"/>
			<output message="sm:GetSecurityAttributesResponseMsg"/>
		</operation>
		<operation name="RequestSecurityAttributes">
			<input message="sm:RequestSecurityAttributesRequestMsg"/>
			<output message="sm:RequestSecurityAttributesResponseMsg"/>
		</operation>
	</portType>
	<binding name="PwgSecurityBinding" type="sm:PwgSecurityPort">
		<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
		<operation name="GetSecurityAttributes">
			<soap:operation soapAction="http://www.pwg.org/schemas/2009/8/CancelJob"/>
			<input>
				<soap:header message="sm:GetSecurityAttributesRequestMsg" part="MessageID" use="literal"/>
				<soap:header message="sm:GetSecurityAttributesRequestMsg" part="To" use="literal"/>
				<soap:header message="sm:GetSecurityAttributesRequestMsg" part="From" use="literal"/>
				<soap:header message="sm:GetSecurityAttributesRequestMsg" part="Action" use="literal"/>
				<soap:body parts="body" use="literal"/>
			</input>
			<output>
				<soap:header message="sm:GetSecurityAttributesResponseMsg" part="MessageID" use="literal"/>
				<soap:header message="sm:GetSecurityAttributesResponseMsg" part="RelatesTo" use="literal"/>
				<soap:header message="sm:GetSecurityAttributesResponseMsg" part="To" use="literal"/>
				<soap:header message="sm:GetSecurityAttributesResponseMsg" part="From" use="literal"/>
				<soap:header message="sm:GetSecurityAttributesResponseMsg" part="Action" use="literal"/>
				<soap:body parts="body" use="literal"/>
			</output>
		</operation>
		<operation name="RequestSecurityAttributes">
			<soap:operation soapAction="http://www.pwg.org/schemas/2009/8/CancelCopyJobs"/>
			<input>
				<soap:header message="sm:RequestSecurityAttributesRequestMsg" part="MessageID" use="literal"/>
				<soap:header message="sm:RequestSecurityAttributesRequestMsg" part="To" use="literal"/>
				<soap:header message="sm:RequestSecurityAttributesRequestMsg" part="From" use="literal"/>
				<soap:header message="sm:RequestSecurityAttributesRequestMsg" part="Action" use="literal"/>
				<soap:body parts="body" use="literal"/>
			</input>
			<output>
				<soap:header message="sm:RequestSecurityAttributesResponseMsg" part="MessageID" use="literal"/>
				<soap:header message="sm:RequestSecurityAttributesResponseMsg" part="RelatesTo" use="literal"/>
				<soap:header message="sm:RequestSecurityAttributesResponseMsg" part="To" use="literal"/>
				<soap:header message="sm:RequestSecurityAttributesResponseMsg" part="From" use="literal"/>
				<soap:header message="sm:RequestSecurityAttributesResponseMsg" part="Action" use="literal"/>
				<soap:body parts="body" use="literal"/>
			</output>
		</operation>
	</binding>
	<service name="PwgSecurity">
		<port name="PwgSecurityPort" binding="sm:PwgSecurityBinding">
			<soap:address location="http://localhost:53106/PwgSystemControlService"/>
			<soap:address location="http://localhost:53101/PwgCopyService"/>
			<soap:address location="http://localhost:53101/PwgScanService"/>
			<soap:address location="http://localhost:53102/PwgResourceService"/>
			<soap:address location="http://localhost:53100/PwgPrintService"/>
			<soap:address location="http://localhost:53103/PwgFaxOutService"/>
		</port>
	</service>
	<xs:annotation>
		<xs:documentation xml:lang="en">Assume that all services can have their own security attributes</xs:documentation>
	</xs:annotation>
</definitions>

