如何使用Java将文档上载到SharePoint? [英] How do I upload a document to SharePoint with Java?

查看:166
本文介绍了如何使用Java将文档上载到SharePoint?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用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域auth)。

  • 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.

下一站:上传一些东西。

Next stop: Uploading something.

这篇关于如何使用Java将文档上载到SharePoint?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆