This operation is used to retrieve information about the collection of available site templates, including both built-in site definition configuration and custom site templates defined by users for the site collection and the farm.

 <wsdl:operation name="GetSiteTemplates">
   <wsdl:input message="tns:GetSiteTemplatesSoapIn" />
   <wsdl:output message="tns:GetSiteTemplatesSoapOut" />

The client sends a GetSiteTemplatesSoapIn request message, and the server responds with a GetSiteTemplatesSoapOut response message.