search for: wsdldriver

Displaying 14 results from an estimated 14 matches for "wsdldriver".

2007 Jul 31
0
wsdlDriver won't run under Rails (SSL)
I have a wsdl client that will work standalone but as soon as I put identical code into a Rails controller I get an Errno::ECONNREFUSED #(Connection refused -connect(2)...) Any ideas? ======================= ||Standalone: (works) || ======================= require ''soap/wsdlDriver'' require ''http-access2'' user = ''fwkaufm'' wsdl = ''ProxyUser.wsdl'' soap = SOAP::WSDLDriverFactory.new(wsdl).create_rpc_driver soap.options[''protocol.http.ssl_config.client_cert''] = ''/etc/ce...
2008 May 22
3
SOAP client in Ruby/Rails
Hi all. I have a need to build a SOAP client using Ruby and Rails. I''m accessing a document/literal style SOAP service. I''ve been poring over documentation (well, there really doesn''t seem to be any, so that''s a little misleading), blog posts, and outdated tutorials all day, and I still don''t really have anywhere to begin. Every tutorial seems to have a
2008 Oct 23
4
Soap4R
The following two line code creates the issue: factory = SOAP::WSDLDriverFactory.new("http://aspire388:8080/ClubConcierge306/axis/LWFlowerService?wsdl") soap = factory.create_rpc_driver The error message is: part: requestParams cannot be resolved RAILS_ROOT: E:/Pavo/csat Application Trace | Framework Trace | Full Trace c:/ruby/lib/ruby/1.8/wsdl/soap/methodD...
2010 Jan 05
1
Errno::ENETUNREACH (Network is unreachable - connect(2)):
...0:in `route'' /usr/ruby-enterprise/lib/ruby/1.8/soap/rpc/proxy.rb:141:in `call'' /usr/ruby-enterprise/lib/ruby/1.8/soap/rpc/driver.rb:178:in `call'' /usr/ruby-enterprise/lib/ruby/1.8/soap/rpc/driver.rb:232:in `getEmail'' /usr/ruby-enterprise/lib/ruby/1.8/soap/wsdlDriver.rb:117:in `__send__'' /usr/ruby-enterprise/lib/ruby/1.8/soap/wsdlDriver.rb:117:in `GetEmail'' app/controllers/application_controller.rb:16:in `user_session'' /data1/src/ruby/passenger-2.2.7/lib/phusion_passenger/rack/ request_handler.rb:95:in `process_request''...
2006 Aug 07
5
Store SOAP::RPC::Driver in user session throws TypeError
Hi All I have a requirement to consume a 3rd party web service from my Rails application. I am doing this in my action require ''soap/wsdlDriver'' factory = SOAP::WSDLDriverFactory.new(TRANSIDIOM_WSDL_URL) soap = factory.create_rpc_driver soap.wiredump_file_base="#{RAILS_ROOT}/log/transidiom.log" param = %(<Request name="com.wm.ccv.rpgrouter.seagull.CustomerProfileResCom"> <Input> <CompanyCode>...
2006 Jan 26
3
Calling a SOAP service from within a Rails controller
...llowing works fine as a standalone ruby program: ********************************************************************************************** t = Time.now starter = Time.local(t.year,t.mon, t.day) + (24 *3600) ender = starter + 7 * 24 *3600 lat = 40.352039 lon = -74.191961 require ''soap/wsdlDriver'' params = {:maxt => false, :mint => false, :temp => true, :dew => false, :pop12 => false, :qpf => false, :sky => false, :snow => false, :wspd => false, :wdir => false, :wx => false, :waveh => false, :icons => false, :rh => false, :appt =>...
2005 Mar 02
0
Re: AWS Client Usage
...so, please bear in mind AWS was written in ~3 weeks, with no prior WSDL/SOAP or XML-RPC experience, so yes, it will be somewhat less full featured compared to .NET and Java at this juncture :) Anyhow, the Ruby SOAP bindings already have good client support, have you had any success with "soap/wsdlDriver"? I.e.: require "soap/wsdlDriver" factory = SOAP::WSDLDriverFactory.new("http://url/to/wsdl") client = factory.createDriver ret = client.someMethod(arg1, arg2) The main disadvantage of this approach of course being that any custom structured types will not have the same a...
2005 Nov 19
1
Rails as SOAP client with .NET web service
...r an application we need to obtain data from a .NET based web service. I''ve been "playing" with some sample code to invoke web services as a soap client. They work ok with services that offer a .wsdl link. However, .NET based services are called with "*.asmx?WSDL". The wsdlDriver (I guess SOAP4R) barfs on this. Anybody have practical experience and willing/able to help me out? --PC __________________________________ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com
2006 Aug 12
0
doc/lit ws consumption
I am new to ruby and rails. I am having trouble consuming a java web service with the soap/wsdlDriver library. My java web service, FooService, has one method, search(String). I am sending the data from a form to this method in my controller: def search searchTerm = params[:searchTerm] factory = SOAP::WSDLDriverFactory.new("http://localhost:8080/services/FooService?wsdl")...
2006 Jul 18
2
connecting to a coldfusion web service
Hi, I''m connecting to a cf web service.... <cfcomponent> <cffunction name="myname" returntype="string" access="remote"> <cfreturn "fred" > </cffunction> </cfcomponent> using require ''soap/wsdlDriver'' wsdlfile = "http://localhost/docsearch/mainsearch.cfc?wsdl" factory = SOAP::WSDLDriverFactory.new(wsdlfile) and I am getting the error "undefined local variable or method `targetnamespace'' for #<WSDL::SOAP::Fault:0x360b8b0>" We''re using Ruby...
2006 Jan 31
0
webservice problem (cant make client)
...lways get parse error xml, i have tried mutiple options, here are they, with an error description above it Anyone can help me get the right method.... require ''action_web_service'' require ''soap/rpc/driver'' require ''uri'' require ''soap/wsdlDriver'' require "xmlrpc/client" # Initialize the SOAP driver wsdl = "http://twodecode.pilot.localhost.be:3000/backend/wsdl" wsdl2 = "http://twodecode.pilot.localhost.be:3000/backend/api/RPC2" ns = "urn:ActionWebService" #xml parser error #~ proxy = SOA...
2005 Dec 21
1
ActionWebService and WSDL
The suggested approach for developing a web service using ActionWebService appears to be start by defining the API you want and then you can generate WSDL. I want to start from WSDL. I''ve tried wsdl2ruby but the Ruby code it generates does not appear to play well with Rails. Is there a way I can get what I want? I''m new at this so if the answer is a forehead slapper,
2006 May 02
1
SOAP client not seeing all of my AWS service methods
...Ruby 1.8.4 Rails 1.1.2 I''m a newb when it comes to SOAP, but I thought I''d give it a shot. I have several web services defined. However, when I try to connect with a SOAP client it seems the client is only picking up one of the services, called Hardware. require ''soap/wsdlDriver'' wsdl_url = ''http://localhost:3000/webservice/service.wsdl'' soap = SOAP::WSDLDriverFactory.new(wsdl_url).create_rpc_driver p soap.methods(false) ["findHardwareByVendor", "FindHardwareByVendor", "getAllHardware", "GetAllHardware",...
2007 Dec 13
3
Realise a web service with ruby on rails.
...grel_rails:19:in `load'' /usr/bin/mongrel_rails:19 Request Parameters: None Show session dump --- flash: !map:ActionController::Flash::FlashHash {} Response Can you help me? I realise a client in ruby (without ruby on rails) like this : #!/usr/bin/env ruby require ''soap/wsdlDriver'' wsdl = "http://localhost:3000/customer/service.wsdl" customer_server = SOAP::WSDLDriverFactory.new(wsdl).create_rpc_driver customer_server.listall.map do |id| customer = customer_server.listid(id) puts "Client: #{customer.nom}, rtc : #{customer.rtc}, commercial : #{custome...