1# zxid/sg/ws-addr-1.0.sg 2# Slightly edited, 5.9.2006, Sampo Kellomaki (sampo@iki.fi) 3# 6.2.2007, Added Discovery specifics to the Metadata --Sampo 4# 7.12.2013, added rankKey extension to EPR MD to facilitate sorting di results --Sampo 5# 11.2.2016, added <tas3:AltAddress> element --Sampo 6# $Id: ws-addr-1.0.sg,v 1.11 2016-02-11 05:10:03 sampo Exp $ 7 8target(a, http://www.w3.org/2005/08/addressing) 9#t arget(a, http://schemas.xmlsoap.org/ws/2004/08/addressing) # used by WS Federation? 10import(di, urn:liberty:disco:2006-08, liberty-idwsf-disco-svc-v2.0.xsd) 11import(e, http://schemas.xmlsoap.org/soap/envelope/) 12import(wsu, http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd,wss-util-1.0.xsd) 13import(tas3, http://tas3.eu/tas3/200911/) 14ns(sbf, urn:liberty:sb) 15ns(b, urn:liberty:sb:2006-08) 16 17&@hdrs: 18 @wsu:Id? 19 @e:mustUnderstand? 20 @e:actor? 21 @id? -> %xs:anyURI 22 @ID? -> %xs:anyURI 23 ; 24 25EndpointReference -> %a:EndpointReferenceType 26%EndpointReferenceType: 27 a:Address -> %a:AttributedURIType 28 a:ReferenceParameters? 29 a:Metadata? 30 tas3:AltAddress* # Added by Sampo 31 @notOnOrAfter? -> %xs:dateTime # Added by Sampo 32 &@a:hdrs # Added by Sampo 33 any* ns(##other) processContents(lax) 34 @any 35 ; 36 37ReferenceParameters -> %a:ReferenceParametersType 38%ReferenceParametersType: 39 b:TargetIdentity* 40 any* processContents(lax) 41 &@a:hdrs # Added by Sampo 42 @any 43 ; 44 45Metadata -> %a:MetadataType 46%MetadataType: 47 sbf:Framework? 48 di:Abstract? 49 di:ProviderID? 50 di:ServiceType? 51 di:SecurityContext? 52 tas3:Trust? 53 any* processContents(lax) 54 @rankKey -> %xs:anyURI # Added by Sampo 55 @any 56 ; 57 58MessageID -> %a:AttributedURIType 59 60RelatesTo -> %a:RelatesToType 61%RelatesToType: base(xs:anyURI) 62 @RelationshipType? -> %a:RelationshipTypeOpenEnum # default (http://www.w3.org/2005/08/addressing/reply) 63 &@a:hdrs # Added by Sampo 64 @any 65 ; 66 67%RelationshipTypeOpenEnum: union(a:RelationshipType xs:anyURI) ; 68%RelationshipType: enum( http://www.w3.org/2005/08/addressing/reply ) ; 69 70ReplyTo -> %a:EndpointReferenceType 71From -> %a:EndpointReferenceType 72FaultTo -> %a:EndpointReferenceType 73To -> %a:AttributedURIType 74Action -> %a:AttributedURIType 75 76%AttributedURIType: base(xs:anyURI) 77 &@a:hdrs # Added by Sampo 78 @any 79 ; 80 81@IsReferenceParameter -> %xs:boolean 82 83%FaultCodesOpenEnumType: union(a:FaultCodesType xs:QName) 84 ; 85 86%FaultCodesType: enum( a:InvalidAddressingHeader a:InvalidAddress a:InvalidEPR a:InvalidCardinality a:MissingAddressInEPR a:DuplicateMessageID a:ActionMismatch a:MessageAddressingHeaderRequired a:DestinationUnreachable a:ActionNotSupported a:EndpointUnavailable ) ; 87 88RetryAfter -> %a:AttributedUnsignedLongType 89 90%AttributedUnsignedLongType: base(xs:unsignedLong) 91 &@a:hdrs # Added by Sampo 92 @any 93 ; 94 95ProblemHeaderQName -> %a:AttributedQNameType 96 97%AttributedQNameType: base(xs:QName) 98 &@a:hdrs # Added by Sampo 99 @any 100 ; 101 102ProblemHeader -> %a:AttributedAnyType 103 104%AttributedAnyType: 105 any* processContents(lax) 106 &@a:hdrs # Added by Sampo 107 @any 108 ; 109 110ProblemURI -> %a:AttributedURIType 111 112ProblemAction -> %a:ProblemActionType 113%ProblemActionType: 114 a:Action? 115 a:SoapAction? -> %xs:anyURI 116 &@a:hdrs # Added by Sampo 117 @any 118 ; 119 120#EOF 121