rubiii/savon — Issue #242: Encoding::CompatibilityError: incompatible encoding regexp match (ASCII exp with UTF-16BE string)
Author: xborn
Created: 2011-11-27 13:20:01+00:00
State: open

I'm trying consume WebService on MS SQL2008. I'm using gem 'savon' 0.9.7 and 'httpi-ntlm' 0.9.6.

require 'savon'
require 'httpi-ntlm'
require 'kconv'
client = Savon::Client.new do
wsdl.document='http://localhost/sql?wsdl'
http.auth.ntlm('username','domain','pass')
end

client.http.auth?
give me => true

client.wsdl.soap_actions
give me error:
HTTPI executes HTTP GET using the net_http adapter
Encoding::CompatibilityError: incompatible encoding regexp match (ASCII-8BIT reg
exp with UTF-16BE string)

What's is wrong?