|
|
|
[
Permlink
| « Hide
]
Igor Minar - 19/Feb/08 08:38 PM
oops.. I missed the first line that I see in the logs:
Any way you can come up with a test case for this? It's a tricky one to debug without.
I am having this issue as well, I receive it as soon as I call SOAP::WSDLDriverFactory.new(wsdl_url), whereby wsdl_url is an https URL.
WARNING: un-implemented method called PKCS7#read_smime This issue also seems to be affecting non-SSL web services using SOAP4R 1.5.8 as well. I get the same error when trying to connect to an unsecured web service.
I've attach a patch for httpclient-2.1.2 that simply adds a nil? check to HTTPClient's certificate loading method and allows you to access regular HTTP web services using SOAP4R-1.5.8. However, it does nothing to fix the PKCS7.read_smime problem. ===================================================================
Hi,
I'm also experiencing the same problem - any idea as to when it may be fixed? ============================================================== WARNING: un-implemented method called PKCS7#read_smime We've been able to use soap4r to communicate with https soap webservices, but you need to force soap4r to use net/http instead of httpclient. We've also been frozen at an earlier version of soap4r, having had some difficulties with upgrades.
The basic formula we've been using is:
You may want the following code to ensure that net/http is used. It is also in the streamHandler.rb file, but can be used just in case http-access2 gets picked up accidentally. require 'soap/streamHandler' class HTTPStreamHandler require 'soap/netHttpClient' # Ruby will warn about re-assigning to constants # Use ActiveSupport's silence_stderr and Object#const_set if you don't want them to appear Client = SOAP::NetHttpClient RETRYABLE = false end This is a fantastic news. I can help to test the code. Just let me know when the new bits are available.
|
||||||||||||||||||||||||||||||||||||||||||||