Im trying to connect to a webservice developed in java, but im getting
this error:
#SOAP::Mapping::Object:0x35b88dc: SoapMapper:Converting data for
SoapMapper fa
iled inside the typemapper (SOAP::FaultError)
I think the server is implemented with MS SOAP Toolkit 2.0.
The raised exception should contain error details. Please try the
following program.
require ‘soap/wsdlDriver’
url = “https://myurl/aaa.WSDL”
soap = SOAP::WSDLDriverFactory.new(url).create_rpc_driver
begin
puts
soap.CSPT_Search(‘u’,‘u’,‘1233333’,0,3,2,0,0,1,1,‘u’,‘u’,‘u’,1,0,0,‘u’)
rescue
p $!
p $!.detail
end
If it won’t go, add ‘soap.wiredump_dev = STDOUT’ before CSPT_Search and
show me the result.