GetDomainSettings 操作 (SOAP)
GetDomainSettings 操作は、ユーザーのドメインの指定された設定を取得します。 自動検出は、検出されるドメインと、それらのドメインの要求された設定を返します。
GetDomainSettings 要求の例
説明
GetDomainSettings 要求の次の例は、ユーザーの ExternalEWSUrl ドメイン設定に対する要求を示しています。 クライアントは、この要求をサーバーに送信します。
コード
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:a="https://schemas.microsoft.com/exchange/2010/Autodiscover"
xmlns:wsa="http://www.w3.org/2005/08/addressing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<a:RequestedServerVersion>Exchange2010</a:RequestedServerVersion>
<wsa:Action>https://schemas.microsoft.com/exchange/2010/
Autodiscover/Autodiscover/GetDomainSettings</wsa:Action>
<wsa:To>
https://autodiscover.exchange.microsoft.com/autodiscover/autodiscover.svc
</wsa:To>
</soap:Header>
<soap:Body>
<a:GetDomainSettingsRequestMessage xmlns:a="https://schemas.microsoft.com
/exchange/2010/Autodiscover">
<a:Request>
<a:Domains>
<a:Domain>contoso.com<</a:Domain>
</a:Domains>
<a:RequestedSettings>
<a:Setting>ExternalEwsUrl</a:Setting>
</a:RequestedSettings>
</a:Request>
</a:GetDomainSettingsRequestMessage>
</soap:Body>
</soap:Envelope>
要求要素
要求では、次の要素が使用されます。
GetDomainSettings 応答の例
説明
次の例は、サーバーがクライアントに送信する GetDomainSettings 要求に対する正常な応答を示しています。
コード
//www.w3.org/2005/08/addressing">
<s:Header>
<a:Action s:mustUnderstand="1">https://schemas.microsoft.com/exchange/2010/
Autodiscover/Autodiscover/GetDomainSettingsResponse
</a:Action>
<h:ServerVersionInfo xmlns:h="https://schemas.microsoft.com/exchange/2010/Autodiscover"
xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<h:MajorVersion>14</h:MajorVersion>
<h:MinorVersion>0</h:MinorVersion>
<h:MajorBuildNumber>639</h:MajorBuildNumber>
<h:MinorBuildNumber>20</h:MinorBuildNumber>
<h:Version>Exchange2010</h:Version>
</h:ServerVersionInfo>
</s:Header>
<s:Body>
<GetDomainSettingsResponseMessage xmlns="https://schemas.microsoft.com/exchange/2010/Autodiscover">
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<ErrorCode>NoError</ErrorCode>
<ErrorMessage />
<DomainResponses>
<DomainResponse>
<ErrorCode>NoError</ErrorCode>
<ErrorMessage>No error.</ErrorMessage>
<DomainSettingErrors />
<DomainSettings>
<DomainSetting i:type="DomainStringSetting">
<Name>ExternalEwsUrl</Name>
<Value>https://emea.mail.microsoft.com/EWS/Exchange.asmx</Value>
</DomainSetting>
</DomainSettings>
<RedirectTarget i:nil="true" />
</DomainResponse>
</DomainResponses>
</Response>
</GetDomainSettingsResponseMessage>
</s:Body>
</s:Envelope>
応答要素
応答では、次の要素が使用されます。
関連項目
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示