Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I am trying to connect from a java client to sharepoint. I manageds to connect to sp2010 ntlm sp2010 kerberos sp2007 ntlm but sp2007 kerberos throws the error below(maybe from the iis):

what could be the problem? how can I check whats wrong ? (the connection is https)

I saw this link and changed MaxFieldLength and the MaxRequestBytes registry settings but it didnt help.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>
<BODY><h2>Bad Request</h2>
<hr><p>HTTP Error 400. The request is badly formed.</p>
share|improve this question
can you add code for the request your making please as thats where things are getting wrong –  yuri kilochek Aug 30 '12 at 16:21
What kind of request is it. Please show a dump from Fiddler or similar. –  Wictor Wilen MCA MCM MVP Aug 30 '12 at 18:37
the SharePoint is https, so i cant inspect with fiddler. –  dov.amir Aug 30 '12 at 20:19

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.