similar to: ActionWebService SOAP Faults aren''t schema valid

Displaying 20 results from an estimated 300 matches similar to: "ActionWebService SOAP Faults aren''t schema valid"

2007 Sep 21
2
ActionWebServer and SOAPFault
I''m really new to RoR and my first task is to write SOAP web service. The problem is that I don''t understand how to send custom SOAPFault messages in case of the errors. For example, I have FindCustomerById API signature: api_method :find_customer_by_id, :expects => [{:customer_id => :int}], :returns => [Customer] And controller: def
2007 Feb 21
1
Exceptions in Response (ActionWebservice)
Hello, i have build an ActionWebservice which returns a string. But if it get an exception in the controller i want to throw an exception. In java it is a soapfault. But if I return in the controller an Exception.new(message) i only get thte message as the return string. NO soapfault. How can i get an soapfault? I hope someone can help me. --~--~---------~--~----~------------~-------~--~----~
2005 Feb 24
8
web services with ActionWebService
<noobalert> Uh, yeah. So my noob self is showing through again. I''m trying to write a simple hello-world type web service with the ActionWebService thingy. I didn''t get very far. I''ve only done web services stuff in .NET, so I''m not exactly used to this sort of thing. Anyhow, I have a file, person_api.rb in my app/apis folder. I want to take a single
2011 Feb 13
1
RCytoscape setPosition error
Hi Can some one please point out where i am wrong. I am trying to position set of nodes column-wise in cytoscape using RCytoscape A----D B----E C----F ------------------- g <- new ('graphNEL', edgemode='undirected') cw <- CytoscapeWindow ('smallExample', graph=RCytoscape::makeSimpleGraph()) layout (cw, 'jgraph-spring') redraw(cw) nodesFr = c('A',
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
2006 Jan 04
5
Webservice External XMLRPC
Hello i have some trouble getting my webservice to run . I have the following webservice : class DirectSpoolAPI < ActionWebService::API::Base api_method :add, :expects => [{:html=>:string},{:from=>:string}], :returns => [Customer] end class DirectSpoolService < ActionWebService::Base web_service_api DirectSpoolAPI def add(html,from) Customer.find(:first) end
2006 Aug 16
7
ActionWebService: XMLRPC Server Multicall possible?
Hi all, I have a question concerning ActionWebService XMLRPC servers: Is it possible to send multicall requests to the Web service? I tried to use multicall and get the error message: no such method ''system.multicall'' on API [MyAPI] In Changeset 2021 there is the following commit message: add ''system.multicall'' support to XML-RPC. boxcarred methods must
2008 Sep 17
2
[Xen-ia64-devel] [PATCH] xm: Don''t spawn vncviewer twice.
Hi. I found this issue with IA64 box while looking at the c/s of 18204:21dd1fdb73d8, but I believe the things is same with x86 box. I''m not sure whether this patch coexist with the old ioemu which is to be removed soon. So it might be desirable to apply this patch after deleting the internal ioemu tree. thanks, xm: Don''t spawn vncviewer twice. Without this patch, vncviewer
2006 Aug 07
1
ActionWebService: associations unavailable in SOAP response
I have create a web service to expose data from my application and am wondering why the associations are not showing up as values in my WSDL or SOAP response. In active record I have enabled eager loading so that the object set as the return type for the service call has all the associated data prior to the response. However, the associations are not showing up. Anyone have any ideas? I can
2006 Dec 17
1
actionwebservice soap client
So I''ve created a few actionwebservice soap servers now and have been accessing them from a stand alone ruby client using soap4r. Now I have a rails app that needs to act as a client to one of my soap servers. From what I can tell, I basically have to copy all the api definitions from the server and put them on the client? Is that correct? Makes sense and seems kind of strange all at
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
2008 Sep 16
2
xm, no such domain error code...
Right now xm will return 1 if you run `xm list non_existant_domain` Wouldnt it be a better idea to have a specific error code for this error so that scripts wrapping around xm can better determine if the domain does not exist or if xm just failed for whatever reason? ~Shaun _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com
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 Aug 01
1
xmlattr use .net web service from ruby problem
I have a WSDL and used to wsdl2ruby to create the default.rb and defaultdriver.rb ****************************************************************** the method that i''m calling class representation is: # {http://home.setup/abs}DeliverMessage class DeliverMessage @@schema_type = "DeliverMessage" @@schema_ns = "http://home.setup/abs" @@schema_qualified =
2006 Feb 18
0
activerecord connections with xmlrpc
Hi folks, Im trying to use an xmlrpc server and have it serve data using activerecord, but every request seems to eat up a mysql database connection, until I run out with "Too many connections". I don''t know enough ruby/rails (or rather ActiveRecord) to figure this one out. > ruby -v ruby 1.8.4 (2005-12-24) [i686-linux] > rails -v Rails 1.0.0 code below: Here is some
2006 Mar 23
0
Re: [Xen-changelog] Improve error handling, in particular fixing the ProtocolError that is thrown
Xen patchbot -unstable wrote: > # HG changeset patch > # User emellor@leeni.uk.xensource.com > # Node ID da24df1ea484cf72dc9d367d52e828777e0e20cd > # Parent c1bb4eb565296bdb00aed84fcc877befbcebd8e9 > Improve error handling, in particular fixing the ProtocolError that is thrown > when a domain is specified by the user that does not exist. Added a few > error codes -- many
2005 Jun 29
2
How to convert "c:\a\b" to "c:/a/b"
I couldn't resist adding a more literal answer unback <- function(x) { chars <- unlist(strsplit(deparse(x),"")) chars <- chars[-c(1,length(chars))] paste(gsub("\\\\","/",chars),collapse="") } unback("\n") | David Duffy (MBBS PhD) ,-_|\ | email: davidD at qimr.edu.au ph:
2005 Jun 29
2
How to convert "c:\a\b" to "c:/a/b"
I couldn't resist adding a more literal answer unback <- function(x) { chars <- unlist(strsplit(deparse(x),"")) chars <- chars[-c(1,length(chars))] paste(gsub("\\\\","/",chars),collapse="") } unback("\n") | David Duffy (MBBS PhD) ,-_|\ | email: davidD at qimr.edu.au ph:
2006 Apr 19
0
Finding items that aren''t associated
Thanks to some advice from the list earlier, I now have a Permission model that links User and Thing (using has_many and :through). I can easily get the list of current users by doing the following: @thing = Thing.find(params[:id]) @current_users = @thing.users But in my view, I want to construct a select of those users that haven''t had permissions added, so they can be added.
2006 Mar 21
2
These objects aren''t equal..I''m confused
I''m testing to see if two objects are equal. One is accessed directly from the fixture, and the other is accessed through a relationship. Here''s the test: def test_hero assert_equal players(:hero), hands(:first).hero end Anyway, the values are exactly the same as far as I can tell. The only difference is the object id, but Ruby compares the values, right? This just