Problems with anyType in SOAP4R

Hello,
I have problem with using this SOAP:

require ‘rubygems’
gem ‘soap4r’
require ‘soap/wsdlDriver’
require ‘soap/mapping/encodedregistry’

puts “SOAP::Version = #{SOAP::Version}”

soap =
SOAP::WSDLDriverFactory.new(“http://import.finn.no/services/ImportSoapAction?wsdl”).create_rpc_driver
soap.readMessage({:readMessageRequest => {:fake => “arguments”}})

ruby soap_finn.rb
c:/ruby/lib/ruby/gems/1.8/gems/soap4r-1.5.8/lib/soap/mapping/wsdlliteralregistry.rb:89:in
obj2elesoap': cannot find type {http://www.w3.org/2001/XMLSchema}anyType (SOAP::Mapping::MappingError) from c:/ruby/lib/ruby/gems/1.8/gems/soap4r-1.5.8/lib/soap/mapping/wsdlliteralregistry.rb:37:in obj2soap’
from
c:/ruby/lib/ruby/gems/1.8/gems/soap4r-1.5.8/lib/soap/mapping/mapping.rb:131:in
_obj2soap' from c:/ruby/lib/ruby/gems/1.8/gems/soap4r-1.5.8/lib/soap/mapping/mapping.rb:43:in obj2soap’
from
c:/ruby/lib/ruby/gems/1.8/gems/soap4r-1.5.8/lib/soap/mapping/mapping.rb:592:in
protect_mapping' from c:/ruby/lib/ruby/gems/1.8/gems/soap4r-1.5.8/lib/soap/mapping/mapping.rb:565:in protect_threadvars’
from
c:/ruby/lib/ruby/gems/1.8/gems/soap4r-1.5.8/lib/soap/mapping/mapping.rb:581:in
protect_mapping' from c:/ruby/lib/ruby/gems/1.8/gems/soap4r-1.5.8/lib/soap/mapping/mapping.rb:42:in obj2soap’
from
c:/ruby/lib/ruby/gems/1.8/gems/soap4r-1.5.8/lib/soap/rpc/proxy.rb:513:in
request_doc_lit' ... 6 levels... from c:/ruby/lib/ruby/gems/1.8/gems/soap4r-1.5.8/lib/soap/rpc/proxy.rb:127:in call’
from
c:/ruby/lib/ruby/gems/1.8/gems/soap4r-1.5.8/lib/soap/rpc/driver.rb:181:in
call' from (eval):6:in readMessage’
from soap_finn.rb:9
SOAP::Version = 1.5.8

Any ideas how to attack that? Or should I give up :frowning:

Cheers,
Tomasz

Any ideas how to attack that? Or should I give up :frowning:

Its impossible to do it in ruby then. Ok, have to attack it different
way.

Cheers,
Tomasz