2.2.3.1 Register Message

The Register message is sent by the client to register its PeerNodeAddress structure with a custom resolver service.

            
 Message:
 <wsdl:message name="RegisterInfo">
     <wsdl:part name="Register" xmlns:peer="http://schemas.microsoft.com/net/2006/05/peer" element="peer:Register" />
   </wsdl:message>
            
            
 Operation:
 <wsdl:operation name="Register">
       <wsdl:input wsam:Action="http://schemas.microsoft.com/net/2006/05/peer/resolver/Register" name="RegisterInfo" message="tns:RegisterInfo" />
 </wsdl:operation>
            
            
 Data Types:
 <xs:complexType name="Register">
     <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:sequence>
 </xs:complexType>
            
 <xs:element name="Register" nillable="true" type="tns:Register" />
 <xs:complexType name="PeerNodeAddress">
     <xs:sequence>
       <xs:element minOccurs="0" name="EndpointAddress" nillable="true" xmlns:q1="http://www.w3.org/2005/08/addressing" type="q1:EndpointReferenceType" />
       <xs:element minOccurs="0" name="IPAddresses" nillable="true" xmlns:q2="http://schemas.datacontract.org/2004/07/System.Net" type="q2:ArrayOfIPAddress" />
     </xs:sequence>
 </xs:complexType>
            
   <xs:element name="PeerNodeAddress" nillable="true" type="tns:PeerNodeAddress" />
            

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 resolver client's endpoint information.