SharePointデータを.Net以外のプラットフォームで使用したい。この目的のために、Lists.asmx、Webs.asmx、search.asmxなどのSharePointOOTBサービスをすでに使用しています。Authentication.asmxを使用したフォームベースの認証のサポートを正常に追加しました。ここで、Office365SharePointOnlineのサポートを提供したいと思います。そのために、私が取り組んでいるSharePointOnlineのデモサイトがあります。問題、私が直面しているのは、Authentication.asmxのModeメソッドを使用すると、応答として「Forms」が返されることです。
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<ModeResponse xmlns="http://schemas.microsoft.com/sharepoint/soap/">
<ModeResult>Forms</ModeResult>
</ModeResponse>
</soap:Body>
</soap:Envelope>
ただし、Login.asmxを使用して正しいユーザー名とパスワードを渡すと、「PasswordNotMatch」エラーが発生し、同じ資格情報がブラウザーで正常に機能します。
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<LoginResponse xmlns="http://schemas.microsoft.com/sharepoint/soap/">
<LoginResult>
<ErrorCode>PasswordNotMatch</ErrorCode>
<TimeoutSeconds>0</TimeoutSeconds>
</LoginResult>
</LoginResponse>
</soap:Body>
</soap:Envelope>
注:-これは、Office365SharePoint以外のFBAサイトに最適です。
誰かがOffice365SharePoint Online OOTBサービスのサポートを実装するのを手伝ってくれませんか?