From: Abhijit Date: 2011-05-24T14:11:50+09:00 Subject: Re: How to instantiate SAVON::Client object from a wsdl stored locally --0016364266e9f8081b04a3fe9f50 Content-Type: text/plain; charset=ISO-8859-1 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 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/. > > --0016364266e9f8081b04a3fe9f50--