semi合集-English.pdf - 第3393页
SEMI E132.1-0305 © SEMI 2005 20 8.2.9.1. 5.1 Errors for this operation are mapped to the XML Schema element Error of type GetDefined PrivilegesErrorType. Figure 14 shows the XML Schema diagram for th e error type. As sho…

SEMI E132.1-0305 © SEMI 2005 19
Figure 11
GetDefinedPrivilegesRequest XML Schema Element
8.2.9.1.3 GetDefinedPrivileges Response
8.2.9.1.3.1 The service response is mapped to the XML Schema element GetDefinedPrivilegesResponse of type
GetDefinedPrivilegesResponseType. Table 16 shows how the output parameters are mapped to XML. Errors for
this operation are returned using the XML schema element Error of type GetDefinedPrivilegesErrorType described
in ¶8.2.9.1.5. The XML Schema diagram for the response element is shown in Figure 12.
Table 16 Translation Table for GetDefinedPrivileges Output Parameters
Argument Name Format XML Element or Attribute XML Name/Type
privileges Unordered list Element Privilege: DefinedPrivilegeType (one
or more)
error Structured data Element Error: GetDefinedPrivilegesErrorType
Figure 12
GetDefinedPrivilegesResponse XML Schema Element
8.2.9.1.4 DefinedPrivilege Class
8.2.9.1.4.1 The DefinedPrivilege class is mapped to the XML DefinedPrivilegesType. Table 17 shows how the
attributes and associations of DefinedPrivilege class are mapped to XML. Figure 13 shows the XML schema
diagram.
Table 17 Translation Table for DefinedPrivilege Class
Attribute or Role Name UML Name/Type XML Element or Attribute XML Name/Type
privilegeId Text Element PrivilegeID: xsd:string
description Text Element Description: xsd:string
Figure 13
DefinedPrivilegesType XML Schema Type
8.2.9.1.5 GetDefinedPrivileges Errors

SEMI E132.1-0305 © SEMI 2005 20
8.2.9.1.5.1 Errors for this operation are mapped to the XML Schema element Error of type
GetDefinedPrivilegesErrorType. Figure 14 shows the XML Schema diagram for the error type. As shown, any
error returned must contain the common error element as described in ¶8.2.6.1. In addition, if the error is an
Operation not authorized error, the UnauthorizedOperationError must also be included providing additional context
information as defined in SEMI E132. The mapping for the UnauthorizedOperationError class is as described in
¶8.2.6.2.
Figure 14
GetDefinedPrivilegesErrorType XML Schema Type
8.2.9.2 WSDL Message(s)
8.2.9.2.1 Three messages are defined for this operation corresponding to the SEMI E132 Header, Request and
Response messages. See the message definitions for “E132HeaderMessage”, “GetDefinedPrivilegesRequest
Message”, and “GetDefinedPrivilegesResponseMessage” in E132-SecurityAdmin-PortType.wsdl. Key information
is shown for convenience in Table 18.
Table 18 GetDefinedPrivileges Messages
Message Name
Schema
Element Name
E132HeaderMessage auth:E132Header
GetDefinedPrivilegesRequestMessage auth:GetDefinedPrivilegesRequest
GetDefinedPrivilegesResponseMessage auth:GetDefinedPrivilegesResponse
8.2.9.3 WSDL Operation
8.2.9.3.1 See the portType operation definition for “GetDefinedPrivileges” in E132-SecurityAdmin-PortType.wsdl.
Key information is shown for convenience in Table 19.
Table 19 GetDefinedPrivileges PortType Operation
Input Message Name
GetDefinedPrivilegesRequestMessage
Output Message Name GetDefinedPrivilegesResponseMessage
8.2.9.4 WSDL Operation Binding
8.2.9.4.1 See the operation binding for “GetDefinedPrivileges” in E132-SecurityAdmin-Binding.wsdl. Key
information is shown for convenience in Table 20.
Table 20 GetDefinedPrivileges Operation Binding
SOAPAction
urn:semi-org:ws.E132-1.V0305.secAdmin-binding:GetDefinedPrivileges
Input Headers (WSDL Message, Required) E132HeaderMessage, required
Output Headers (WSDL Message, Required) E132HeaderMessage, required
8.2.10 GetACL Operation
8.2.10.1 XML Schema Types
8.2.10.1.1 This section describes the XML mappings for the classes defined in SEMI E132 for the GetACL
operation. See GetDefinedPrivileges operation regarding schema conventions used.
8.2.10.1.2 GetACL Request

SEMI E132.1-0305 © SEMI 2005 21
8.2.10.1.2.1 The service request is mapped to the XML Schema element GetACLRequest which is of type
GetACLRequestType. There are no input parameters for this operation, thus the XML type is just an empty
construct.
Figure 15
GetACLRequest XML Schema Element
8.2.10.1.3 GetACL Response
8.2.10.1.3.1 The service response is mapped to the XML Schema element GetACLResponse of type
GetACLResponseType. Table 21 shows how the output parameters are mapped to XML. The XML Schema
diagram for GetACLResponse is shown in Figure 16. The ACL is defined as a sequence of one or more elements of
type ACLEntrySelectorType corresponding to the SEMI E132 UML class ACLEntry. Mapping for ACLEntry class
is as described ¶8.2.10.1.4. Errors for this operation are returned using the XML Schema element Error of type
GetACLErrorType. The error type is the same as that defined for the GetDefinedPrivileges operation described in
¶8.2.9.1.5.
Table 21 Translation Table for GetACL Output Parameters
Argument Name Format XML Element or Attribute XML Name/Type
ACL Unordered list Element ACL: ACLEntrySelectorType (one or
more)
error Structured data Element Error: GetACLErrorType
Figure 16
GetACLResponse XML Schema Element
8.2.10.1.4 ACLEntry Class
8.2.10.1.4.1 The ACLEntry class is mapped to the XML Schema type ACLEntryType. ACLEntry is an abstract
base class and there are no attributes or roles defined for this base class, the XML Schema type for ACLEntry is just
a empty sequence. Since there are only two derived classes of ACLEntry defined in SEMI E132, and this
specification prohibits unrecognized extensions of the class, an ACLEntrySelector XML Schema type is defined
which uses choice to select between the XML Schema types for the only 2 derived classes, PrivilegeAssignment and
RoleAssignment. The XML Schema diagram for ACLEntrySelectorType is shown in Figure 17. Schema type
mappings for PrivilegeAssignment and RoleAssignment classes are further described in subsequent sections.