# Invoking a web service

**URL:** <https://www.ruby-forum.com/t/invoking-a-web-service/196414>\
**Category:** Ruby\
**Created:** [August 1, 2007, 8:15pm UTC](https://www.ruby-forum.com/t/invoking-a-web-service/196414 "2007-08-01T20:15:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![capi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/bbce88/32.png) [@capi](https://www.ruby-forum.com/u/capi)\
**Post date:** [August 1, 2007, 8:15pm UTC](https://www.ruby-forum.com/t/invoking-a-web-service/196414/1 "2007-08-01T20:15:44Z")

</div>

Im trying to connect to a webservice developed in java, but im getting  
this error:

warning: peer certificate won’t be verified in this SSL session  
ignored element:  
{[http://schemas.microsoft.com/soap-toolkit/wsdl-extension](http://schemas.microsoft.com/soap-toolkit/wsdl-extension)}binding  
warning: peer certificate won’t be verified in this SSL session  
#SOAP::Mapping::Object:0x35b88dc: SoapMapper:Converting data for  
SoapMapper fa  
iled inside the typemapper (SOAP::FaultError)

the function um trying to access in the wsdl is:

and my ruby code to access the webservice:

require ‘soap/wsdlDriver’

url = “[https://myurl/aaa.WSDL](https://myurl/aaa.WSDL)”  
soap = SOAP::WSDLDriverFactory.new(url).create\_rpc\_driver

puts  
soap.CSPT\_Search(‘u’,‘u’,‘1233333’,0,3,2,0,0,1,1,‘u’,‘u’,‘u’,1,0,0,‘u’)

Can anybody give me an help on this

---

<div class="post-metadata">

**Author:** ![capi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/bbce88/32.png) [@capi](https://www.ruby-forum.com/u/capi)\
**Post date:** [August 2, 2007, 12:23am UTC](https://www.ruby-forum.com/t/invoking-a-web-service/196414/2 "2007-08-02T00:23:23Z")

</div>

Anybody can give me an hint?

Thank you in advance
