Calling .Net HttpHandler from Java - "Bad Request" Returned
I am calling a .Net HttpHandler deployed on IIS that is used to access documents on SharePoint.
I am using the apache HttpClient (org.apache.commons.httpclient.HttpClient) and GetMethod to call Handler, see code snippets below.
I am also setting authenitication credentials for NTLM authentication.
client = new HttpClient();
method = new GetMethod(URL to handler)
String response = method.getResponseBodyAsString();
I am using TCPMon as proxy to see request going out and response comeing back.
Request URL and parameters look correct, howvere response is "Bad Request"
When I look in logs for IIS, I can't see request in log.
If it take request and parameters and paste in browser it hits handler as expected, and can see request in IIS logs.
Re: Calling .Net HttpHandler from Java - "Bad Request" Returned
SharePoint is defined as Microsoft proprietary web application platform that plays the role of a multipurpose tool that can fulfill all types of general web requirement of any company. It is seriously integrated with Microsoft suite tools and also offers users with an interface which is as same as the Microsoft Office.
For More Info :- SharePoint Development