From: Henry Jen Date: 2009-01-17T17:37:28+09:00 Subject: SOAP wsdlDriver doesn't work without soap4r? Hi, I am trying to access a SOAP web service implemented in Java(I believe), but there is a problem for xsd:string type argument, the result request message always be empty string if I don't have 'soap4r' (Inspired by this thread[1]). Also, code generated with wsdl2ruby works well. Would you please help to me understand why? I consider this is a bug unless there is an explanation. Here is the request envelop without soap4r, EMAIL LASTNAME FIRSTNAME and here is the one with soap4r and works as expected, username password EMAIL LASTNAME FIRSTNAME The code is like following, only the wsdl URL and username/password are masked from original code. #require 'rubygems' #gem 'soap4r' require 'soap/wsdlDriver' require 'pp' wsdl = 'https://example.com/cwpidws/cwpidws?WSDL' driver = SOAP::WSDLDriverFactory.new(wsdl).create_rpc_driver # Log SOAP request and response driver.wiredump_file_base = "cwp-log.txt" XSD::Charset.encoding = 'UTF8' uid = 'username' pwd = 'password' response = driver.login(uid, pwd, [ "EMAIL", "LASTNAME", "FIRSTNAME" ]) pp(response) The environments are $ ruby -v ruby 1.8.6 (2008-03-03 patchlevel 114) [universal-darwin9.0] $ gem list soap4r soap4r (1.5.8) Cheers, Henry [1] http://www.ruby-forum.com/topic/155169