# Invoking a web service

**URL:** <https://www.ruby-forum.com/t/invoking-a-web-service/111021>\
**Category:** Ruby\
**Created:** [August 2, 2007, 12:30am UTC](https://www.ruby-forum.com/t/invoking-a-web-service/111021 "2007-08-02T00:30:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [August 2, 2007, 12:30am UTC](https://www.ruby-forum.com/t/invoking-a-web-service/111021/1 "2007-08-02T00:30:35Z")

</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?  
Thank you in advance,  
Antonio

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [August 2, 2007, 12:43am UTC](https://www.ruby-forum.com/t/invoking-a-web-service/111021/2 "2007-08-02T00:43:36Z")

</div>

On 8/1/07, removed\_email\_address@domain.invalid [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> Can anybody give me an help on this?

Yes, someone can give you help on this. They just have not had the  
time to look at it yet and write up a coherent, informative reply.  
Please stop posting and wait until help has arrived.

> Thank you in advance,

Your welcome!

> Antonio

Pleased to meet you, Antonio, and welcome to ruby-talk.

Blessings,  
TwP
