From: Michael Boutros Date: 2007-08-03T17:52:26+09:00 Subject: Re: WSSE Headers in Net::HTTP An update on the issue - @connection.post takes three paramaters, with the second being data, and the third (optional) being headers, which explains this issue, at least for now. The current issue is that I now get an EOF error, which is understandable because the header being sent looks something like: UsernameToken Username="michaelboutros", PasswordDigest="4/RlcNgcZyF0y/jDyEUxjSYCcJk= ", Nonce="38c7c9d3ef02d856d208d9da0fcf701b", Created="2007-08-03T03:38:27Z" The exact error: EOFError: end of file reached method sysread in protocol.rb at line 133 method rbuf_fill in protocol.rb at line 133 method timeout in timeout.rb at line 56 method timeout in timeout.rb at line 76 method rbuf_fill in protocol.rb at line 132 method readuntil in protocol.rb at line 116 method readline in protocol.rb at line 126 method read_status_line in http.rb at line 2017 method read_new in http.rb at line 2006 method request in http.rb at line 1047 method view_notes in pownce_clean.rb at line 61 at top level in pownce_clean.rb at line 69 Wow. As you can see, the PasswordDigest attribute in the WSSE header has a newline at the end of it. Adding .chomp! to the password digest eliminates the EOF error, but then I'm back to my "unable to parse error." My head is soon to explode, that's for sure. -- Posted via http://www.ruby-forum.com/.