Questions tagged [java]

The tag has no usage guidance.

12 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
2answers
2k views

How to call the SharePoint rest API using Java web application?

I have developed one of the web based Java Application in which one of the page containing the form for uploading a files, as of now uploaded file stored on the Application server, but instead of this ...
1
vote
0answers
42 views

503 Service unavailable while uploading file on SharePoint online of size more than 249 MB

I am trying to upload the file on SharePoint online larger than 250MB using rest API. I have divided data of the file in small chunks say 100MB and used Start upload, continue Upload and Finish Upload ...
1
vote
0answers
88 views

SharePoint form digest response 404 using java REST api

I am Using apache Http Client for connecting sharepoint using rest api. code snippet is as below: HttpClient client = HttpClientBuilder.create().build(); String baseurl = messages.getString("baseurl"...
1
vote
0answers
42 views

Sharepoint Online REST API - cannot get .aspx files

I'm using a Java app to get files from sharepoint online. I'm using the following REST API endpoint: apiUrl = BASE_API_URL + "/web/Lists/GetByTitle('" + sharepointList + "')/Items?$select=...
1
vote
3answers
2k views

Add metadata(columns data) to a file in Document Library using java. Sharepoint 2013

I'm new to sharepoint, I've created a web services where i post files to a document library but i also want to add metadata(columns data) 'Title' at the same time as i post the file using java. Is ...
0
votes
0answers
12 views

I am trying to get Security Token in sharepoint authentication using Java

I am trying to get Security Token in sharepoint authentication using Java. Code I am using: public String buildSecurityTokenRequestEnvelope() { String envelopeTemplate = "<s:Envelope ...
0
votes
0answers
12 views

SharePoint 2013 On-Premise getting an error while accessing subsite java.net.ProtocolException: Server redirected too many times (20)

SharePoint 2013 On-Premise getting an error while accessing subsite java.net.ProtocolException: Server redirected too many times (20) It is working fine when I try to load subsite again with the same ...
0
votes
0answers
11 views

Accesing excel cell data hosted on SharePoint from java code level

I have following use case: I need to get to SharePoint, pass authentication using my credentials and retrieve data from excel file(certain cell) stored inside. Everything done in java. I was ...
0
votes
0answers
19 views

How to get the content of a specific document version

I am trying to retrieve the content of a specific version with Sharepoint API. I can get metadata like this : { "d": { "results": [ { "__metadata": { "id": "...
0
votes
1answer
15 views

Get a document modifiedBy in JAVA with RestApi

As you can see in images, I have some folder in my document library. I wanna reach the files in the folder and take the "modifiedby" column and change it with java-rest api. I can reach the file ...
0
votes
0answers
54 views

METADATA FROM JAVA

I´ve created a Metadata Column called "Department" in my Sharepoint Server site. Does anybody know how to add information to that column when I upload a document from Java? Thank you.
0
votes
1answer
353 views

JAVA To Query SharePoint

I do not have direct access to my SharePoint server. I access the SharePoint data from a URL that is available only internal on my work VPN. Is there a way in JAVA to query this URL and return data ...