similar to: Ruby Webservice giving "POST not supported" error when using datanoise-actionwebservice gem

Displaying 20 results from an estimated 10000 matches similar to: "Ruby Webservice giving "POST not supported" error when using datanoise-actionwebservice gem"

2006 Jan 31
0
webservice problem (cant make client)
hey, i have made a webservice http://twodecode.pilot.localhost.be:3000/backend/wsdl here i can see the wsdl file i have a method string Authenticate(string twa, string login, string pass) when i do /invoke i can test it, this all works backend_api.rb class BackendApi < ActionWebService::API::Base api_method :authenticate, :expects => [{:twa =>:string},{:login
2008 Nov 24
2
Actionwebservice as a SOAP client to .NET services.
I have read the (scant) documentation on the datanoise actionwebservice gems and can''t figure out how you are supposed to structure the SOAP client. Has anybody ever used actionwebservice as a client? If so could somebody please put a sample someplace? Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google
2006 Feb 20
3
Trouble connecting to a Rails SOAP web service with a simple Ruby client
Hi, The code for my Rails webservice is below. It working just fine through the Rails web service scaffold invoke http://localhost:3000/ProductBackend/invoke I''m trying to write a plain ruby command line client to access the webservice. require ''soap/rpc/driver'' proxy = SOAP::RPC::Driver.new("http://localhost:3000/product_backend",
2006 Apr 17
5
XML-RPC Webservice API
Hi, After following the excellent tutorials in the Agile Web Development with Rails book, I was able to get my webservice working pretty much perfectly :) I can access it via SOAP and XML-RPC and look at service.wsdl to find the API. What I can''t do however is get the API for the XML-RPC call. It fails with : Internal protocol error: NilClass is not a valid input stream. It must
2006 May 25
3
webservice timeout issue
I am having an issue where I am trying to test a weservice that I wrote by connecting to it from ruby. When I submit my form that calls the webservice it times out. you can see from the lighttpd log that the webservice completes just after the timeout. any ideas? am I doing something wrong? ---- source ---- def validate auth = ActionWebService::Client::Soap.new(AuthApi, "
2006 Sep 06
0
soapenc:base64 and xsd:base64Binary
Hello guys, I have a little mix in all those webservices and wsdl files and all this things, and I have maybe a strange question. I''m trying to consume webservice from different webservice implementation than ror. And I there is one thing from ror regenerated wsdl file. Method parameter defined by :base64 type is defined in wsdl as ''soapenc:base64''. My question is, why
2006 Jul 24
1
XMLRPC WebService and Structs
Hi First off, I apologise if this is covered somewhere and I just don''t get it... I''ve looked far and wide .... As a part of my current project I need to hook up to a particular XMLRPC webservice that won''t be available for me to use until close to launch date... So I am trying to recreate the webservice that mirrors the live one so I can test my application
2006 Apr 07
2
ActionWebService and namespaces
Hi all, I''ve tried to search the mailing list, web, etc. and haven''t found anything that seems to answer my question. I have a WSDL for a web service written in Java, and I''m trying to consume it in ruby using ActionWebService. I''ve created my API and some struct classes. I''ve found the :namespace option to ActionWebService::Client::Soap.new, but
2005 Dec 30
4
soap4r 1.5.5 seems to break actionWebService tests
Hi, I just upgraded to soap4r 1.5.5, and now all my Rails Functional tests for the action_web_services fail as follows, any ideas what I did wrong? Thanks TypeError: can''t modify frozen object /usr/local/lib/ruby/1.8/xsd/qname.rb:78:in `name='' /usr/local/lib/ruby/1.8/soap/rpc/element.rb:118:in `set_param''
2006 Mar 22
14
currency conversion webservice in a rails app?
Hi, I''m interested in using a currency conversion web service in my rails app. Does anyone have a free service that they use and like? I found this one http://www.webservicex.net/WS/WSDetails.aspx?CATID=2&WSID=10 I''ve tried to make a simple, plain Ruby script to connect to this and get a conversion rate without success. How do I integrate a webservice into my rails app? I
2006 May 25
0
post to a webservice in an integration test?
Hey railers, Just wondering if anyone out there knows how to generate a SOAP post using the session object in an integration test. I couldn''t find documentation on how to do so, but perhaps I''m overlooking something. I would like to call a webservice on my server in the following block: def login open_session do |sess| ... sess.post
2009 Feb 26
1
Problem w/ActionWebService and Inheritance in Service Params
I have a service method that takes a PaymentMethod which can either be a CreditCard or a PayPal account. When I request the service and pass one or the other it always comes over as a PaymentMethod; the service doesn''t seem to know that the parameter is really a CreditCard or PayPal. Here''s some sample code that illustrates what I''m talking about more concretely:
2006 Jul 31
5
ActionWebService API
Hi *, I need to pass a hash to a webservice, so I defined my API with: api_method :search, :expects => [{ :tags => :string, :assignment => :string, :resource => :string, :lesson_plan => :string, :subject => :string, :all_types => :string }], :returns => [[Resource]] when I try to test the webservice with scaffold the
2006 Jul 28
3
ActionWebService Struct member name including ''-''
Hi I am tryng to mirror a locked away, secure web service for testing purposes and am almost there. Hoever as part of the definition for the structure of the call to the webservice, I have this struct. class MyCall < ActionWebService::Struct member :username, :string member :password, :string member :"remote-ip", :string end However this does not work... Should
2006 Jan 06
0
Rails ActionWebService and gSOAP interoperability problem
Hi! I''ve successfully created a Rails web service. I can connect to it with an XML-RPC client, without any problems at all. However, when I try to use a gSOAP application to connect to the web service, it doesn''t work. The back trace that I get is at the end of this message. From the back trace, it appears that the SOAP request is not being recognized as a SOAP
2006 Jan 07
0
gSOAP and ActionWebService interop problems
Hi! I''ve successfully created a Rails web service. I can connect to it with an XML-RPC client, without any problems at all. However, when I try to use a gSOAP application to connect to the web service, it doesn''t work. The back trace that I get is at the end of this message. From the back trace, it appears that the SOAP request is not being recognized as a SOAP request, and
2006 Apr 10
1
ActionWebService PDF...
Hello all - I''ve been lurking around the forums for awhile now and just wanted to say that everyone here does a great job of helping each other out...I think it goes a long way in helping even more people adopt Ruby (and Rails) I just wanted to let everyone know that I''m working on an online booklet (PDF only) for O''Reilly that covers "Web Services with Ruby on
2006 Mar 21
1
web_client_api within ActiveRecord
Hi, Is it possible to use web_client_api or ActionWebService::Client::Soap.new within an ActiveRecord model to access a webservice? Thanks -- Posted via http://www.ruby-forum.com/.
2005 Mar 08
2
ActionWebService SOAP Faults aren''t schema valid
I''m working with an ActionWebService client talking to an ActionWebService server through one of DataPower''s XS40 XML Security Gateways. One of the intrinsic functions of this gateway is automatic SOAP schema validation. When testing some failure cases, I noticed that SOAP Faults returned by ActionWebService aren''t schema valid to the SOAP 1.1 schema, specifically:
2006 Apr 26
0
Re: gSOAP and ActionWebService interop problems
I am experiencing a similar problem, not with gSOAP, but with Apache''s SOAP library. Just like Guido, XML-RPC works perfectly, but the SOAP request processing fails during protocol discovery. Rail''s SOAP client also works perfectly, so I''m fairly certain the error is not in my code. I am new to both ActionWebService and the Ruby XMLRPC module, so I''m