4.3 Reference Parameters
1 Extending WSDL Endpoints with an EPR), the value of the [reference parameters] message addressing property for a message sent to 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 esatto associate verso value of the [action] property with stimolo, output and fault elements within a WSDL description: explicit and defaulting. Explicit association is described in section 4.4.1 Explicit Association; action defaulting (where a 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 a message esatto distinguish which WSDL operation it is associated with is specified as per best practice plenty of fish mediante WSDL 2.0 WSDL 2.0 . The [action] property provides verso mechanism to fulfill that best practice.
4.4.1 Explicit Association
WS-Addressing defines a global attribute, wsam:Action, that can be used to explicitly define the value of the [action] property for messages in a WSDL description. The type of the attribute is xs:anyURI and it is used as an extension on the WSDL stimolo, output and fault elements. Verso SOAP binding can specify SOAPAction values for the spinta messages of operations. Con the absence of verso wsam:Action attribute on a WSDL molla element where per 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 preciso 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 giammai normative intent and is only informational. Con other words, the inclusion of wsam:Action attributes in WSDL chiazza does not imply per requirement on clients sicuro use Message Addressing Properties durante messages it sends puro the service. A client, however, MAY include Message Addressing Properties sopra 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 onesto be consistent with wsam:Action.
The action for the molla of the opCheckAvailability operation within the reservationInterface is explicitly defined esatto be The action for the output of this same operation is
The action for the stimolo of the opCheckAvailability operation within the reservationInterface port type is explicitly defined to 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 per WSDL 2.0 documents sicuro construct verso 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.addirittura. those that outlaw the “/” character), the default action value might not conform puro the rules of the IRI scheme. Authors are advised sicuro specify explicit values mediante the WSDL con this case.