Forum: Ruby on Rails .net WSDL SSL web service conumption

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Ab457a1472a803502ebbabb9a811d2d9?d=identicon&s=25 Giedrius (Guest)
on 2006-01-28 13:35
Hi,
i'm trying to consume .NET webservice following one tutorial an
currently have these lines of code:
wsdl = "https://someserviceaddress"
factory = SOAP::WSDLDriverFactory.new(wsdl)

and running this code i'm getting:

Unknown attr {}ref.
Unknown element {http://schemas.xmlsoap.org/wsdl/http/}binding.
Unknown element {http://schemas.xmlsoap.org/wsdl/http/}operation.
Unknown element {http://schemas.xmlsoap.org/wsdl/http/}urlEncoded.
Unknown element {http://schemas.xmlsoap.org/wsdl/mime/}mimeXml.
Unknown element {http://schemas.xmlsoap.org/wsdl/http/}operation.
Unknown element {http://schemas.xmlsoap.org/wsdl/http/}urlEncoded.

when i'm trying to create driver using that factory:

driver = factory.createDriver

i see, that driver has all methods from web service, but when i'm trying
to call methods, that originaly don't have any parameters, ruby writes:

ArgumentError: wrong number of arguments (0 for 2)

does anybody have ideas, why ruby doesn't recognize some of elements in
WSDL service description?
does anybody have any ideas, how to force WSDLDriverFactory or it's
factored driver instance to use pem certificate?
how to know, what options available for driver.options ?
This topic is locked and can not be replied to.