Git Product home page Git Product logo

soap4r's People

Contributors

davidegrayson avatar lancejordan avatar mod-spox avatar simcha avatar swalterd avatar xaviershay avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

soap4r's Issues

uninitialized constant XML::SaxParser

After installing gem soap4:

ruby -r xmlparser -r soap/wsdlDriver -e '0'

libxmlparser.rb:18:in `class:LibXMLParser': uninitialized constant XML::SaxParser

Regards

get Error: OpenSSL::SSL::SSLError: SSL_set_tlsext_host_name when use soap4r-ruby1.9 with httpclient 2.2.3

#@driver is a httpclient obj.
def close_ssl_verify
@driver.options['protocol.http.ssl_config.verify_mode'] = OpenSSL::SSL::VERIFY_NONE
end

def set_timeout(timeout = 30)
  puts @driver.options['protocol.http.receive_timeout']
  @driver.options['protocol.http.receive_timeout'] = timeout * 60
end

then connecting to https:// server, the error as the title appears.

But when I switch to Root user, It's all ok. But I think it's not need for root privige. So plz fix it .

ENV:

ruby1.9.2
ubuntu10.10
httpclient: 2.2.3
soap4r-ruby1.9 dependency on it.
Thx.

Semantic issues with ruby 1.9 (and fix)

file soap/mapping/mapping.rb needs some fixes:

obj.instance_variables inclusion is checked used strings. In ruby 1.9 Object#instance_variables returns an array of symbols so using Array#include? with a string parameter will always return false.

I suggest the following fixes that will work in both ruby 1.9 and 1.8:

@line 254
ivars = obj.instance_variables.collect{|t| t.to_s}

@line 314
iv = obj.instance_variables.collect{|t| t.to_s}

iconv deprecation warning on ruby 1.9.3

I get a deprecation warning on Ruby 1.9.3:

mumboe-soap4r-1.5.8.5/lib/xsd/iconvcharset.rb:9:in `<top (required)>': iconv will be deprecated in the future, use String#encode instead.

modulepath

when I try to use a moudle_path option:
wsdl2ruby.rb.bat --force --module_path ModuleName --type client --wsdl wsdlFile.wsdl

I'm gettinng this error:

FATAL -- app: Detected an exception. Stopping ... undefined method 'each' for "ModuleName":String (NoMethodError)
D:/Ruby193/lib/ruby/gems/1.9.1/gems/mumboe-soap4r-1.5.8.7/lib/wsdl/soap/driverCreator.rb:36:in 'dump'
D:/Ruby193/lib/ruby/gems/1.9.1/gems/mumboe-soap4r-1.5.8.7/lib/wsdl/soap/wsdl2ruby.rb:162:in 'block in create_driver'

"encoding option is ignored" warning

Using ruby 1.9.3 I get the following when loading soap4r:

soap4r-1.5.8/lib/soap/property.rb:68: warning: encoding option is ignored - u
soap4r-1.5.8/lib/soap/property.rb:69: warning: encoding option is ignored - u
soap4r-1.5.8/lib/soap/property.rb:70: warning: encoding option is ignored - u

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.