T
Tom Bak
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"}})
`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![Frown :( :(](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Cheers,
Tomasz
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"}})
c:/ruby/lib/ruby/gems/1.8/gems/soap4r-1.5.8/lib/soap/mapping/wsdlliteralregistry.rb:89:inruby soap_finn.rb
`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
Cheers,
Tomasz