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