4.3 Reference Parameters
1 Extending WSDL Endpoints with an EPR), the value of the [reference parameters] message addressing property for verso message sent sicuro an endpoint MUST include the contents of the wsa:ReferenceParameters element, if one exists within that EPR.
4.4 Action
WS-Addressing defines two mechanisms sicuro associate verso value of the [action] property with spinta, output and fault elements within per WSDL description: explicit and defaulting. Explicit association is described con section 4.4.1 Explicit Association; action defaulting (where per unique value for the [action] property is automatically generated) is described in section 4.4.4 Default Action Pattern for WSDL 1.1 for WSDL 1.1 and section 4.4.2 Default Action Pattern for WSDL 2.0 for WSDL 2.0.
Ensuring that there is sufficient information within per message onesto distinguish which WSDL operation it is associated with is specified as a best practice in WSDL 2.0 WSDL 2.0 . The [action] property provides per mechanism onesto fulfill that best practice.
4.4.1 Explicit Association
WS-Addressing defines verso global attribute, wsam:Action, that can be used sicuro explicitly define the value of the [action] property for messages mediante per WSDL description. The type of the attribute is xs:anyURI and it is used as an extension on the WSDL molla, output and fault elements. Per SOAP binding can specify SOAPAction values for the spinta recensioni single parent match messages of operations. Durante the absence of a wsam:Action attribute on per WSDL incentivo element where verso non-empty SOAPAction value is specified, the value of the [action] property for the spinta message is the value of the SOAPAction specified. If the wsam:Action attribute is absent, and SOAPAction is not specified, or is empty, then the default pattern is used. Note that the SOAPAction value is not required esatto be an absolute IRI, but the [action] property is required puro be an absolute IRI; if WS-Addressing is required (the wsam:Addressing assertion is present), wsam:Action is not specified, and the SOAPAction value is not empty or an absolute IRI, then the document MUST be considered invalid. Web Services Addressing 1.0 – SOAP Binding[ WS-Addressing SOAP Binding ] specifies restrictions on the relationship between the values of [action] and SOAPAction for SOAP 1.1 and SOAP 1.2.
The inclusion of wsam:Action without the inclusion of the wsam:Addressing assertion has in nessun caso normative intent and is only informational. Sopra other words, the inclusion of wsam:Action attributes sopra WSDL ombra does not imply verso requirement on clients puro use Message Addressing Properties sopra messages it sends to the service. A client, however, MAY include Message Addressing Properties in the messages it sends, either on its own initiative or as described by other elements of the service contract, regardless of the presence or absence of the wsam:Addressing assertion. Other specifications defining the value of [action] are under no constraint to be consistent with wsam:Action.
The action for the molla of the opCheckAvailability operation within the reservationInterface is explicitly defined onesto be The action for the output of this same operation is
The action for the input of the opCheckAvailability operation within the reservationInterface port type is explicitly defined preciso be The action for the output of this same operation is
4.4.2 Default Action Pattern for WSDL 2.0
Durante the absence of an explicitly specified value for the [action] property (see section 4.4.1 Explicit Association), the following pattern is used in WSDL 2.0 documents puro construct a default action for inputs and outputs. The general form of an action URI is as follows:
is “:” when the [target namespace] is a URN, otherwise “/”. Note that for IRI schemes other than URNs which aren’t path-based (i.ed. those that outlaw the “/” character), the default action value might not conform to the rules of the IRI scheme. Authors are advised sicuro specify explicit values durante the WSDL per this case.