Hi Payal,
    I guess that your problem must have been solved by now. If not then
please refer code snippet below:

     Savon::Client.new do
      wsdl.document = path_to_wsdl
    end



Thanks,
Abhijit


--
If life was fair, Elvis would be alive and all the impersonators would be
dead.



On 31 December 2010 01:21, Payal Patel <payalpatel11 / gmail.com> wrote:

> Hi,
>
> I am using SAVON to consume webservices in my project. Savon lib uses
> the hosted wsdl to instantiate SAVON::Client object.
>
> I have to consume a WCF .net webservice. Its hosted WSDL does not have
> the message info ie. request-response message information. It is hidden.
> Thus, the SAVON::Client object instantiated from the hosted wsdl is not
> able to generate stubs of the methods/soap actions supported by the
> wsdl.
>
> So is there any way to instantiate SAVON::client from a wsdl stored at a
> physical location instead of using the hosted one.
>
> Or is there any way to create stubs from a WSDL stored locally using
> SAVON gem.
>
> I am using ruby 1.9.2. I tried using SOAP4r but no success. SAVON did
> work with ruby 1.9.2 but with the hosted wsdls that do have messages
> hidden.
>
> Thanks,
> Payal Patel
>
> --
> Posted via http://www.ruby-forum.com/.
>
>