Does Spring support SharePoint

一曲冷凌霜 提交于 2019-12-24 10:36:30

问题


Does Spring support SharePoint?

In my Spring Application, i would like to SAVE data in ShaePoint.

In another (java) application of ours, we are using CAML to read/update the data in SharePoint.

Do you think I should use the same(CAML) or does Spring provides any APIs which makes my job easy.

Thank You :)

EDIT: Its SharePoint 2003 and WSS 2.0


回答1:


Using your Java application you should be able to send XML to the SharePoint webservices. Check this link for the WSS 3.0 web services SDK: WSS 3.0 Webservices SDK (MSDN)




回答2:


AFAIK SharePoint should also support HTTP GET/POST for reading/writing data. However, in my own experience, reading/saving data from Java to SharePoint usually involves problem at the authentication level. In fact SharePoint usually uses NTLM authentication, which is hard to implement in Java. I did some experiments in the past using HttpClient and implementing NTML authentication as described here, which requires jCIFS.

Another quicker, but dirtier, option is the following. Since SharePoint ultimately stores files on the file system, just expose that path as a Windows UNC Path, and make it available from the machine where your Java application runs. Then, Java can just open a File on the UNC Path in the usual way, and everything is transparent for you application (A UNC Path will look something like \\machine-name\path\to\store). This is not very elegant, and possibly not very secure.




回答3:


Here is the download link for WSS 2.0 WSS 2.0 SDK Download



来源:https://stackoverflow.com/questions/3083247/does-spring-support-sharepoint

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!