This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am trying to connect to a Sharepoint server through Java code. My code works fine with some Sharepoint servers, but fails when I try to connect to my Comcast provided account. The classes `ListsSoap` and `Lists` were generated from a Sharepoint WSDL using wsimport.
I read this may be caused by not using doman\username as the Sharepoint username. I tried prepending different domains to the username parameter, things like "mycompany.comcastbiz.net\\email@example.com"; but I received a 401 error for all domain names I tried.
javax.xml.ws.WebServiceException: Failed to access the WSDL at:
It failed with:
Server redirected too many times (20).