Quantcast
Channel: sharepoint – Java && Linux
Browsing latest articles
Browse All 8 View Live

cxf NTLM 客户端验证(Spring 配置)

FormServiceSoap cs = (FormServiceSoap) ctx.getBean("client"); Client client = ClientProxy.getClient("http://10.188.12.7/formservice.asmx?wsdl"); HTTPConduit http = (HTTPConduit) client.getConduit();...

View Article


jQuery .Ajax() 方法在IE浏览器返回No Transport

jQuery Ajax 返回No Transport通常是由于跨域调用javascript造成的。 解决方法很简单(测试在jquery.1.8.3.js),  在你的ajax方法之前加 jQuery.support.cors = true; 完整的代码如下 $(document).ready(function() {     jQuery.support.cors = true;...

View Article


java httpclient 读取sharepoint restful web service

使用java读取sharepoint 的web service 有点麻烦,麻烦的地方主要是用户验证。 sharepoint主要用的是NTLM验证方式,微软在2008年之前从来没有公布任何关于NTLM验证的文档,所以JAVA对NTLM的支持不如.net 好在httpclient 对NTLM...

View Article

使用jquery获取 sharepoint restful web service(实例代码)

javascript本身的跨域问题是测试过程中遇到的主要问题,但是使用jquery可以很轻松的解决。 完整的代码如下 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html...

View Article
Browsing latest articles
Browse All 8 View Live