1 Replies - 2297 Views - Last Post: 15 April 2012 - 09:57 PM Rate Topic: -----

#1 Manojkarthik  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 14-April 12

error in calling wsdl file from ruby

Posted 14 April 2012 - 03:29 AM

require 'soap/rpc/driver'
require 'rubygems'
require 'pp'
url = 'http://online.mccolls.com.au:8080/wsa/wsa1/wsdl?targetURI=urn:OHWebServiceFMGT'
urn = 'http://online.mccolls.com.au:8080/wsa/wsa1/wsdl?targetURI=urn:OHWebServiceFMGT'
service = SOAP::RPC::Driver.new(url,urn) 
#service.options['protocol.http.ssl_config.verify_mode'] = OpenSSL::SSL::VERIFY_NONE
service.add_method('getEmployeeFmgtDetails','pcEmployeeCode')
puts service.getEmployeeFmgtDetails("02385")



getting Errors:

cacerts: C:/RhoStudio/ruby/lib/ruby/site_ruby/1.8/httpclient/cacert.p7s loading
failed

from C:/RhoStudio/ruby/lib/ruby/1.8/soap/streamHandler.rb:170:in `send_p
ost'
from C:/RhoStudio/ruby/lib/ruby/1.8/soap/streamHandler.rb:109:in `send'
from C:/RhoStudio/ruby/lib/ruby/1.8/soap/rpc/proxy.rb:170:in `route'
from C:/RhoStudio/ruby/lib/ruby/1.8/soap/rpc/proxy.rb:141:in `call'
from C:/RhoStudio/ruby/lib/ruby/1.8/soap/rpc/driver.rb:178:in `call'
from C:/RhoStudio/ruby/lib/ruby/1.8/soap/rpc/driver.rb:232:in `getEmploy
eeFmgtDetails'
from FinalFri.rb:14

Is This A Good Question/Topic? 0
  • +

Replies To: error in calling wsdl file from ruby

#2 Manojkarthik  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 14-April 12

Re: error in calling wsdl file from ruby

Posted 15 April 2012 - 09:57 PM

Hi,

Its urgent . for past one week searching for this answer. anyone help me.

Thanks in advance
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1