search for: streamhandl

Displaying 16 results from an estimated 16 matches for "streamhandl".

Did you mean: streamhandle
2007 Dec 13
3
Realise a web service with ruby on rails.
...pClient.rb:93:in `post'' /usr/lib/ruby/1.8/soap/netHttpClient.rb:116:in `start'' /usr/lib/ruby/1.8/net/http.rb:543:in `start'' /usr/lib/ruby/1.8/soap/netHttpClient.rb:115:in `start'' /usr/lib/ruby/1.8/soap/netHttpClient.rb:92:in `post'' /usr/lib/ruby/1.8/soap/streamHandler.rb:170:in `send_post'' /usr/lib/ruby/1.8/soap/streamHandler.rb:109:in `send'' /usr/lib/ruby/1.8/soap/rpc/proxy.rb:170:in `route'' /usr/lib/ruby/1.8/soap/rpc/proxy.rb:141:in `call'' /usr/lib/ruby/1.8/soap/rpc/driver.rb:178:in `call'' (eval):6:in `listid'...
2006 Jan 26
3
Calling a SOAP service from within a Rails controller
The following works fine as a standalone ruby program: ********************************************************************************************** t = Time.now starter = Time.local(t.year,t.mon, t.day) + (24 *3600) ender = starter + 7 * 24 *3600 lat = 40.352039 lon = -74.191961 require ''soap/wsdlDriver'' params = {:maxt => false, :mint => false, :temp => true, :dew
2011 Jan 03
4
How to get soap4r to not bother verifying SSL certificate (verify_mode none)?
...rotect_keep_alive_disconnected'' httpclient (2.1.5.2) lib/httpclient.rb:764:in `do_request'' httpclient (2.1.5.2) lib/httpclient.rb:666:in `request'' httpclient (2.1.5.2) lib/httpclient.rb:596:in `post'' /opt/local/lib/ruby/gems/1.8/gems/soap4r-1.5.8/lib/soap/streamHandler.rb:238:in `send_post'' /opt/local/lib/ruby/gems/1.8/gems/soap4r-1.5.8/lib/soap/streamHandler.rb:172:in `send'' /opt/local/lib/ruby/gems/1.8/gems/soap4r-1.5.8/lib/soap/rpc/proxy.rb:179:in `route'' /opt/local/lib/ruby/gems/1.8/gems/soap4r-1.5.8/lib/soap/rpc/proxy.rb:14...
2010 Jan 05
1
Errno::ENETUNREACH (Network is unreachable - connect(2)):
...3:in `do_start'' /usr/ruby-enterprise/lib/ruby/1.8/net/http.rb:542:in `start'' /usr/ruby-enterprise/lib/ruby/1.8/soap/netHttpClient.rb:115:in `start'' /usr/ruby-enterprise/lib/ruby/1.8/soap/netHttpClient.rb:92:in `post'' /usr/ruby-enterprise/lib/ruby/1.8/soap/streamHandler.rb:170:in `send_post'' /usr/ruby-enterprise/lib/ruby/1.8/soap/streamHandler.rb:109:in `send'' /usr/ruby-enterprise/lib/ruby/1.8/soap/rpc/proxy.rb:170:in `route'' /usr/ruby-enterprise/lib/ruby/1.8/soap/rpc/proxy.rb:141:in `call'' /usr/ruby-enterprise/lib/rub...
2010 Jun 23
1
FLAC StreamInfo Parsing
...; requested. The accumulator will have to be (long long) because you > will sometimes request more than 32 bits. > > In other words, instead of: > > GetEndianBytes(streamArray, streamOffset, numBytes); > > ... you should implement: > > (long long)GetBigEndianStreamBits(streamHandle, (unsigned)numBits); > > The return value will have to be 64-bit to handle totalSamples. > The nice thing is that you won't need any indexing or bit shifting, > because GetBigEndianStreamBits() will directly return the value you > ask for, based upon the number of bits re...
2006 May 25
3
webservice timeout issue
...b/ruby/1.8/soap/netHttpClient.rb:116:in `start'' /usr/local/lib/ruby/1.8/net/http.rb:545:in `start'' /usr/local/lib/ruby/1.8/soap/netHttpClient.rb:115:in `start'' /usr/local/lib/ruby/1.8/soap/netHttpClient.rb:92:in `post'' /usr/local/lib/ruby/1.8/soap/streamHandler.rb:170:in `send_post'' /usr/local/lib/ruby/1.8/soap/streamHandler.rb:109:in `send'' /usr/local/lib/ruby/1.8/soap/rpc/proxy.rb:170:in `route'' /usr/local/lib/ruby/1.8/soap/rpc/proxy.rb:141:in `call'' /usr/local/lib/ruby/1.8/soap/rpc/driver.rb:178:in...
2006 Feb 20
3
Trouble connecting to a Rails SOAP web service with a simple Ruby client
...t;, "urn:ActionWebService") proxy.add_method(''find_product_by_id'', ''id'') puts "Product: #{proxy.find_product_by_id(2).name}" I also tried http://localhost:3000/ProductBackend I see the following $ ruby client.rb /usr/local/lib/ruby/1.8/soap/streamHandler.rb:270:in `send_post'': 404: Not Found (SOAP::HTTPStreamError) from /usr/local/lib/ruby/1.8/soap/streamHandler.rb:103:in `send'' from /usr/local/lib/ruby/1.8/soap/rpc/proxy.rb:114:in `invoke'' from /usr/local/lib/ruby/1.8/soap/rpc/proxy.rb:131:in `...
2008 Jul 28
0
Rubygems Issues
...9;' /var/www/fulfillment/public/../config/../lib/http-access2.rb:370:in `conn_request'' /var/www/fulfillment/public/../config/../lib/http-access2.rb:285:in `request'' /var/www/fulfillment/public/../config/../lib/http-access2.rb:264:in `post'' /usr/local/lib/ruby/1.8/soap/streamHandler.rb:170:in `send_post'' /usr/local/lib/ruby/1.8/soap/streamHandler.rb:109:in `send'' /usr/local/lib/ruby/1.8/soap/rpc/proxy.rb:170:in `route'' /usr/local/lib/ruby/1.8/soap/rpc/proxy.rb:141:in `call'' /usr/local/lib/ruby/1.8/soap/rpc/driver.rb:178:in `call''...
2010 Jun 23
3
FLAC StreamInfo Parsing
Thank you very much! But how to deal with endianness in the case of bit stream? Some blocks (for example MinBlockSize) require 16bits (simply swap first and second), some block (e.g.MinFrameSize) require 3 byte-array to be reverted. Finally totalSamples is stored in 5 bytes ( only last 4 bits from first one byte are used). It was a real issue to make it little-endian (here is how I did it:
2006 May 14
0
Invoke .Net WebService error in RoR
...is wrong, the name is null. I have added some code in rubylib/soap/rpc/proxy.rb: def route(req_header, req_body, reqopt, resopt) #...... conn_data.send_string.gsub!(/:n1/, '''') #ADD conn_data.send_string.gsub!(/n1:/, '''') #ADD conn_data = @streamhandler.send(@endpoint_url, conn_data, #..... It removes the namespace ''n1'', and it works find. But I think this is wrong way, can anyone fix it?
2010 Jun 23
0
FLAC StreamInfo Parsing
...accumulator around to make room for the new bits. When pulling values out of the accumulator, you do that based upon the number of bits requested. In other words, instead of: GetEndianBytes(streamArray, streamOffset, numBytes); ... you should implement: (long long)GetBigEndianStreamBits(streamHandle, outputAddressPointer, (unsigned)numBits); The return value will have to be 64-bit to handle totalSamples. The nice thing is that you won't need any indexing or bit shifting, because GetBigEndianStreamBits() will directly return the value you ask for, based upon the number of bits re...
2006 Jul 19
1
Session management with SOAP and AWS
I''m working on a rails app where I''d like to have a session-based SOAP API. That is, I''d like to connect via SSL and have a ''login'' method followed by one or more other methods. I''m using the ActionWebService::Client::Soap class to connect to my app, but each method invocation results in a new session on the server (WEBrick, at the
2017 Feb 26
2
samba-tool domain classicupgrade smb_krb5_context_init_basic failed (Invalid argument)
...ote 0x7fffdf4aa7b0>, smbconfpath='/etc/samba/smb.bentley.conf') at remote 0xac7790>, logger=<Logger(name='netcmd', parent=<RootLogger(name='root', parent=None, handlers=[], level=30, disabled=0, propagate=1, filters=[]) at remote 0x7fffdcab7fd0>, handlers=[<StreamHandler(stream=<file at remote 0x7ffff7fc91e0>, level=0, lock=<_RLock(_Verbose__verbose=False, _RLock__owner=None, _RLock__block=<thread.lock at remote 0x7ffff7f6fe50>, _RLock__count=0) at remote 0xac7750>, _name=None, filters=[], formatter=None) at remote 0xac7710>], level=10, disab...
2017 Feb 16
2
samba-tool domain classicupgrade smb_krb5_context_init_basic failed (Invalid argument)
On Fri, 2017-02-17 at 07:48 +1100, Tom Robinson via samba wrote: > Anyone? Can you please post a gdb backtrace --full? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 862 bytes Desc: This is a digitally signed message part URL:
2010 Feb 11
1
[PATCH] Provides a reference implementation management server.
...hemy.engine +# "level = INFO" logs SQL queries. +# "level = DEBUG" logs SQL queries and results. +# "level = WARN" logs neither. (Recommended for production systems.) + + +# If you create additional handlers, add them as a key to [handlers] +[handler_console] +class = StreamHandler +args = (sys.stderr,) +level = NOTSET +formatter = generic + +# If you create additional formatters, add them as a key to [formatters] +[formatter_generic] +format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s +datefmt = %H:%M:%S diff --git a/server/ez_setup/README.txt b/serv...
2010 Feb 17
0
[PATCH] Provides the new node lifecycle events.
...hemy.engine -# "level = INFO" logs SQL queries. -# "level = DEBUG" logs SQL queries and results. -# "level = WARN" logs neither. (Recommended for production systems.) - - -# If you create additional handlers, add them as a key to [handlers] -[handler_console] -class = StreamHandler -args = (sys.stderr,) -level = NOTSET -formatter = generic - -# If you create additional formatters, add them as a key to [formatters] -[formatter_generic] -format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s -datefmt = %H:%M:%S diff --git a/server/ez_setup/README.txt b/serv...