Displaying 20 results from an estimated 1000 matches similar to: "Error 500 when displaying after creating a controller"
2008 Feb 20
1
link_to weirdness, related to namespace?
Hi,
In my app/views/admin/clieint/_searchresults.rhtml partial, I have ...
<% for user in @users %>
<tr>
<td><%=h user.ship_to_first_name %></td>
<td><%=h user.ship_to_last_name %></td>
<td><%=h user.email %></td>
<td align="center"><%= link_to ''Show'', {:action =>
2008 Feb 27
7
older version of rails -- Unknown action error
Hi,
I''m using Rails 1.2.3 (constraint of the hosting company). I''m
getting this error
Unknown action
No action responded to subscriber
upon visiting http://mydomain.com/super_admin/subscriber/search
I have these files:
app/controllers/super_admin_controller.rb
app/controllers/super_admin/subscriber_controller.rb
app/views/super_admin/subscriber/search.rhtml
and below is my
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 26
3
Calling a SOAP service from within a Rails controller
The following 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
2009 Jun 03
1
SSOAP failing
Dear list,
I am trying to use the SSOAP package to access a very simple SOAP
service, included as a demonstrator in the axis2 Apache package:
"Version" (takes no input parameters and should return a string with the
version number). The web service itself seems to be working as I could
access it using an other client (eclipse Web Server tester).
You will find the service wsdl here:
2007 Nov 03
1
Newbie: What is WSDL?
# Allow downloading Web Service WSDL as a file with an extension
# instead of a file named ''wsdl''
map.connect '':controller/service.wsdl'', :action => ''wsdl''
That''s in the routes file, but what''s it for/mean?
Thanks!
Stedwick
--~--~---------~--~----~------------~-------~--~----~
You received this message because you
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
2010 Jun 22
1
SSOAP fails with .types[[1]] : subscript out of bounds
Hi,
I am trying to create a BioMoby client in R using SSOAP.
BioMoby is a normal SOAP web service, with request
and response messages wrapped in BioMoby XML dialect.
Since the particular WSDL I am having problems with
is autogenerated and used similarly by *many* services,
it would be quite important to a) fix SSOAP or
b) fix the WSDL generator.
I am a bit lost how to continue debugging
2009 Nov 03
1
help with SSOAP (can't find working examples)
First of all, let me confess that I am a newbie to R and don't know
much about the language or the environment. We have a need for
plugging in R in our production runtime and need the ability to pull
data out of our existing services. I am trying to see if I can take
advantage of SSOAP such that we can expose the data via webservices
and use SSOAP to call into them. Our runtime is mostly
2006 Jun 07
2
Confirm User engine clobbers active web service actions
Hello
Ive been learning / implementing AWS
Thanks to the wonderful pdf by orielly I was able to spot a problem with the
User Engine
I would like to see if anyone else has had problems with this??
Basically if you make a web service at /products
You should be able to reach /product/wsdl and get a well formatted xml doc
If you have a login engine on it seems
2006 Aug 10
1
Web service SOAP URLs started failing with 1.1.4 or using 1.1.2 security patch
Railers,
I''m trying to figure out why invocations to my Web service URLs work
with Rails 1.1.2 but fail both with Rails 1.1.4 (and 1.1.5) and when I
apply the new 1.1.2 security patch to Rails 1.1.2.
It looks like they are failing with SOAP clients but succeeding with
XML-RPC clients.
The URL that used to work is of the form
http://localhost:3000/my_controller/ServiceName/api. When I
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,
2011 Jul 20
1
SSOAP & chemspider
Dear all,
I've been trying on and off for the past few months to get SSOAP to work with chemspider. First I tried the WSDL file:
cs<-processWSDL("http://www.chemspider.com/MassSpecAPI.asmx?WSDL")
Error in parse(text = paste(txt, collapse = "\n")) :
<text>:1:29: unexpected input
1: function(x, ..., obj = new( ?
^
In addition:
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/methodDefCreator.rb:144:in
2007 Mar 02
5
ActionController::RoutingError
plz give me the solution to solve the below error
ActionController::RoutingError
ActionController::RoutingError in Issues#new
Showing app/views/issues/_issue.rhtml where line #1 raised:
issue_url failed to generate from {:controller=>"issues",
:action=>"show", :id=>nil}, expected: {:controller=>"issues",
:action=>"show"}, diff:
2005 Nov 19
1
Rails as SOAP client with .NET web service
Hi
For 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
2006 Jan 30
3
webservice consumption over SSL
Hi, as long as nobody answered to my previous question, i''ll try to
write in another way.
I have:
webservice WSDL link (https://something?WSDL, that''s .net webservice)
pem file (certificate, needed to authentificate for gettting data)
i need :
to consume that webservice without describing API''s for each method (i
mean use WSL to construct needed structures or objects).
2005 Dec 30
2
scgi apache routes help needed
I''m trying to get an application running in a sub directory of a site using
apache and scgi. The application runs fine with webrick.
I have a site. Let''s call it "mysite.org". There is a variety of content on
that site.
I would like to add a rails application to that site. Let''s call the
application "myapp".
So we will have urls of the form
2005 Dec 08
1
SwitchTower, Apache, and Routing Errors
Hello,
I deployed a Rails App using Switchtower and now I''m getting a Routing Error
to my Javascript and Stylesheet files.
Has anybody else had this issue?
Here is the log file.
> ActionController::RoutingError (Recognition failed for
> "/javascripts/prototype.js"):
> /vendor/rails/actionpack/lib/action_controller/routing.rb:470:in
>
2005 Mar 19
2
routing problem 1.8.2/0.10.1/webrick?
I seem to have come to a strange problem getting started on rails. I
had everything working in a virtual machine and then set up a seperate
machine just for rails developement. It now seems something is broken a
little.
ruby 1.8.2, rails 0.10.1, postgres, using webrick:
i created a table "users", then "generate scaffold User"
view localhost/users works fine, shows the