aecef0dd03c38cca4a3cac497217595dbf312660
[so.git] / adapters / mso-vnf-adapter-async-client / src / main / resources / VnfAdapterNotify.wsdl
1 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2 <!-- Generated by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.2.7-b01  svn-revision#13316. -->
3 <definitions targetNamespace="http://com.att.mso/vnfNotify" name="vnfAdapterNotify" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:wsp="http://www.w3.org/ns/ws-policy" xmlns:tns="http://com.att.mso/vnfNotify" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsp1_2="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
4   <types>
5     <xs:schema version="1.0" targetNamespace="http://com.att.mso/vnfNotify" xmlns:xs="http://www.w3.org/2001/XMLSchema">
6
7       <xs:element name="createVnfNotification" type="tns:createVnfNotification"/>
8       
9        <xs:element name="updateVnfNotification" type="tns:updateVnfNotification"/>
10
11       <xs:element name="deleteVnfNotification" type="tns:deleteVnfNotification"/>
12
13       <xs:element name="queryVnfNotification" type="tns:queryVnfNotification"/>
14
15       <xs:element name="rollbackVnfNotification" type="tns:rollbackVnfNotification"/>
16
17       <xs:complexType name="queryVnfNotification">
18         <xs:sequence>
19           <xs:element name="messageId" type="xs:string"/>
20           <xs:element name="completed" type="xs:boolean"/>
21           <xs:element name="exception" type="tns:msoExceptionCategory" minOccurs="0"/>
22           <xs:element name="errorMessage" type="xs:string" minOccurs="0"/>
23           <xs:element name="vnfExists" type="xs:boolean" minOccurs="0"/>
24           <xs:element name="vnfId" type="xs:string" minOccurs="0"/>
25           <xs:element name="status" type="tns:vnfStatus" minOccurs="0"/>
26           <xs:element name="outputs" minOccurs="0">
27             <xs:complexType>
28               <xs:sequence>
29                 <xs:element name="entry" minOccurs="0" maxOccurs="unbounded">
30                   <xs:complexType>
31                     <xs:sequence>
32                       <xs:element name="key" minOccurs="0" type="xs:string"/>
33                       <xs:element name="value" minOccurs="0" type="xs:string"/>
34                     </xs:sequence>
35                   </xs:complexType>
36                 </xs:element>
37               </xs:sequence>
38             </xs:complexType>
39           </xs:element>
40         </xs:sequence>
41       </xs:complexType>
42
43       <xs:complexType name="deleteVnfNotification">
44         <xs:sequence>
45           <xs:element name="messageId" type="xs:string"/>
46           <xs:element name="completed" type="xs:boolean"/>
47           <xs:element name="exception" type="tns:msoExceptionCategory" minOccurs="0"/>
48           <xs:element name="errorMessage" type="xs:string" minOccurs="0"/>
49         </xs:sequence>
50       </xs:complexType>
51
52       <xs:complexType name="rollbackVnfNotification">
53         <xs:sequence>
54           <xs:element name="messageId" type="xs:string"/>
55           <xs:element name="completed" type="xs:boolean"/>
56           <xs:element name="exception" type="tns:msoExceptionCategory" minOccurs="0"/>
57           <xs:element name="errorMessage" type="xs:string" minOccurs="0"/>
58         </xs:sequence>
59       </xs:complexType>
60
61       <xs:complexType name="createVnfNotification">
62         <xs:sequence>
63           <xs:element name="messageId" type="xs:string"/>
64           <xs:element name="completed" type="xs:boolean"/>
65           <xs:element name="exception" type="tns:msoExceptionCategory" minOccurs="0"/>
66           <xs:element name="errorMessage" type="xs:string" minOccurs="0"/>
67           <xs:element name="vnfId" type="xs:string" minOccurs="0"/>
68           <xs:element name="outputs"  minOccurs="0">
69             <xs:complexType>
70               <xs:sequence>
71                 <xs:element name="entry" minOccurs="0" maxOccurs="unbounded">
72                   <xs:complexType>
73                     <xs:sequence>
74                       <xs:element name="key" minOccurs="0" type="xs:string"/>
75                       <xs:element name="value" minOccurs="0" type="xs:string"/>
76                     </xs:sequence>
77                   </xs:complexType>
78                 </xs:element>
79               </xs:sequence>
80             </xs:complexType>
81           </xs:element>
82           <xs:element name="rollback" type="tns:vnfRollback" minOccurs="0"/>
83         </xs:sequence>
84       </xs:complexType>
85       
86       <xs:complexType name="updateVnfNotification">
87         <xs:sequence>
88           <xs:element name="messageId" type="xs:string"/>
89           <xs:element name="completed" type="xs:boolean"/>
90           <xs:element name="exception" type="tns:msoExceptionCategory" minOccurs="0"/>
91           <xs:element name="errorMessage" type="xs:string" minOccurs="0"/>
92           <xs:element name="outputs"  minOccurs="0">
93             <xs:complexType>
94               <xs:sequence>
95                 <xs:element name="entry" minOccurs="0" maxOccurs="unbounded">
96                   <xs:complexType>
97                     <xs:sequence>
98                       <xs:element name="key" minOccurs="0" type="xs:string"/>
99                       <xs:element name="value" minOccurs="0" type="xs:string"/>
100                     </xs:sequence>
101                   </xs:complexType>
102                 </xs:element>
103               </xs:sequence>
104             </xs:complexType>
105           </xs:element>
106           <xs:element name="rollback" type="tns:vnfRollback" minOccurs="0"/>
107         </xs:sequence>
108       </xs:complexType>
109
110       <xs:complexType name="vnfRollback">
111         <xs:sequence>
112           <xs:element name="cloudSiteId" type="xs:string" minOccurs="0"/>
113           <xs:element name="msoRequest" type="tns:msoRequest" minOccurs="0"/>
114           <xs:element name="tenantCreated" type="xs:boolean"/>
115           <xs:element name="tenantId" type="xs:string" minOccurs="0"/>
116           <xs:element name="vnfCreated" type="xs:boolean"/>
117           <xs:element name="vnfId" type="xs:string" minOccurs="0"/>
118         </xs:sequence>
119       </xs:complexType>
120
121       <xs:complexType name="msoRequest">
122         <xs:sequence>
123           <xs:element name="requestId" type="xs:string" minOccurs="0"/>
124           <xs:element name="serviceInstanceId" type="xs:string" minOccurs="0"/>
125         </xs:sequence>
126       </xs:complexType>
127
128       <xs:simpleType name="msoExceptionCategory">
129         <xs:restriction base="xs:string">
130           <xs:enumeration value="OPENSTACK"/>
131           <xs:enumeration value="IO"/>
132           <xs:enumeration value="INTERNAL"/>
133           <xs:enumeration value="USERDATA"/>
134         </xs:restriction>
135       </xs:simpleType>
136
137       <xs:simpleType name="vnfStatus">
138         <xs:restriction base="xs:string">
139           <xs:enumeration value="ACTIVE"/>
140           <xs:enumeration value="FAILED"/>
141           <xs:enumeration value="NOTFOUND"/>
142           <xs:enumeration value="UNKNOWN"/>
143         </xs:restriction>
144       </xs:simpleType>
145 </xs:schema>
146   </types>
147   <message name="rollbackVnfNotification">
148     <part name="parameters" element="tns:rollbackVnfNotification"/>
149   </message>
150   <message name="queryVnfNotification">
151     <part name="parameters" element="tns:queryVnfNotification"/>
152   </message>
153   <message name="createVnfNotification">
154     <part name="parameters" element="tns:createVnfNotification"/>
155   </message>
156   <message name="updateVnfNotification">
157     <part name="parameters" element="tns:updateVnfNotification"/>
158   </message>
159   <message name="deleteVnfNotification">
160     <part name="parameters" element="tns:deleteVnfNotification"/>
161   </message>
162   <portType name="vnfAdapterNotify">
163     <operation name="rollbackVnfNotification">
164       <input wsam:Action="http://com.att.mso/notify/adapterNotify/rollbackVnfNotificationRequest" message="tns:rollbackVnfNotification"/>
165     </operation>
166     <operation name="queryVnfNotification">
167       <input wsam:Action="http://com.att.mso/notify/adapterNotify/queryVnfNotificationRequest" message="tns:queryVnfNotification"/>
168     </operation>
169     <operation name="createVnfNotification">
170       <input wsam:Action="http://com.att.mso/notify/adapterNotify/createVnfNotificationRequest" message="tns:createVnfNotification"/>
171     </operation>
172       <operation name="updateVnfNotification">
173       <input wsam:Action="http://com.att.mso/notify/adapterNotify/updateVnfNotificationRequest" message="tns:updateVnfNotification"/>
174     </operation>
175     <operation name="deleteVnfNotification">
176       <input wsam:Action="http://com.att.mso/notify/adapterNotify/deleteVnfNotificationRequest" message="tns:deleteVnfNotification"/>
177     </operation>
178   </portType>
179   <binding name="MsoVnfAdapterAsyncImplPortBinding" type="tns:vnfAdapterNotify">
180     <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
181     <operation name="rollbackVnfNotification">
182       <soap:operation soapAction=""/>
183       <input>
184         <soap:body use="literal"/>
185       </input>
186     </operation>
187     <operation name="queryVnfNotification">
188       <soap:operation soapAction=""/>
189       <input>
190         <soap:body use="literal"/>
191       </input>
192     </operation>
193     <operation name="createVnfNotification">
194       <soap:operation soapAction=""/>
195       <input>
196         <soap:body use="literal"/>
197       </input>
198     </operation>
199     <operation name="updateVnfNotification">
200       <soap:operation soapAction=""/>
201       <input>
202         <soap:body use="literal"/>
203       </input>
204     </operation>
205     <operation name="deleteVnfNotification">
206       <soap:operation soapAction=""/>
207       <input>
208         <soap:body use="literal"/>
209       </input>
210     </operation>
211   </binding>
212   <service name="vnfAdapterNotify">
213     <port name="MsoVnfAdapterAsyncImplPort" binding="tns:MsoVnfAdapterAsyncImplPortBinding">
214       <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
215     </port>
216   </service>
217 </definitions>
218