xaop / activesp Goto Github PK
View Code? Open in Web Editor NEWActive Sharepoint
Home Page: http://www.xaop.com
License: MIT License
Active Sharepoint
Home Page: http://www.xaop.com
License: MIT License
The following is very slow(100+ seconds):
c = ActiveSP::Connection.new(...)
my_list=c.root.list(list_title)
The following is very quick (7 seconds):
c = ActiveSP::Connection.new(...)
my_list=nil
c.root.lists.each do |list|
my_list=list if list.Title==list_title
end
Tested on savon-xaop (0.7.2.7), ruby 1.9.2p180, Sharepoint 2007
Hi,
I'm trying out your library and I'm getting the following error:
roberto@udesktop:~/code/activesptest$ ruby test.rb
method_missing': undefined method
get_web' for #Savon::Client:0xb6d9fce0 (NoMethodError)send' from /home/roberto/.rvm/gems/ruby-1.8.7-p330/gems/activesp-0.0.7/lib/activesp/site.rb:299:in
call'call' from /home/roberto/.rvm/gems/ruby-1.8.7-p330/gems/activesp-0.0.7/lib/activesp/site.rb:221:in
data__uncached'data' from /home/roberto/.rvm/gems/ruby-1.8.7-p330/gems/activesp-0.0.7/lib/activesp/site.rb:229:in
attributes_before_type_cast__uncached'attributes_before_type_cast' from /home/roberto/.rvm/gems/ruby-1.8.7-p330/gems/activesp-0.0.7/lib/activesp/site.rb:243:in
original_attributes__uncached'original_attributes' from /home/roberto/.rvm/gems/ruby-1.8.7-p330/gems/activesp-0.0.7/lib/activesp/base.rb:121:in
current_attributes__uncached'current_attributes' from /home/roberto/.rvm/gems/ruby-1.8.7-p330/gems/activesp-0.0.7/lib/activesp/base.rb:58:in
has_attribute?'method_missing' from test.rb:9:in
browse'I'm not sure if it's due to my ruby version, the fact that I'm using RVM, or that the gem is currently broken.
roberto@udesktop:~/code/activesptest$ ruby -v
ruby 1.8.7 (2010-12-23 patchlevel 330) [i686-linux]
It's very possible that I'm missing something, but I can't seem to figure out what to modify to specify a domain for NTLM AUTH.
I found that savon.client defaults to local machine unless a domain is specified, but there's no option for domain in ActiveSP::Connection... I was going to try to hard code it, but I'm not finding the call to savon.client... Tried modifying ntlm_http.rb too (just to test), but no dice.
Does this functionality not exist? Thanks in advance
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.