2.2.3.4 Update Message
The Update message is sent by the resolver client when some details of its registration record need to be updated, for example, when its IP addresses have changed.
-
Message: <wsdl:message name="UpdateInfo"> <wsdl:part name="UpdateInfo" xmlns:peer="http://schemas.microsoft.com/net/2006/05/peer" element="peer:UpdateInfo" /> </wsdl:message> Operation: <wsdl:operation name="Update"> <wsdl:input wsam:Action="http://schemas.microsoft.com/net/2006/05/peer/resolver/Update" name="UpdateInfo" message="tns:UpdateInfo" /> </wsdl:operation> Data Types: <xs:complexType name="UpdateInfo"> <xs:sequence> <xs:element minOccurs="0" name="ClientId" type="ser:guid" /> <xs:element minOccurs="0" name="MeshId" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="NodeAddress" nillable="true" type="tns:PeerNodeAddress" /> <xs:element minOccurs="0" name="RegistrationId" type="ser:guid" /> </xs:sequence> </xs:complexType> <xs:element name="UpdateInfo" nillable="true" type="tns:UpdateInfo" />
Refer to the following table for information about the different values of the "xs:element name" attribute.
Value |
Description |
---|---|
ClientId |
A string identifying the resolver client. This MUST be unique and SHOULD be created upon the creation of the resolver client. The ClientId of a particular resolver client SHOULD be valid for the lifetime of that client. |
MeshId |
The mesh name. |
NodeAddress |
A PeerNodeAddress structure containing the updated endpoint information to be written at the registration record indicated by RegistrationId. See [MC-PRCH] section 2.2.2.2. |
RegistrationId |
A GUID identifying the registration record to be updated. Created by the resolver service as a result of processing a Register message. |