un-implemented method called PKCS7#read_smime
---------------------------------------------
Key: JRUBY-2151
URL: http://jira.codehaus.org/browse/JRUBY-2151
Project: JRuby
Issue Type: Bug
Components: OpenSSL
Affects Versions: JRuby 1.1RC2, JRuby 1.0.3
Reporter: Igor Minar
Currently it is not possible to use Soap4R with a webservice that requires
HTTPS (e.g. very common use case is an authentication webservice).
{noformat}
NoMethodError: undefined method `data' for nil:NilClass
from
/Users/x/jruby-1.1RC2/lib/ruby/gems/1.8/gems/httpclient-2.1.2/lib/httpclient.rb:390:in
`load_cacerts'
from
/Users/x/jruby-1.1RC2/lib/ruby/gems/1.8/gems/httpclient-2.1.2/lib/httpclient.rb:386:in
`initialize'
from
/Users/x/jruby-1.1RC2/lib/ruby/gems/1.8/gems/httpclient-2.1.2/lib/httpclient.rb:1744:in
`new'
from
/Users/x/jruby-1.1RC2/lib/ruby/gems/1.8/gems/httpclient-2.1.2/lib/httpclient.rb:1744:in
`initialize'
from
/Users/x/x/././script/../config/../config/../vendor/gems/soap4r-1.5.6/lib/soap/streamHandler.rb:115:in
`new'
from
/Users/x/x/././script/../config/../config/../vendor/gems/soap4r-1.5.6/lib/soap/streamHandler.rb:115:in
`initialize'
from
/Users/x/x/././script/../config/../config/../vendor/gems/soap4r-1.5.6/lib/soap/streamHandler.rb:110:in
`new'
from
/Users/x/x/././script/../config/../config/../vendor/gems/soap4r-1.5.6/lib/soap/streamHandler.rb:110:in
`create'
from
/Users/x/x/././script/../config/../config/../vendor/gems/soap4r-1.5.6/lib/soap/rpc/proxy.rb:212:in
`initialize_streamhandler'
from
/Users/x/x/././script/../config/../config/../vendor/gems/soap4r-1.5.6/lib/soap/rpc/proxy.rb:50:in
`initialize'
from
/Users/x/x/././script/../config/../config/../vendor/gems/soap4r-1.5.6/lib/soap/rpc/driver.rb:115:in
`new'
from
/Users/x/x/././script/../config/../config/../vendor/gems/soap4r-1.5.6/lib/soap/rpc/driver.rb:115:in
`initialize'
{noformat}
It looks like the problem is in jruby-opessl library and a method that it
doesn't implement.
The only workaround I know about is to use a Java Integration and communicate
with the service via a java web service stub. This however represents a
considerable performance penalty.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email