1
現在、ユーザーのGmailアカウントから連絡先を引き出す際に問題が発生しています。GWT 2.4のアップグレード後にGmailから連絡先を引き出すことができない
GWT 2.4にアップグレードする前に、これは2.4にアップグレードする(2.3から)ため、実際にはわかりにくいエラーが発生して失敗するため、必要に応じて機能しました。
try
{
myService.setUserCredentials(username, password);
}
catch (final AuthenticationException e)
{
//log exception
}
URL feedURL;
try
{
feedURL = new URL("https://www.google.com/m8/feeds/contacts/default/full?max-results=1000");
}
catch (final MalformedURLException e)
{
//log exception
}
ContactFeed resultFeed;
try
{
resultFeed = myService.getFeed(feedURL, ContactFeed.class);
}
catch (final IOException e) //Exception is caught here, see below
{
//log exception
}
catch (ServiceException e)
{
//log exception
}
何をキャッチされている:GWT 2.4へのアップグレードを
cause = ProtocolException
detailedMessage= "Missing WWW-Authenticate header"
java.net.ProtocolException: Missing WWW-Authenticate header
が行われる必要がある任意の新しい認証はありますか?私はこれが事実であると言うことは何も発見していません。具体的にはdeveloper guideです。
この時点でアドバイスをいただければ幸いです。