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
| /*
* This is an example model
*/
Acme: AcmeWSM
Family Family1 ={
Connector Type ConnTWS ={
rule rule280 =invariant forall r2 :Role in Self.Roles |forall p2 :PortTWSCommon in r2.AttachedPorts|forall r1 :Role in Self.Roles |forall p1 :PortTWSCommon in r1.AttachedPorts| (attached(r1,p1) And r1 != r2 And attached(r2,p2))->size(intersection(p1.EndPointList,p2.EndPointList ))>0 ;
rule rule1311 =invariant exists r :Role in Self.Roles |forall p :PortTWSCommon in r.AttachedPorts| attached(r,p)-> p.SendsFirstMessage == Yes ;
rule rule131 =invariant exists r :Role in Self.Roles | forall p :PortTWSCommon in r.AttachedPorts| attached(r,p)-> p.SendsFirstMessage == No ;
rule rule34 =invariant size(self. Roles)==2;
}
Connector Type ConnTWSAct extends ConnTWS with {
rule rule322 =invariant forall r2 :Role in Self.Roles |forall p2 :PortTWSService in r2.AttachedPorts| forall r1 :Role in Self.Roles |forall p1 :PortTWSClient in r1.AttachedPorts| (attached(r1,p1) And r1 != r2 And attached(r2,p2))->( p1. Prec == terminer And p2. Prec == activer ) Or ( p2. Prec == terminer And p1. Prec == activer ) ;
}
Connector Type ConnTWSAbandon extends ConnTWS with {
rule rule433 =invariant forall r2 :Role in Self.Roles |forall p2 :PortTWSService in r2.AttachedPorts|forall r1 :Role in Self.Roles |forall p1 :PortTWSClient in r1.AttachedPorts| (attached(r1,p1) And r1 != r2 And attached(r2,p2))->( p1. Prec == abandonner And p2. Prec == abandonner ) Or ( p2. Prec == echouer And p1. Prec == abandonner ) Or ( p1. Prec == echouer And p2. Prec == abandonner ) Or ( p2. Prec == annuler And p1. Prec == abandonner ) ;
}
Connector Type ConnTWSCompensation extends ConnTWS with {
rule rule320 =invariant forall r2 :Role in Self.Roles |forall p2 :PortTWSService in r2.AttachedPorts| forall r1 :Role in Self.Roles |forall p1 :PortTWSClient in r1.AttachedPorts| (attached(r1,p1) And r1 != r2 And attached(r2,p2))->( p1. Prec == echouer And p2. Prec == annuler ) Or ( p2. Prec == echouer And p1. Prec == annuler ) ;
}
Connector Type ConnTWSAlt extends ConnTWS with {
rule rule318 =invariant forall r2 :Role in Self.Roles |forall p2 :PortTWSService in r2.AttachedPorts|forall r1 :Role in Self.Roles |forall p1 :PortTWSClient in r1.AttachedPorts| (attached(r1,p1) And r1 != r2 And attached(r2,p2))->( p1. Prec == echouer And p2. Prec == activer ) Or ( p2. Prec == echouer And p1. Prec == activer ) ;
}
Connector Type ConnTWSAnnulation extends ConnTWS with {
rule rule319 =invariant forall r2 :Role in Self.Roles |forall p2 :PortTWSService in r2.AttachedPorts| forall r1 :Role in Self.Roles |forall p1 :PortTWSClient in r1.AttachedPorts| (attached(r1,p1) And r1 != r2 And attached(r2,p2))->( p1. Prec == echouer And p2. Prec == activer ) Or ( p2. Prec == echouer And p1. Prec == activer ) ;
}
Component Type CompTWSCommon ={
rule rule127 =invariant forall p1 :PortTWSCommon in Self.Ports |forall p2 :PortTWSCommon in Self.Ports | ( p1 != p2 )-> p1.name != p2.name ; }
Component Type CompTWSClient extends CompTWSCommon with {
rule rule72 =invariant forall p: Port in Self.Ports | satisfiesType(p,PortTWSClient);
rule rule34 =invariant size(self. Ports )> 0 ;
}
Component Type CompTWSService extends CompTWSCommon with {
rule rule73 =invariant forall p:Port in Self.Ports|satisfiesType(p,PortTWSService);
rule rule33 =invariant size(self. Ports )>0;
}
Component Type CompTWSMediateur extends CompTWSCommon with {
rule rule108 =invariant forall p :Port in Self.Ports | satisfiesType(p,PortTWSClient) Or satisfiesType(p,PortTWSService) ;
rule rule33 =invariant size(self. Ports )> 2;
}
Component Type MedGeneral extends CompTWSMediateur with {
}
Component Type MedAndJoin extends CompTWSMediateur with {
rule rule68 =invariant forall p :PortTWSClient in Self.Ports | p. Prec == activer;
rule rule70 =invariant forall p :PortTWSService in Self.Ports | p. Prec == terminer;
}
Component Type MedAndSplit extends CompTWSMediateur with {
rule rule691 =invariant forall p :PortTWSClient in Self.Ports | p. Prec == terminer;
rule rule69 =invariant forall p :PortTWSService in Self.Ports | p. Prec == activer;
}
Component Type MedOrJoin extends CompTWSMediateur with {
rule rule207 =invariant forall p2 :PortTWSClient in Self.Ports |forall p1 :PortTWSClient in Self.Ports | p1 != p2 ->( p1. Prec == activer And p2. Prec == abandonner ) Or ( p2. Prec == activer And p1. Prec == abandonner ) ;
rule rule69 =invariant forall p :PortTWSService in Self.Ports | p. Prec == activer;
}
Component Type MedOrSplit extends CompTWSMediateur with {
rule rule211 =invariant forall p2 :PortTWSClient in Self.Ports |forall p1 :PortTWSClient in Self.Ports | p1 != p2 ->( p1. Prec == terminer And p2. Prec == abandonner ) Or ( p2. Prec == terminer And p1. Prec == abandonner ) ;
rule rule69 =invariant forall p :PortTWSService in Self.Ports | p. Prec == activer;
}
Component Type MedXorSplit extends CompTWSMediateur with {
rule rule177 =invariant forall p1 :PortTWSClient in Self.Ports |forall p2 :PortTWSClient in Self.Ports | p1. Prec == terminer And p1 != p2 -> p1. Prec != p2. Prec And p2. Prec == abandonner ;
rule rule69 =invariant forall p :PortTWSService in Self.Ports | p. Prec == activer;
}
Port Type PortTWSCommon ={
Property EndPointList : EndPoints ;
Property InOurControlDomain : SafeBoolean ;
Property name : string ;
Property SendsFirstMessage : SafeBoolean ;
Property MessageExchangePatterns : messagePatterns ;
rule rule66 =invariant InOurControlDomain == Yes Or InOurControlDomain == No ;
rule rule67 =invariant SendsFirstMessage == Yes Or SendsFirstMessage == No ;
rule rule44 =invariant size(MessageExchangePatterns)>0;
rule rule34 =invariant size(EndPointList)>0;
}
Port Type PortTWSClient ={
Property EndPointList : EndPoints ;
Property InOurControlDomain : SafeBoolean ;
Property SendsFirstMessage : SafeBoolean ;
Property Prec : PrecService ;
Property InInterface : Interfaces = Client ;
Property MessageExchangePatterns : messagePatterns ;
rule rule66 =invariant InOurControlDomain == Yes Or InOurControlDomain == No ;
rule rule67 =invariant SendsFirstMessage == Yes Or SendsFirstMessage == No ;
rule rule44 =invariant size(MessageExchangePatterns)>0;
rule rule34 =invariant size(EndPointList)>0;
}
Port Type PortTWSService ={
Property EndPointList : EndPoints ;
Property InOurControlDomain : SafeBoolean ;
Property SendsFirstMessage : SafeBoolean ;
Property Prec : PrecService ;
Property InInterface : Interfaces = Service ;
Property MessageExchangePatterns : messagePatterns ;
Property EndPointAddressList : EndPointAddresses ;
Property WsdlDocRefs : WsdlDocs ;
rule rule66 =invariant InOurControlDomain == Yes Or InOurControlDomain == No ;
rule rule67 =invariant SendsFirstMessage == Yes Or SendsFirstMessage == No ;
rule rule44 =invariant size(MessageExchangePatterns)>0;
rule rule34 =invariant size(EndPointList)>0;
rule rule59 =invariant size(EndPointAddressList)==size( EndPointList);
rule rule32 =invariant size(WsdlDocRefs)>0;
rule rule40 =invariant size(EndPointAddressList)>0;
}
rule rule169 =invariant forall comp :Component in Self.Components | satisfiesType(comp,CompTWSMediateur) Or satisfiesType(comp,CompTWSClient) Or satisfiesType(comp,CompTWSService) ;
rule rule82 =invariant forall conn :Connector in Self.Connectors | satisfiesType(conn,ConnTWS);
rule rule430 =invariant forall c1 :Component in Self.Components |forall c2 :Component in Self.Components |
connected(c1,c2)-> (satisfiesType(c1,CompTWSClient) And satisfiesType(c2,CompTWSMediateur))
Or (satisfiesType(c1,CompTWSService) And satisfiesType(c2,CompTWSMediateur)) Or (satisfiesType(c2,CompTWSClient) And satisfiesType(c1,CompTWSMediateur)) Or (satisfiesType(c2,CompTWSService) And satisfiesType(c1,CompTWSMediateur));
Property Type Interfaces = Enum {Client,Service};
Property Type EndPoints =Set{EndPoint};
Property Type legalSoapVersions = Enum {SOAP1_1,SOAP1_2};
Property Type messagePatterns =Set{validExchange};
Property Type EndPoint =Record [Transport : legalTransportProtocols; Encoding : legalSoapVersions; ];
Property Type validExchange =Sequence <message>;
Property Type SafeBoolean = Enum {Yes,No};
Property Type EndPointAddresses =Set{string};
Property Type legalTransportProtocols = Enum {HTTP1_0,HTTP1_1};
Property Type WsdlDocs =Set{string};
Property Type message =Record [ST : string; DT : string; ];
Property Type PrecService = Enum {activer,abandonner,annuler,compenser,echouer,terminer,rejouer};
}
****System****
import familiesFamily1acme;
System System1 : Family1 =new Family1 extended with {
Component SCN : CompTWSClient =new CompTWSClient extended with {
Port getSP : PortTWSClient =new PortTWSClient extended with {
Property EndPointList : EndPoints ={[Transport =HTTP1_0;Encoding = SOAP1_1 ; ]};
Property InInterface : Interfaces =Client;
Property SendsFirstMessage : SafeBoolean =Yes;
Property InOurControlDomain : SafeBoolean =Yes;
Property MessageExchangePatterns :messagePatterns={<[ ST="RequestReservHotelVol";DT = " out ";],[ST = " pathData ";DT = " in ";]>,<[ ST = "RequestReservHotelVol";DT = " out ";],[ST = " fault ";DT = "in ";]>};
Property Prec : PrecService =terminer;
}
}
Component ANDSplit : MedAndSplit =new MedAndSplit extended with {
Port reqSP : PortTWSService =new PortTWSService extended with {
Property EndPointList : EndPoints ={[Transport = HTTP1_0;Encoding = SOAP1_1; ]};
Property InInterface : Interfaces = Service;
Property SendsFirstMessage : SafeBoolean =No;
Property InOurControlDomain : SafeBoolean =Yes;
Property MessageExchangePatterns : messagePatterns ={<[ST = "RequestReservHotelVol";DT = " out ";],[ST = " pathData ";DT = " in ";]>,<[ST = "RequestReservHotelVol";DT = " out ";],[ST = " fault ";DT = "in ";]>};
Property Prec : PrecService =activer;
Property WsdlDocRefs : WsdlDocs ={" http://wsdl.ANDSplit.com " };
Property EndPointAddressList : EndPointAddresses ={"ANDSplit.reqSP "};
}
Port getConfirmReservVol : PortTWSClient =new PortTWSClient extended with {
Property EndPointList : EndPoints ={[Transport = HTTP1_0;Encoding = SOAP1_1; ]};
Property InInterface : Interfaces =Client;
Property SendsFirstMessage : SafeBoolean =No;
Property InOurControlDomain : SafeBoolean =Yes;
Property MessageExchangePatterns : messagePatterns ={<[ ST = "ConfirmReqReservVol";DT = " out ";],[ST = " pathData ";DT = " in ";]>,<[ST = "ConfirmReqReservVol";DT = " out ";],[ST = " fault ";DT = "in ";]>};
Property Prec : PrecService =terminer;
}
Port getConfirmReservHotel : PortTWSClient =new PortTWSClient extended with {
Property EndPointList : EndPoints ={[Transport = HTTP1_0;Encoding = SOAP1_1; ]};
Property InInterface : Interfaces =Client;
Property SendsFirstMessage : SafeBoolean =No;
Property InOurControlDomain : SafeBoolean =Yes;
Property MessageExchangePatterns : messagePatterns ={<[ ST= "ConfirmReqReservHotel";DT = " out ";],[ST = " pathData ";DT = " in ";]>,<[ST = "ConfirmReqReservHotel";DT = " out ";],[ST = " fault ";DT = "in ";]>};
Property Prec : PrecService =terminer;
}
}
Component FB : CompTWSService =new CompTWSService extended with {
Port ConfirmReqReservVol : PortTWSService =new PortTWSService extended with {
Property EndPointList : EndPoints ={[Transport = HTTP1_0;Encoding = SOAP1_1; ]};
Property InInterface : Interfaces = Service;
Property SendsFirstMessage : SafeBoolean =Yes;
Property InOurControlDomain : SafeBoolean =Yes;
Property MessageExchangePatterns : messagePatterns ={<[ST = "ConfirmReqReservVol";DT = " out ";],[ST = " pathData ";DT = " in ";]>,<[ ST = "ConfirmReqReservVol";DT = " out ";],[ST = " fault ";DT = "in ";]>};
Property Prec : PrecService = activer;
Property WsdlDocRefs : WsdlDocs ={"http://wsdl.FB.com"};
Property EndPointAddressList : EndPointAddresses ={"FB.ConfirmReqResevVol"};
}
Port ConfirmRV : PortTWSService =new PortTWSService extended with {
Property EndPointList : EndPoints ={[Transport = HTTP1_0;Encoding = SOAP1_1; ]};
Property InInterface : Interfaces = Service;
Property SendsFirstMessage : SafeBoolean = No;
Property InOurControlDomain : SafeBoolean = Yes;
Property MessageExchangePatterns : messagePatterns ={<[ST = "ConfirmRV";DT = " out ";],[ST = " pathData ";DT = " in ";]>,<[ST = "ConfirmRV";DT = " out ";],[ST = " fault ";DT = "in ";]>};
Property Prec : PrecService = terminer;
Property WsdlDocRefs : WsdlDocs ={" http://wsdl.ConfirmRV.com "};
Property EndPointAddressList : EndPointAddresses ={"FB.ConfirmRV"};
}
}
Component HR : CompTWSService =new CompTWSService extended with {
Port ConfirmReqReservHotel : PortTWSService =new PortTWSService extended with {
Property EndPointList : EndPoints ={[Transport = HTTP1_0;Encoding = SOAP1_1; ]};
Property InInterface : Interfaces = Service;
Property SendsFirstMessage : SafeBoolean = Yes;
Property InOurControlDomain : SafeBoolean = Yes;
Property MessageExchangePatterns : messagePatterns ={<[ST = "ConfirmReqReservHotel";DT = " out ";],[ST = " pathData ";DT = " in ";]>,<[ST = "ConfirmReqReservHotel";DT = " out ";],[ST = " fault ";DT = "in ";]>};
Property Prec : PrecService = activer;
Property WsdlDocRefs : WsdlDocs ={" http://wsdl.HR.com "};
Property EndPointAddressList : EndPointAddresses ={"HR.ConfirmRH"};
}
Port ConfirmRH : PortTWSService =new PortTWSService extended with {
Property EndPointList : EndPoints ={[Transport = HTTP1_0;Encoding = SOAP1_1; ]};
Property InInterface : Interfaces = Service;
Property SendsFirstMessage : SafeBoolean = Yes;
Property InOurControlDomain : SafeBoolean = Yes;
Property MessageExchangePatterns : messagePatterns ={<[ST = "ConfirmRH";DT = " out ";],[ST = " pathData ";DT = " in ";]>,<[ST = "ConfirmRH";DT = " out ";],[ST = " fault ";DT = "in ";]>};
Property Prec : PrecService = terminer;
Property WsdlDocRefs : WsdlDocs ={" http://wsdl.ConfirmRH.com "};
Property EndPointAddressList : EndPointAddresses ={"FB.annulRV"};
}
}
Component OP : CompTWSClient =new CompTWSClient extended with {
Port reqEn : PortTWSClient =new PortTWSClient extended with {
Property EndPointList : EndPoints ={[Transport = HTTP1_0;Encoding = SOAP1_1; ]};
Property InInterface : Interfaces = Client;
Property SendsFirstMessage : SafeBoolean = Yes;
Property InOurControlDomain : SafeBoolean = Yes;
Property MessageExchangePatterns : messagePatterns ={<[ST = "RequestEnvoi";DT = " out ";],[ST = " pathData ";DT = " in ";]>,<[ST = "RequestEnvoi";DT = " out ";],[ST = " fault ";DT = "in ";]>};
Property Prec : PrecService = terminer;
Property WsdlDocRefs : WsdlDocs ={" http://wsdl.SDF.com "};
Property EndPointAddressList : EndPointAddresses ={"SDF.ConfirmEnvoiEDF"};
}
Port AffirmReqP : PortTWSClient =new PortTWSClient extended with {
Property EndPointList : EndPoints ={[Transport = HTTP1_0;Encoding = SOAP1_1; ]};
Property InInterface : Interfaces = Client;
Property SendsFirstMessage : SafeBoolean = No;
Property InOurControlDomain : SafeBoolean = Yes;
Property MessageExchangePatterns : messagePatterns ={<[ST = "AffirmReq";DT = " out ";],[ST = " pathData ";DT = " in ";]>,<[ST = "AffirmReq";DT = " out ";],[ST = " fault ";DT = "in ";]>};
Property Prec : PrecService = activer;
}
}
Component ANDJoin : MedAndJoin =new MedAndJoin extended with {
Port ReqPLRV : PortTWSClient =new PortTWSClient extended with {
Property EndPointList : EndPoints ={[Transport = HTTP1_0;Encoding = SOAP1_1; ]};
Property InInterface : Interfaces = Client;
Property SendsFirstMessage : SafeBoolean = Yes;
Property InOurControlDomain : SafeBoolean = Yes;
Property MessageExchangePatterns : messagePatterns ={<[ST = "ConfirmRV";DT = " out ";],[ST = " pathData ";DT = " in ";]>,<[ST = "ConfirmRV";DT = " out ";],[ST = " fault ";DT = "in ";]>};
Property Prec : PrecService = activer;
}
Port ReqPLRH : PortTWSClient =new PortTWSClient extended with {
Property EndPointList : EndPoints ={[Transport = HTTP1_0;Encoding = SOAP1_1; ]};
Property InInterface : Interfaces = Client;
Property SendsFirstMessage : SafeBoolean = No;
Property InOurControlDomain : SafeBoolean = Yes;
Property MessageExchangePatterns : messagePatterns ={<[ST = "ConfirmRH";DT = " out ";],[ST = " pathData ";DT = " in ";]>,<[ST = "ConfirmRH";DT = " out ";],[ST = " fault ";DT = "in ";]>};
Property Prec : PrecService = activer;
}
Port ConfirmReqReser : PortTWSService =new PortTWSService extended with {
Property EndPointList : EndPoints ={[Transport = HTTP1_0;Encoding = SOAP1_1; ]};
Property InInterface : Interfaces = Service;
Property SendsFirstMessage : SafeBoolean = Yes;
Property InOurControlDomain : SafeBoolean = Yes;
Property MessageExchangePatterns : messagePatterns ={<[ST = "AffirmReq";DT = " out ";],[ST = " pathData ";DT = " in ";]>,<[ST = "AffirmReq";DT = " out ";],[ST = " fault ";DT = "in ";]>};
Property Prec : PrecService = terminer;
Property WsdlDocRefs : WsdlDocs ={"http://wsdl.XorSplit.com "};
Property EndPointAddressList : EndPointAddresses ={"XorSplit.getEn "};
}
}
Component XorSplit : MedXorSplit =new MedXorSplit extended with {
Port getEn : PortTWSService =new PortTWSService extended with {
Property EndPointList : EndPoints ={[Transport = HTTP1_0;Encoding = SOAP1_1; ]};
Property InInterface : Interfaces = Service;
Property SendsFirstMessage : SafeBoolean = No;
Property InOurControlDomain : SafeBoolean = Yes;
Property MessageExchangePatterns : messagePatterns ={<[ST = "RequestEnvoi";DT = " out ";],[ST = " pathData ";DT = " in ";]>,<[ST = "RequestEnvoi";DT = " out ";],[ST = " fault ";DT = "in ";]>};
Property Prec : PrecService = activer;
Property WsdlDocRefs : WsdlDocs ={"http://wsdl.XorSplit.com "};
Property EndPointAddressList : EndPointAddresses ={"XorSplit.getEn "};
}
Port reqEDF : PortTWSClient =new PortTWSClient extended with {
Property EndPointList : EndPoints ={[Transport = HTTP1_0;Encoding = SOAP1_1; ]};
Property InInterface : Interfaces = Client;
Property SendsFirstMessage : SafeBoolean = No;
Property InOurControlDomain : SafeBoolean = Yes;
Property MessageExchangePatterns : messagePatterns ={<[ ST= "RequestEDF";DT = " out ";],[ST = " pathData ";DT = " in ";]>,<[ ST = "RequestEDF";DT = " out ";],[ST = " fault ";DT = "in ";]>};
Property Prec : PrecService = terminer;
}
Port reqEDD : PortTWSClient =new PortTWSClient extended with {
Property EndPointList : EndPoints ={[Transport = HTTP1_0;Encoding = SOAP1_1; ]};
Property InInterface : Interfaces = Client;
Property SendsFirstMessage : SafeBoolean = No;
Property InOurControlDomain : SafeBoolean = Yes;
Property MessageExchangePatterns : messagePatterns ={<[ST = "RequestEDD";DT = " out ";],[ST = " pathData ";DT = " in ";]>,<[ST = "RequestEDD";DT = " out ";],[ST = " fault ";DT = "in ";]>};
Property Prec : PrecService = abandonner;
}
Port reqEDT : PortTWSClient =new PortTWSClient extended with {
Property EndPointList : EndPoints ={[Transport = HTTP1_0;Encoding = SOAP1_1; ]};
Property InInterface : Interfaces = Client;
Property SendsFirstMessage : SafeBoolean = No;
Property InOurControlDomain : SafeBoolean = Yes;
Property MessageExchangePatterns : messagePatterns ={<[ST = "RequestEDT";DT = " out ";],[ST = " pathData ";DT = " in ";]>,<[ST = "RequestEDT";DT = " out ";],[ST = " fault ";DT = "in ";]>};
Property Prec : PrecService = abandonner;
}
}
Component SDF : CompTWSService =new CompTWSService extended with {
Port ConfirmEnvoiEDF : PortTWSService =new PortTWSService extended with {
Property EndPointList : EndPoints ={[Transport = HTTP1_0;Encoding = SOAP1_1; ]};
Property InInterface : Interfaces = Service;
Property SendsFirstMessage : SafeBoolean = Yes;
Property InOurControlDomain : SafeBoolean = Yes;
Property MessageExchangePatterns : messagePatterns ={<[ST = "RequestEDF";DT = " out ";],[ST = " pathData ";DT = " in ";]>,<[ST = "RequestEDF";DT = " out ";],[ST = " fault ";DT = "in ";]>};
Property Prec : PrecService = activer;
Property WsdlDocRefs : WsdlDocs ={" http://wsdl.SDF.com "};
Property EndPointAddressList : EndPointAddresses ={"SDF.EDFechouer"};
}
}
Component SDD : CompTWSService =new CompTWSService extended with {
Port ConfirmEnvoiEDD : PortTWSService =new PortTWSService extended with {
Property EndPointList : EndPoints ={[Transport = HTTP1_0;Encoding = SOAP1_1; ]};
Property InInterface : Interfaces = Service;
Property SendsFirstMessage : SafeBoolean = Yes;
Property InOurControlDomain : SafeBoolean = Yes;
Property MessageExchangePatterns : messagePatterns ={<[ST = "RequestEDD";DT = " out ";],[ST = " pathData ";DT = " in ";]>,<[ST = "RequestEDD";DT = " out ";],[ST = " fault ";DT = "in ";]>};
Property Prec : PrecService = abandonner;
Property WsdlDocRefs : WsdlDocs ={" http://wsdl.SDD.com "};
Property EndPointAddressList : EndPointAddresses ={"SDD.activer"};
}
}
Component SDT : CompTWSService =new CompTWSService extended with {
Port ConfirmEnvoiEDT : PortTWSService =new PortTWSService extended with {
Property EndPointList : EndPoints ={[Transport = HTTP1_0;Encoding = SOAP1_1; ]};
Property InInterface : Interfaces = Service;
Property SendsFirstMessage : SafeBoolean = Yes;
Property InOurControlDomain : SafeBoolean = Yes;
Property MessageExchangePatterns : messagePatterns ={<[ST = "SetActiver";DT = " out ";],[ST = " pathData ";DT = " in ";]>,<[ST = "SetActiver";DT = " out ";],[ST = " fault ";DT = "in ";]>};
Property Prec : PrecService = abandonner;
Property WsdlDocRefs : WsdlDocs ={" http://wsdl.SDT.com "};
Property EndPointAddressList : EndPointAddresses ={"SDT.ConfirmEnvoiEDT"};
}
}
Connector ConnTWS0 : ConnTWSAct =new ConnTWSAct extended with { Role r1 ={
} Role r2 ={
}
}
Connector ConnTWS2 : ConnTWSAct =new ConnTWSAct extended with { Role r1 ={
} Role r2 ={
}
}
Connector ConnTWS3 : ConnTWSAct =new ConnTWSAct extended with { Role r1 ={
} Role r2 ={
}
}
Connector ConnTWS4 : ConnTWSAct =new ConnTWSAct
extended with { Role r1 ={
} Role r2 ={
}
}
Connector ConnTWS5 : ConnTWSAct =new ConnTWSAct
extended with { Role r1 ={
} Role r2 ={
}
}
Connector ConnTWS6 : ConnTWSAct =new ConnTWSAct
extended with { Role r1 ={
} Role r2 ={
}
}
Connector ConnTWS8 : ConnTWSAct =new ConnTWSAct
extended with { Role r1 ={
} Role r2 ={
}
}
Connector ConnTWS9 : ConnTWSAct =new ConnTWSAct
extended with { Role r1 ={
} Role r2 ={
}
}
Connector ConnTWS10 : ConnTWSAbandon =new ConnTWSAbandon
extended with { Role r1 ={
} Role r2 ={
}
}
Connector ConnTWS11 : ConnTWSAbandon =new ConnTWSAbandon
extended with { Role r1 ={
} Role r2 ={
}
}
Attachment SCN.getSP to ConnTWS0.r1;
Attachment ANDSplit.reqSP to ConnTWS0.r2;
Attachment ANDSplit.getConfirmReservVol to ConnTWS2.r1;
Attachment FB. ConfirmReqReservVol to ConnTWS2.r2;
Attachment ANDSplit.getConfirmReservHotel to ConnTWS3.r1;
Attachment HR. ConfirmReqReservHotel to ConnTWS3.r2;
Attachment HR. ConfirmRH to ConnTWS4.r1;
Attachment ANDJoin. ReqPLRH to ConnTWS4.r2;
Attachment FB. ConfirmRV to ConnTWS5.r1;
Attachment ANDJoin. ReqPLRV to ConnTWS5.r2;
Attachment ANDJoin. ConfirmReqReser to ConnTWS6.r1;
Attachment OP. AffirmReqP to ConnTWS6.r2;
Attachment OP.reqEn to ConnTWS8.r1;
Attachment XorSplit.reqEDD to ConnTWS8.r2;
Attachment XorSplit.reqEDF to ConnTWS9.r1;
Attachment SDF. ConfirmEnvoiEDF to ConnTWS9.r2;
Attachment XorSplit.getEn to ConnTWS10.r1;
Attachment SDD. ConfirmEnvoiEDD to ConnTWS10.r2;
Attachment XorSplit.reqEDT to ConnTWS11.r1;
Attachment SDT. ConfirmEnvoiEDT to ConnTWS11.r2;
} |
Partager