re-arranging files for pcu control
[monitor.git] / pcucontrol / models / intelamt / Include / WSDL / FirmwareUpdateInterface.wsdl
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Intel(R) Active Management Technology Firmware Update Interface -->
3 <definitions
4     xmlns="http://schemas.xmlsoap.org/wsdl/"
5     xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
6     xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
7     xmlns:xs="http://www.w3.org/2001/XMLSchema" 
8     xmlns:fwu="http://schemas.intel.com/platform/client/FirmwareUpdate/2004/01" 
9     targetNamespace="http://schemas.intel.com/platform/client/FirmwareUpdate/2004/01">
10     <types>
11         <xs:schema targetNamespace="http://schemas.intel.com/platform/client/FirmwareUpdate/2004/01" elementFormDefault="qualified">
12             <xs:simpleType name="PT_STATUS">
13                 <xs:restriction base="xs:unsignedInt"/>
14                         </xs:simpleType>
15             <xs:simpleType name="FirmwareUpdateStateType">
16                 <xs:restriction base="xs:string">
17                     <xs:enumeration value="FirmwareStatusSuccess"/>
18                     <xs:enumeration value="FirmwareUpdateRejectedSkuFailure"/>
19                     <xs:enumeration value="FirmwareUpdateRejectedVersionFailure"/>
20                     <xs:enumeration value="FirmwareUpdateRejectedSignatureFailure"/>
21                     <xs:enumeration value="FirmwareUpdateRejectedGeneralFailure"/>
22                     <xs:enumeration value="FirmwareLoadingImage"/>
23                     <xs:enumeration value="FirmwareAuthenticatingImage"/>
24                     <xs:enumeration value="FirmwareProcessing"/>
25                     <xs:enumeration value="FirmwareUpdatingCodePartition"/>
26                     <xs:enumeration value="FirmwareUpdatingRecoveryPartition"/>
27                     <xs:enumeration value="FirmwareFlashPartitionCodeInvalid"/>
28                     <xs:enumeration value="FirmwareFlashPartitionRecoveryInvalid"/>
29                 </xs:restriction>
30             </xs:simpleType>
31             <xs:complexType name="FirmwareVersionType">
32                 <xs:sequence>
33                     <xs:element name="Description" type="xs:string"/>
34                     <xs:element name="Version" type="xs:string"/>
35                 </xs:sequence>
36             </xs:complexType>                    
37             <xs:element name="GetCoreVersion">
38                 <xs:complexType>
39                     <xs:sequence>
40                          </xs:sequence>
41                 </xs:complexType>
42             </xs:element>
43             <xs:element name="GetCoreVersionResponse">
44                 <xs:complexType>
45                     <xs:sequence>
46                         <xs:element name="StatusCode" type="fwu:PT_STATUS"/>
47                         <xs:element name="Version" type="xs:string"/>
48                     </xs:sequence>
49                 </xs:complexType>
50             </xs:element>
51             <xs:element name="GetCodeVersions">
52                 <xs:complexType>
53                     <xs:sequence>
54                     </xs:sequence>
55                 </xs:complexType>
56             </xs:element>
57             <xs:element name="GetCodeVersionsResponse">
58                 <xs:complexType>
59                     <xs:sequence>
60                         <xs:element name="StatusCode" type="fwu:PT_STATUS"/>
61                         <xs:element name="BiosVersion" type="xs:string"/>
62                         <xs:element name="Versions" type="fwu:FirmwareVersionType" minOccurs="0" maxOccurs="unbounded"/>
63                     </xs:sequence>
64                 </xs:complexType>
65             </xs:element>
66             <xs:element name="GetFirmwareUpdateState">
67                 <xs:complexType>
68                     <xs:sequence>
69                          </xs:sequence>
70                 </xs:complexType>
71             </xs:element>
72             <xs:element name="GetFirmwareUpdateStateResponse">
73                 <xs:complexType>
74                     <xs:sequence>
75                         <xs:element name="StatusCode" type="fwu:PT_STATUS"/>
76                         <xs:element name="FirmwareUpdateState" type="fwu:FirmwareUpdateStateType"/>
77                     </xs:sequence>
78                 </xs:complexType>
79             </xs:element>
80         </xs:schema>
81     </types>
82     <message name="GetCoreVersionIn">
83         <part name="parameters" element="fwu:GetCoreVersion"/>
84     </message>
85     <message name="GetCoreVersionOut">
86         <part name="parameters" element="fwu:GetCoreVersionResponse"/>
87     </message>
88     <message name="GetCodeVersionsIn">
89         <part name="parameters" element="fwu:GetCodeVersions"/>
90     </message>
91     <message name="GetCodeVersionsOut">
92         <part name="parameters" element="fwu:GetCodeVersionsResponse"/>
93     </message>
94     <message name="GetFirmwareUpdateStateIn">
95         <part name="parameters" element="fwu:GetFirmwareUpdateState"/>
96     </message>
97     <message name="GetFirmwareUpdateStateOut">
98         <part name="parameters" element="fwu:GetFirmwareUpdateStateResponse"/>
99     </message>
100     <portType name="FirmwareUpdateSoapPortType">
101         <operation name="GetCoreVersion">
102             <input message="fwu:GetCoreVersionIn"/>
103             <output message="fwu:GetCoreVersionOut"/>
104         </operation>
105         <operation name="GetCodeVersions">
106             <input message="fwu:GetCodeVersionsIn"/>
107             <output message="fwu:GetCodeVersionsOut"/>
108         </operation>
109         <operation name="GetFirmwareUpdateState">
110             <input message="fwu:GetFirmwareUpdateStateIn"/>
111             <output message="fwu:GetFirmwareUpdateStateOut"/>
112         </operation>
113     </portType>
114     <binding name="FirmwareUpdateSoapBinding" type="fwu:FirmwareUpdateSoapPortType">
115         <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
116         <operation name="GetCoreVersion">
117             <soap:operation soapAction="http://schemas.intel.com/platform/client/FirmwareUpdate/2004/01/GetCoreVersion"/>
118             <input>
119                 <soap:body use="literal"/>
120             </input>
121             <output>
122                 <soap:body use="literal"/>
123             </output>
124         </operation>
125         <operation name="GetCodeVersions">
126             <soap:operation soapAction="http://schemas.intel.com/platform/client/FirmwareUpdate/2004/01/GetCodeVersions"/>
127             <input>
128                 <soap:body use="literal"/>
129             </input>
130             <output>
131                 <soap:body use="literal"/>
132             </output>
133         </operation>
134         <operation name="GetFirmwareUpdateState">
135             <soap:operation soapAction="http://schemas.intel.com/platform/client/FirmwareUpdate/2004/01/GetFirmwareUpdateState"/>
136             <input>
137                 <soap:body use="literal"/>
138             </input>
139             <output>
140                 <soap:body use="literal"/>
141             </output>
142         </operation>
143     </binding>
144     <service name="FirmwareUpdateService">
145         <port name="FirmwareUpdateSoapPortType" binding="fwu:FirmwareUpdateSoapBinding">
146             <soap:address location="http://hostname:16992/FirmwareUpdateService"/>
147         </port>
148     </service>
149 </definitions>