-
Notifications
You must be signed in to change notification settings - Fork 188
/
model-3.wsdl
879 lines (807 loc) · 40.4 KB
/
model-3.wsdl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2010-2014 Evolveum
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<definitions name="model"
targetNamespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3"
xmlns:tns="http://midpoint.evolveum.com/xml/ns/public/model/model-3"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3"
xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
xmlns:apit="http://midpoint.evolveum.com/xml/ns/public/common/api-types-3"
xmlns:f="http://midpoint.evolveum.com/xml/ns/public/common/fault-3"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
<documentation>
<p>Interface of the IDM Model subsystem.</p>
<p>IDM Model Web interface provides unified access to the identity objects stored in the repository and on resources. It
abstracts away the details about where and how are the data stored, it hides all the low-level system components.</p>
<p>Implementations of this interface are expected to enforce a consistency of access control decisions and model, e.g. to enforce
Role-Based Access Control (RBAC). RBAC is only one of many possibly models and this interface may have many implementations.</p>
<p>Implementations of this interface may automatically derive properties and attributes for objects. E.g. RBAC models may
automatically derive resource accounts attributes based on user role membership.</p>
<p>This a web service version of the IDM Model Interface represented in WSDL. As such it has some inherent limitations but it is
usable for remote access to the Model services.</p>
</documentation>
<import namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-3"
location="http://midpoint.evolveum.com/xml/ns/public/common/fault-3"/>
<types>
<!-- Element form name is QUALIFIED to prevent some problems with marshalling/unmarshalling. This deviates from RPC/Literal convention, but we
do not have to obey this convention -->
<xsd:schema targetNamespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3" elementFormDefault="qualified">
<xsd:import namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
schemaLocation="http://midpoint.evolveum.com/xml/ns/public/common/common-3"/>
<xsd:import namespace="http://midpoint.evolveum.com/xml/ns/public/common/api-types-3"
schemaLocation="http://midpoint.evolveum.com/xml/ns/public/common/api-types-3"/>
<xsd:import namespace="http://prism.evolveum.com/xml/ns/public/query-3"
schemaLocation="http://prism.evolveum.com/xml/ns/public/query-3"/>
<xsd:import namespace="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-3"
schemaLocation="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-3"/>
<xsd:import namespace="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3"
schemaLocation="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3"/>
<xsd:complexType name="GetObjectType">
<xsd:annotation>
<xsd:documentation>
A request for getObject operation.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="objectType" type="xsd:QName">
<xsd:annotation>
<xsd:documentation>
Type (class) of an object to get. For example, {...common-3}UserType means the user object type.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="oid" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
OID of the object to get.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="options" type="apit:SelectorQualifiedGetOptionsType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>
Options influencing the retrieval and processing of the object.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="getObject" type="tns:GetObjectType"/>
<xsd:complexType name="GetObjectResponseType">
<xsd:annotation>
<xsd:documentation>
A response from getObject operation.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="object" type="c:ObjectType">
<xsd:annotation>
<xsd:documentation>
The retrieved object.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="result" type="c:OperationResultType">
<xsd:annotation>
<xsd:documentation>
The result of the operation.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="getObjectResponse" type="tns:GetObjectResponseType"/>
<xsd:complexType name="ExecuteChangesType">
<xsd:annotation>
<xsd:documentation>
A request for executeChanges operation.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="deltaList" type="apit:ObjectDeltaListType">
<xsd:annotation>
<xsd:documentation>
List of object deltas to be applied.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="options" type="c:ModelExecuteOptionsType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>
Options influencing the execution of the operation.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="executeChanges" type="tns:ExecuteChangesType"/>
<xsd:complexType name="ExecuteChangesResponseType">
<xsd:annotation>
<xsd:documentation>
A response from executeChanges operation.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="deltaOperationList" type="apit:ObjectDeltaOperationListType">
<xsd:annotation>
<xsd:documentation>
List of object delta operations (deltas + operation results). OIDs of newly created objects can be found
in these ObjectDeltas (which may or may not be original ObjectDeltas passed to the method).
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="executeChangesResponse" type="tns:ExecuteChangesResponseType" />
<!-- TODO recompute -->
<xsd:complexType name="SearchObjectsType">
<xsd:annotation>
<xsd:documentation>
A request for searchObjects operation.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="objectType" type="xsd:QName">
<xsd:annotation>
<xsd:documentation>
Type (class) of an object to get. For example, {...common-3}UserType means the user object type.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="query" type="q:QueryType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>
Search criteria. If not specified, all objects of a given type are returned.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="options" type="apit:SelectorQualifiedGetOptionsType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>
Options influencing the retrieval and processing of objects.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="searchObjects" type="tns:SearchObjectsType"/>
<xsd:complexType name="SearchObjectsResponseType">
<xsd:annotation>
<xsd:documentation>
A response from searchObjects operation.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="objectList" type="apit:ObjectListType">
<xsd:annotation>
<xsd:documentation>
List of objects that match given criteria.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="result" type="c:OperationResultType">
<xsd:annotation>
<xsd:documentation>
The result of the operation.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="searchObjectsResponse" type="tns:SearchObjectsResponseType"/>
<!-- TODO countObjects -->
<xsd:complexType name="FindShadowOwnerType">
<xsd:annotation>
<xsd:documentation>
A request for findShadowOwner operation.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="shadowOid" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
OID of the shadow to look for an owner.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="findShadowOwner" type="tns:FindShadowOwnerType"/>
<xsd:complexType name="FindShadowOwnerResponseType">
<xsd:annotation>
<xsd:documentation>
A response from findShadowOwner operation.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="user" type="c:UserType">
<xsd:annotation>
<xsd:documentation>
Owner of the account (if found).
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="result" type="c:OperationResultType">
<xsd:annotation>
<xsd:documentation>
Operation result covering the operation executed.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="findShadowOwnerResponse" type="tns:FindShadowOwnerResponseType"/>
<xsd:complexType name="TestResourceType">
<xsd:annotation>
<xsd:documentation>
A request for testResource operation.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="resourceOid" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
OID of the resource that is to be tested.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="testResource" type="tns:TestResourceType"/>
<xsd:complexType name="testResourceResponseType">
<xsd:annotation>
<xsd:documentation>
A response from testResource operation.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="result" type="c:OperationResultType">
<xsd:annotation>
<xsd:documentation>
Result from the resource test.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="testResourceResponse" type="tns:testResourceResponseType"/>
<xsd:complexType name="ImportFromResourceType">
<xsd:annotation>
<xsd:documentation>
A request for importFromResource operation.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="resourceOid" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
OID of the resource to be imported from.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="objectClass" type="xsd:QName"> <!-- TODO consistent naming with other resource-related object classes (resourceObjectShadowType above) -->
<xsd:annotation>
<xsd:documentation>
Object class to import.
Local name, assumed to be in the resource namespace.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="importFromResource" type="tns:ImportFromResourceType"/>
<xsd:complexType name="ImportFromResourceResponseType">
<xsd:annotation>
<xsd:documentation>
A response from importFromResource operation.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="task" type="c:TaskType">
<xsd:annotation>
<xsd:documentation>
Task that is (asynchronously) executing the import procedure.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="importFromResourceResponse" type="tns:ImportFromResourceResponseType"/>
<!-- TODO importFromResource for single shadow -->
<!-- TODO importObjectsFromFile -->
<!-- TODO importObjectsFromStream -->
<!-- TODO discoverConnectors -->
<xsd:complexType name="NotifyChangeType">
<xsd:annotation>
<xsd:documentation>
A request for notifyChange operation.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="changeDescription" type="c:ResourceObjectShadowChangeDescriptionType">
<xsd:annotation>
<xsd:documentation>
Description of the change in the external resource.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="notifyChange" type="tns:NotifyChangeType"/>
<xsd:complexType name="NotifyChangeResponseType">
<xsd:annotation>
<xsd:documentation>
A response from notifyChange operation.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="task" type="c:TaskType">
<xsd:annotation>
<xsd:documentation>
Task, in context of which the event was processed.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="notifyChangeResponse" type="tns:NotifyChangeResponseType"/>
<xsd:complexType name="ExecuteScriptsType">
<xsd:annotation>
<xsd:documentation>
A request for executeScripts operation.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:choice>
<xsd:element name="xmlScripts" type="apit:XmlScriptsType">
<xsd:annotation>
<xsd:documentation>
Scripts in the XML format.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="mslScripts" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
Scripts in the midPoint Scripting Language (textual) format. Not yet available.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:choice>
<xsd:element name="options" type="apit:ExecuteScriptsOptionsType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>
Options that drive the script execution.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="executeScripts" type="tns:ExecuteScriptsType"/>
<xsd:complexType name="ExecuteScriptsResponseType">
<xsd:annotation>
<xsd:documentation>
A response from executeScripts operation.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="outputs" type="apit:ScriptOutputsType">
<xsd:annotation>
<xsd:documentation>
Output of the execution of script(s).
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="result" type="c:OperationResultType">
<xsd:annotation>
<xsd:documentation>
Operation result covering the execution of script(s).
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="executeScriptsResponse" type="tns:ExecuteScriptsResponseType"/>
<!--<xsd:element name="getSchemas">-->
<!--<xsd:complexType>-->
<!--<xsd:sequence>-->
<!--<xsd:element name="prefixMapping" type="apit:PrefixMappingType"/>-->
<!--</xsd:sequence>-->
<!--</xsd:complexType>-->
<!--</xsd:element>-->
<!--<xsd:element name="getSchemasResponse">-->
<!--<xsd:complexType>-->
<!--<xsd:sequence>-->
<!--<xsd:element name="schemas" type="apit:SchemaFilesType"/>-->
<!--</xsd:sequence>-->
<!--</xsd:complexType>-->
<!--</xsd:element>-->
<!-- TODO task-related operations (suspend, resume, schedule, ...) -->
<!-- TODO wf-related operations -->
</xsd:schema>
</types>
<!-- OBJECT messages -->
<message name="getObject">
<part name="parameters" element="tns:getObject" />
</message>
<message name="getObjectResponse">
<part name="parameters" element="tns:getObjectResponse" />
</message>
<message name="searchObjects">
<part name="parameters" element="tns:searchObjects" />
</message>
<message name="searchObjectsResponse">
<part name="parameters" element="tns:searchObjectsResponse" />
</message>
<message name="executeChanges">
<part name="parameters" element="tns:executeChanges" />
</message>
<message name="executeChangesResponse">
<part name="parameters" element="tns:executeChangesResponse" />
</message>
<!-- End of common messages -->
<message name="findShadowOwner">
<part name="parameters" element="tns:findShadowOwner" />
</message>
<message name="findShadowOwnerResponse">
<part name="parameters" element="tns:findShadowOwnerResponse" />
</message>
<message name="testResource">
<part name="parameters" element="tns:testResource" />
</message>
<message name="testResourceResponse">
<part name="parameters" element="tns:testResourceResponse" />
</message>
<message name="importFromResource">
<part name="parameters" element="tns:importFromResource" />
</message>
<message name="importFromResourceResponse">
<part name="parameters" element="tns:importFromResourceResponse" />
</message>
<message name="notifyChange">
<part name="parameters" element="tns:notifyChange" />
</message>
<message name="notifyChangeResponse">
<part name="parameters" element="tns:notifyChangeResponse" />
</message>
<message name="executeScripts">
<part name="parameters" element="tns:executeScripts" />
</message>
<message name="executeScriptsResponse">
<part name="parameters" element="tns:executeScriptsResponse" />
</message>
<!--<message name="getSchemas">-->
<!--<part name="parameters" element="tns:getSchemas" />-->
<!--</message>-->
<!--<message name="getSchemasResponse">-->
<!--<part name="parameters" element="tns:getSchemasResponse" />-->
<!--</message>-->
<portType name="modelPortType">
<!-- OBJECT operations -->
<operation name="getObject">
<documentation>
<p>Returns object for provided OID. It retrieves the object from an appropriate source
for an object type (e.g. internal repository, resource or both), merging data as necessary,
processing any policies, caching mechanisms, etc. This can be influenced by using options.</p>
<p>Must fail if object with the OID does not exists.</p>
<p>Reference resolution is SUPPORTED by this operation.</p>
<p>Faults (TODO):</p>
<ul>
<li>any SystemFaultType</li>
<li>IllegalArgumentFaultType: wrong OID format</li>
<li>ObjectNotFoundFaultType: object with specified OID does not exists</li>
</ul>
</documentation>
<input name="getObject" message="tns:getObject"/>
<output name="getObjectResponse" message="tns:getObjectResponse"/>
<fault name="fault" message="f:FaultMessage"/>
</operation>
<operation name="searchObjects">
<documentation>
<p>
Search for objects.
</p>
<p>
Searches through all object of a specified type. Returns a list of objects that match
search criteria.
</p>
<p>
Note that this method has a very limited scaling capability
as all the results are stored in the memory. DO NOT USE on large datasets.
Recommended usage is only when using queries that cannot return large number
of results (e.g. queries for unique values) or when combined with paging capability.
</p>
<p>
Returns empty list if object type is correct but there are no objects of
that type. Fails if object type is wrong. Should fail if unknown property is
specified in the query.
</p>
TODO Faults:
any SystemFaultType
IllegalArgumentFaultType: wrong object type
SchemaViolationFaultType: unknown property used in search query
</documentation>
<input name="searchObjects" message="tns:searchObjects"/>
<output name="searchObjectsResponse" message="tns:searchObjectsResponse"/>
<fault name="fault" message="f:FaultMessage"/>
</operation>
<operation name="executeChanges">
<documentation>
<p>Execute the provided object deltas.</p>
<p>
The operation executes the provided object deltas. All deltas must relate to analogous objects (e.g. user
and linked accounts). The implementation may throw an error if the objects are not analogous. The implementation
also implicitly links the objects (mark them to be analogous) if such a link is part of the data model.
E.g. the implementation links all accounts to the user if they are passed in a single delta collection.
This is especially useful if the account deltas are ADD deltas without OID and therefore cannot be linked
explicitly.
</p>
<p>
There must be no more than one delta for each object.
The order of execution is not defined and the implementation is free to determine the correct or most suitable ordering.
</p>
<p>
The OID provided in ADD deltas may be empty. In that case the OID
will be assigned by the implementation and the OIDs will be set in the
deltas after the operation is completed.
</p>
<p>
Execution of ADD deltas should fail if such object already exists (if object with
the provided OID already exists). Execution of MODIFY and DELETE deltas should fail if
such objects do not exist.
</p>
<p>
The operation may fail if provided OIDs are in an unusable format for the
storage. Generating own OIDs and providing them to this method is not
recommended for normal operation.
</p>
<p>
There are no explicit atomicity guarantees for the operations. Some of the operations may pass, some may fail
or even fail partially. The consistency of the data and state are not based on operation atomicity but rather
a data model that can "repair" inconsistencies.
</p>
<p>
The operation may fail if any of the objects to be created or modified does not conform to
the underlying schema of the storage system or the schema enforced by the implementation.
</p>
Faults:
any SystemFaultType
TODO reword to FaultTypes
ObjectAlreadyExistsException: object with specified identifiers already exists, cannot add
ObjectNotFoundException: object required to complete the operation was not found (e.g.
appropriate connector or resource definition)
SchemaException: error dealing with resource schema, e.g. created object does not conform to schema
ExpressionEvaluationException: evaluation of expression associated with the object has failed
CommunicationException: Communication (network) error during retrieval. E.g. error communicating with the resource
ConfigurationException: Configuration error. E.g. misconfigured resource parameters, invalid policies, etc.
PolicyViolationException: Policy violation was detected during processing of the object
SecurityViolationException: Security violation during operation execution. May be caused either by midPoint internal
security mechanism but also by external mechanism (e.g. on the resource)
IllegalArgumentException: wrong OID format, etc.
</documentation>
<input name="executeChanges" message="tns:executeChanges"/>
<output name="executeChangesResponse" message="tns:executeChangesResponse"/>
<fault name="fault" message="f:FaultMessage"/>
</operation>
<!-- Type-specific operations -->
<operation name="findShadowOwner">
<documentation>
<p>
Returns the User object representing owner of specified account (account
shadow).
</p>
<p>
May return null if there is no owner specified for the account.
</p>
<p>
Implements the backward "owns" association between account shadow and
user. Forward association is implemented by property "linkRef" of user
object.
</p>
Faults (TODO):
any SystemFaultType
IllegalArgumentFaultType: wrong OID format
ObjectNotFoundFaultType: object with specified OID does not exists
</documentation>
<input name="findShadowOwner" message="tns:findShadowOwner"/>
<output name="findShadowOwnerResponse" message="tns:findShadowOwnerResponse"/>
<fault name="fault" message="f:FaultMessage"/>
</operation>
<operation name="testResource">
<documentation>
<p>WARNING:</p>
<p>This operation should not be here. It is in fact
just a diagnostics methods from the provisioning interface
that need to be accessed from GUI. Do not use it for
anything serious. It will disappear eventually.</p>
<p>Test the resouce connection and basic resource connector
functionality.</p>
<p>This operation will NOT raise fault in case the resource
connection fails. It such case it will indicate the failure in
the return message, but the operation itself succeeds.
The operations fails only if the provided arguments are wrong,
in case of system error, system misconfiguration, etc.</p>
Faults (TODO):
any SystemFaultType
ObjectNotFoundFaultType: specified Resource definition does not exist
</documentation>
<input name="testResource" message="tns:testResource"/>
<output name="testResourceResponse" message="tns:testResourceResponse"/>
<fault name="fault" message="f:FaultMessage"/>
</operation>
<operation name="importFromResource">
<documentation>
<p>Launch import task that will import all the accounts (or other objects
of specified type) from the resource.</p>
<p>WARNING: This operation is not considered public. It is a
temporary solution until we have full-featured task management.
It may be removed any time without a warning.</p>
<p>DO NOT USE IT unless you are really sure you know what you
are doing.</p>
Faults (TODO):
any SystemFaultType
ObjectNotFoundFaultType: specified Resource definition does not exist
</documentation>
<input name="importFromResource" message="tns:importFromResource"/>
<output name="importFromResourceResponse" message="tns:importFromResourceResponse"/>
<fault name="fault" message="f:FaultMessage"/>
</operation>
<operation name="notifyChange">
<documentation>
<p>Triggers processing of a resource-related change notification.</p>
</documentation>
<input name="notifyChange" message="tns:notifyChange"/>
<output name="notifyChangeResponse" message="tns:notifyChangeResponse"/>
<fault name="fault" message="f:FaultMessage"/>
</operation>
<operation name="executeScripts">
<documentation>
<p>Executes one or more midPoint scripts (bulk actions).</p>
<p>NOTE: This method is not fully implemented yet.</p>
</documentation>
<input name="executeScripts" message="tns:executeScripts"/>
<output name="executeScriptsResponse" message="tns:executeScriptsResponse"/>
<fault name="fault" message="f:FaultMessage"/>
</operation>
<!--<operation name="getSchemas">-->
<!--<documentation>-->
<!--</documentation>-->
<!--<input name="getSchemas" message="tns:getSchemas"/>-->
<!--<output name="getSchemasResponse" message="tns:getSchemasResponse"/>-->
<!--<fault name="fault" message="f:FaultMessage"/>-->
<!--</operation>-->
</portType>
<binding name="modelBinding" type="tns:modelPortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="getObject">
<soap:operation/>
<input name="getObject">
<soap:body use="literal" />
</input>
<output name="getObjectResponse">
<soap:body use="literal" />
</output>
<fault name="fault">
<soap:fault name="fault" use="literal"/>
</fault>
</operation>
<operation name="searchObjects">
<soap:operation/>
<input name="searchObjects">
<soap:body use="literal" />
</input>
<output name="searchObjectsResponse">
<soap:body use="literal" />
</output>
<fault name="fault">
<soap:fault name="fault" use="literal"/>
</fault>
</operation>
<operation name="executeChanges">
<soap:operation/>
<input name="executeChanges">
<soap:body use="literal" />
</input>
<output name="executeChangesResponse">
<soap:body use="literal" />
</output>
<fault name="fault">
<soap:fault name="fault" use="literal"/>
</fault>
</operation>
<operation name="findShadowOwner">
<soap:operation/>
<input name="findShadowOwner">
<soap:body use="literal" />
</input>
<output name="findShadowOwnerResponse">
<soap:body use="literal" />
</output>
<fault name="fault">
<soap:fault name="fault" use="literal"/>
</fault>
</operation>
<operation name="testResource">
<soap:operation/>
<input name="testResource">
<soap:body use="literal" />
</input>
<output name="testResourceResponse">
<soap:body use="literal" />
</output>
<fault name="fault">
<soap:fault name="fault" use="literal"/>
</fault>
</operation>
<operation name="importFromResource">
<soap:operation/>
<input name="importFromResource">
<soap:body use="literal" />
</input>
<output name="importFromResourceResponse">
<soap:body use="literal" />
</output>
<fault name="fault">
<soap:fault name="fault" use="literal"/>
</fault>
</operation>
<operation name="notifyChange">
<soap:operation/>
<input name="notifyChange">
<soap:body use="literal" />
</input>
<output name="notifyChangeResponse">
<soap:body use="literal" />
</output>
<fault name="fault">
<soap:fault name="fault" use="literal"/>
</fault>
</operation>
<operation name="executeScripts">
<soap:operation/>
<input name="executeScripts">
<soap:body use="literal" />
</input>
<output name="executeScriptsResponse">
<soap:body use="literal" />
</output>
<fault name="fault">
<soap:fault name="fault" use="literal"/>
</fault>
</operation>
<!--<operation name="getSchemas">-->
<!--<soap:operation/>-->
<!--<input name="getSchemas">-->
<!--<soap:body use="literal" />-->
<!--</input>-->
<!--<output name="getSchemasResponse">-->
<!--<soap:body use="literal" />-->
<!--</output>-->
<!--<fault name="fault">-->
<!--<soap:fault name="fault" use="literal"/>-->
<!--</fault>-->
<!--</operation>-->
</binding>
<service name="modelWebService">
<port name="modelPort"
binding="tns:modelBinding">
<soap:address location="http://localhost:8080/dummy"/>
</port>
</service>
</definitions>