From: Vipin Vm Date: 2008-07-21T15:10:08+09:00 Subject: Implementing ruby webservice after having used wsdl2ruby Hi All, One of our client had created a WSDL in ASP and sent it over asking us to implement the same structure in ruby. I created server and client files (4 files each) using these commands wsdl2ruby.rb ���wsdl /home/Test.wsdl ���type server ���force wsdl2ruby.rb ���wsdl /home/Test.wsdl ���type client ���force My questions are :- 1. how can i create WSDLs automatically like in AWS - http://localhost:3000/test/wsdl/ ? (saw this post but not able to make it http://www.ruby-forum.com/topic/145717#704459) 2. Am able to run the server app. But when am sending the request from client its shows error like " ERROR -- Test: GET request not allowed " (am getting this same error when i try http://localhost:3000test/wsdl/) 3. Am calling my client like this driver = SOAP::WSDLDriverFactory.new(url).create_rpc_driver result = driver.method(arg) but am getting an error like this :- RuntimeError (Unexpected response: #): /Library/Ruby/Gems/1.8/gems/httpclient-2.1.2/lib/httpclient.rb: 2058:in `follow_redirect' /Library/Ruby/Gems/1.8/gems/httpclient-2.1.2/lib/httpclient.rb: 1890:in `get_content' /Library/Ruby/Gems/1.8/gems/soap4r-1.5.8/lib/wsdl/xmlSchema/ importer.rb:73:in `fetch' /Library/Ruby/Gems/1.8/gems/soap4r-1.5.8/lib/wsdl/xmlSchema/ importer.rb:36:in `import' ................ ................ ................ i have already added these lines in my env.rb require 'rubygems' gem 'soap4r' then what could be wrong? am using ruby - 1.8.6 soap4r - 1.5.8 mac-os leopard Thanks in advance :) Vipin -- Posted via http://www.ruby-forum.com/.