From: Marco Sangiorgi Date: 2010-05-28T01:24:55+09:00 Subject: Re: Get methods params type soap4r Capitan Yesterday wrote: > On 27 Mag, 14:09, Marco Sangiorgi wrote: >> No one could help me? :( >> -- >> Posted viahttp://www.ruby-forum.com/. > > Can't you just look in the wsdl? > When I used soap4r I did something like: > > params = {:param1 => 'some_value', :param2 => 42}; > response = driver.my_method params > > I took :param1 and :param2 names directly from the wsdl method > definition. > Otherwise, you can use wsdl2ruby... > Hope it helps First of all, thanks for your answer :) The problem is that I have to automatically build html form from each soap method, so I have to know how and how many params each method takes without look in the wsdl... Something like this! [1] Some ideas? Thanks a lot again, Marco Sangiorgi [1] http://www.service-repository.com/client/start -- Posted via http://www.ruby-forum.com/.