问题描述
我正在使用 Java 创建一些大文件(数据库导出),我需要将它们放在我们的 SharePoint 服务器上的某个位置.现在,我正在使用 IE 执行此操作,但我也想自动执行此步骤.
I'm creating some big files (DB exports) with Java and I need to put them somewhere on our SharePoint server. Right now, I'm doing this with IE but I'd like to automate this step, too.
我在网上搜索并找到了一些使用 SOAP 的提示,但我还没有真正了解这一切.有人可以向我提供一些示例代码或我需要做什么的食谱吗?
I searched the web and I found some hints to use SOAP but I don't really see to the ground of all this, yet. Can someone provide me with some sample code or a recipe what I need to do?
请注意:SharePoint 服务器要求进行 NT 域身份验证.我什至无法使用 Firefox 登录 :(
Please note: the SharePoint server asks for NT domain authentication. I can't even login with Firefox :(
编辑
- 如何将 IE 中可怕的 URL 转换为 WebDAV 路径?
- 在我用我的代码破坏生产系统之前,我可以使用一个 WebDAV资源管理器"吗?我尝试了来自 http://www.davexplorer.org/ 的DAV Explorer 0.91",但无法连接(可能是因为 NT 域身份验证).
- How do I convert the scary URL in IE into a WebDAV path?
- Is there a WebDAV "explorer" which I can use before I ruin the production system with my code? I tried "DAV Explorer 0.91" from http://www.davexplorer.org/ but that can't connect (probably because of NT domain auth).
推荐答案
好的 ... 经过几个小时的工作,并通过 MicroSoft 提供的文档"和随机散布在网络上的所有提示咬我自己,我已经设法编写了一些示例代码来浏览 SharePoint 服务器的内容:使用 Axis2 导航 SharePoint 文件夹.
Okay ... after several hours of work and biting myself through the "documentation" MicroSoft provides and all the hints randomly spread over the 'net, I've managed to write some sample code to browse the content of a SharePoint server: Navigating SharePoint Folders With Axis2.
下一站:上传东西.
这篇关于如何使用 Java 将文档上传到 SharePoint?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!