similar to: Laszlo to AWS SOAPAction problem

Displaying 20 results from an estimated 10000 matches similar to: "Laszlo to AWS SOAPAction problem"

2005 Dec 31
1
Error when Testing AWS API (ArgumentError: illegal refid http://test.host/login)
OK, I''m finally starting to play around with the AWS part of Rails, and I''m running into problems with the functional tests. If I use the generator to create the web service as ./script/generate web_sevice MyTest do_it and then run the unit tests without further editing the code, I get the following error: test_do_it(MyTestControllerApiTest): ArgumentError: illegal
2007 Aug 09
0
layered SOAP webservices
Hi all, My SOAP web service works with direct and delegated dispatching. But as soon as I switch to layered, I get an error message no such web service ''api'' Now, the actionwebservice/lib/action_web_service/protocol/ soap_protocol.rb, in function decode_action_pack_request(action_pack_request), service_name = action_pack_request.parameters[''action'']
2006 Jan 07
1
AWS, SOAP, and Exceptions
Can someone shed some light on how to convert an Exception to a SOAPFault on Rails 1.0/AWS 1.0? I''ve been digging through the source code and see that in soap_protocol.rb there is a method called encode_response() that seems to perform the translation of an Exception to a SOAPFault. However, if I use the following code block within my Web Service controller: def
2005 Dec 30
5
AWS api_method :returns not accepting ActiveRecord::Base
I''m trying to use the feature of AWS where it will take an object derived from ActiveRecord::Base instead of an AWS::Struct object. Whenever I try it, though, I get the craziest error: NoMethodError: You have a nil object when you didn''t expect it! The error occured while evaluating nil.new /usr/lib/.../actionwebservice/lib/action_web_service/casting.rb:105:in
2006 May 02
1
SOAP client not seeing all of my AWS service methods
Hi all, 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 =
2008 Apr 21
1
Ajax.request - SOAPAction
If I build my own XMLHttpRequest, I can do the following: this.xmlHttp.setRequestHeader("SOAPAction", ''updateClient''); How can I do the same with AjaxRequest()? var myAjax = new Ajax.Request( this.service, { method:''post'', postBody:soapXML,
2006 Jun 23
0
SOAP Web Service Exception
I am working on building a prototype for a Rails Web Service that will be used potentially by non-ruby/rails languages. When testing using the *invoke* scaffold I have no problem getting the correct result, however when using a 3rd party PHP client I get a *NoMethodError (undefined method `collect'' for #<SOAP::SOAPNil:0x24ea1bc>):* exception from the rails Webrick web server.
2006 Jun 15
2
AWS Client - There has to be a better way
I''m working on building a SOAP client with AWS, i.e: class PersonAPI < ActionWebService::API::Base api_method :find_all, :returns => [[Person]] end soap_client = ActionWebService::Client::Soap.new(PersonAPI, "http://...") persons = soap_client.find_all This works well but I think it breaks down quickly when you try to do real world work. Lets take a moderately
2005 Mar 02
0
Re: AWS Client Usage
On Wed, 2 Mar 2005 11:51:51 -0600, Chris Brinker <chris.brinker-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > I was talking on #rubyonrails some more and they seem to think that > the model classes have to be copy and pasted/available to the > ruby:client, in addition to the api. I find this advice a little odd > considering .Net and apparently ColdfusionMX need no such
2006 Apr 24
0
Web Services/Invoke Inconsistencies
Hey all, Got a bit of a long one here, so bear with me while I try to hash out the details... better to give too much than not enough. So we''re using the ActionWebService in order to communicate with a 3rd-party software client. We''ve created the API as discussed in Agile Web Development, and, in fact, invoke actually works perfectly. We have three example XML posts... they
2009 Mar 10
0
How to customize (<item> tags representing Array types) soap response XML with Web services implementation using AWS
Hi All, I want to know that how can we customize the soap xml response xml format that we get by implementing APIs using AWS in rails. As an specification for array types Soap creates set of <item> tags. so how can we replace these item tags with some meaningful names ? Thanks in Advance. Piyush. --~--~---------~--~----~------------~-------~--~----~ You received this message because you
2006 Aug 02
0
Need help with SOAP and .NET
I am trying to consume a .NET webservice from http://ws.melissadata.com/dqws/address.asmx Whenever I call soap.doSingleRecord I receive an error saying that I have an "Empty XML Request Structure". Looking at the sample SOAP request it appears that all the settings I am sending need to be wrapped in <Request> tags. So it lookes like I need to build a seperate Request object and
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
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 Apr 14
0
Rails AWS questions
I need to implement an API for my web app but i had some questions before diving into the code for it. I was hoping to get some help from you experience individuals and rails rock stars. 1. Is there a way to add authentication/login so api methods cant execute without proper credentials? Mainly, I want to be able to track activity from different people using the api and also want to keep out
2006 Jul 19
1
Session management with SOAP and AWS
I''m working on a rails app where I''d like to have a session-based SOAP API. That is, I''d like to connect via SSL and have a ''login'' method followed by one or more other methods. I''m using the ActionWebService::Client::Soap class to connect to my app, but each method invocation results in a new session on the server (WEBrick, at the
2008 May 09
1
SSOAP: arguments passed as
Hi, I have a SOAP service, provided by BioMoby which I'd like to call via SSOAP. My service breaks during genSOAPClientInterface() genSOAPClientInterface(def=service, verbose = TRUE) Operation MassBank_Simple_2 Error: Cannot resolve SOAP type in empty context Problem seems to be that there are no <types> defined in the WSDL, and that the service passes input/output as a single
2006 Jan 20
1
XMLRPC::DateTime from AWS
When I do an XMLRPC webservice call to retrieve a single Product, my DateTime fields in the products table do not get converted to a valid DateTime value, but remain as XMLRPC::DateTime structures. So, say my webservice call is: @product = @aws.get_product(1) Then my @product object looks like this: name: My product last_updated: #<XMLRPC::DateTime:0x37c5338> description: This is my
2006 Jan 09
0
Problem with publishing subclasses by AWS API specification
Hi, I''m quite new to Rails and have a problem with the use of AWS. The Problem is, that I have a class which provides some basic attributes and some subclasses of this with more specific attributes. I want to send objects of those classes through SOAP by a remote client, but if I specify just the base class in the method signature of my API definition the generated WSDL file will
2006 Jan 11
0
HELP!! - Problem with AWS and subclasses
Hi, I''m quite new to Rails and have a problem with the use of AWS. The Problem is, that I have a class which provides some basic attributes and some subclasses of this with more specific attributes. I want to send objects of those classes through SOAP by a remote client, but if I specify just the base class in the method signature of my API definition the generated WSDL file will just