2.2.4.3 RefreshResponse Message
The RefreshResponse message is sent by the resolver service in response to a Refresh message. It is sent to the originator of the Refresh message and indicates the result of an attempt to extend the expiration time of the registration record for a resolver client.
-
Message: <wsdl:message name="RefreshResponseInfo"> <wsdl:part name="RefreshResponse" xmlns:peer="http://schemas.microsoft.com/net/2006/05/peer" element="peer:RefreshResponse" /> </wsdl:message> Operation: <wsdl:operation name="Refresh"> <wsdl:output wsam:Action="http://schemas.microsoft.com/net/2006/05/peer/resolver/RefreshResponse" name="RefreshResponseInfo" message="tns:RefreshResponseInfo" /> </wsdl:operation> Data Types: <xs:complexType name="RefreshResponseInfo"> <xs:sequence> <xs:element minOccurs="0" name="RegistrationLifetime" type="ser:duration" /> <xs:element minOccurs="0" name="Result" xmlns:q3="http://schemas.datacontract.org/2004/07/System.ServiceModel.PeerResolvers" type="q3:RefreshResult" /> </xs:sequence> </xs:complexType> <xs:element name="RefreshResponseInfo" nillable="true" type="tns:RefreshResponseInfo" /> <xs:element name="RefreshResponse" nillable="true" type="tns:RefreshResponseInfo" /> <xs:simpleType name="RefreshResult"> <xs:restriction base="xs:string"> <xs:enumeration value="Success" /> <xs:enumeration value="RegistrationNotFound" /> </xs:restriction> </xs:simpleType> <xs:element name="RefreshResult" nillable="true" type="tns:RefreshResult" />
Refer to the following table for information about the different values of the "xs:element name" attribute.
Value |
Description |
---|---|
RegistrationLifetime |
The duration the resolver service guarantees that the refreshed registration record will not be deleted. It is formatted as an xs:duration data type ([XMLSCHEMA], Part 2, section 3.2.6). |
Result |
A string indicating the result of the refresh operation. It MUST be one of two values: "Success" if the registration was successful. "RegistrationNotFound" if the RegistrationId element given by the client could not be found by the service. |