Problems with anyType in SOAP4R

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"}})

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 :(

Cheers,
Tomasz
 
T

Tom Bak

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

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

Cheers,
Tomasz
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,149
Members
46,695
Latest member
StanleyDri

Latest Threads

Top