Displaying 20 results from an estimated 40000 matches similar to: "Soap - how to read an array..?"
2006 Jul 19
5
SOAP on rails? Confused...
Hi,
Ive been struggling with the SOAP client things to do with rails as I''m
not sure how to do what I need to do. So far I have:
class SOAPclient < SOAP::RPC::StandaloneServer
def on_init
setup = gui_controller.new
add_method(setup, "submit")
end
end
server = SOAPclient.new("http://127.0.0.1:3000", "http://192.168.0.5",
8080)
2006 Jun 21
5
Rails application into HTML frames
Hey,
Just hoping I can get some pointers as I am completely new to Rails and
I have followed some tutorials to makes a database of data that I need,
but now I am completely stuck with how to make the Rails page appear
within my frameset. Hope that made some sense!
Thanks!
Bex
--
Posted via http://www.ruby-forum.com/.
2006 Aug 10
3
Radio buttons refusing to load checked...
Hi,
Having big problems with radio buttons that just don''t make sense:
<%= radio_button "events", "impact_type", true %> Positive
<%= radio_button "events", "impact_type", false %> Negative
This should create two radio buttons with the first one checked by
default, right? Cos it doesn''t :(
Any ideas would be great,
Thanks,
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 Jun 30
0
SOAP responses blowing up memory usage
Hi,
in our application we have a ActionWebController method that iterates
over a bunch of AR objects (say ~30,000) and converts them to struts.
The controller method automagically converts the array of Struts to
SOAP objects as advertised. There''s a point in
ActionWebService::Dispatcher::ActionController::InstanceMethods#dispatch
_web_service_request (file
2006 Jun 22
4
Shop plugin?
I hope I''m not completely off-base here but is there a shop plugin for
ruby/rails that means I don''t have to write the code for a shop from
scratch? Can''t seem to find one...
Thanks!
Bex
--
Posted via http://www.ruby-forum.com/.
2004 Sep 17
1
Using R to send to SOAP server?
I have an R process continuously monitoring a data stream. When the
data meet certain criteria, I need to send a message to a SOAP server.
Currently I'm doing this by making a system() call to execute a perl
script, passing the message as an argument to the perl script.
I'm wondering if it can be done directly by R, and if so, whether
there might be any performance benefit.
I've
2006 Jul 13
2
Simple dropdown menu
Hi, I''m quite new to this language and I''m having trouble finding out
simple things like a dropdown menu in rhtml. I know I have to use <%
select_tag %> but I''ve read lots of different ways to put in the options
so I''m a bit confused. Options are hard-coded for the menu I''m trying to
create so no database is involved!
Thanks v much!
Bex
--
2009 Jun 24
1
Qualified parameters in SOAP body using .SOAP
Hello,
I am trying to reach a web service using the SOAP package. I succeeded
calling the web service, but not sending parameters to it. After much
research and tries, I think I found that the problem lies in the
namespace including the parameters in the SOAP body.
In short, my question is: how can I send unqualified parameters in the
SOAP body of a call produced through the SOAP package?
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 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",
2007 Nov 12
1
Microsoft SOAP - Help!!
Hello,
I am trying to access Microsoft Live Search Using SOAP through R.
In R I am using the RCurl packages to make the calls.
I have the following situation that looks crazy and cannot figure out how to
solve it:
#SOAP Request
library(RCurl)
h = basicTextGatherer()
body='<?xml version="1.0" encoding="ISO-8859-15"?>
<SOAP-ENV:Envelope
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 27
0
Calling SOAP based Web Services over SSL
Ok, here we go.
1) I am trying to talk to a soap web service @ the url
https://rsvcstage.e2ma.net/emmaTestCalls
2) I can talk to the web service in plain ruby if I:
2.1) disable site ruby (by renaming the site_ruby directory to
something else)
2.2) use the WDSLDriverFactory instead of an actionwebservice
The working ruby code looks like this:
2006 Apr 26
1
accessing a SOAP based web service from R
Hi,
I have a number of web services that run on a server and can be
accessed via SOAP as well as by creating a specific URL.
Now, for certain services, the argument that I need to send is about 10
to 20 characters and the URL approach works fine. However if the
argument is a few kilobytes I would rather create a SOAP packet and send
that off.
So my first question is: is there a package that
2006 Apr 27
1
SOAP service - perl server, ruby consumer incompatability
Hi All,
Wonder if any of you guys can help troubleshoot the following for me.
What I''m trying to achieve is:
1) Perl web service, using SOAP::Lite (server)
2) Ruby web service consumer, using SOAP::RPC::DRIVER (client)
My problem is, if my client and server are both Perl based, the
output is as expected. However, if the client is Ruby based (haven''t
tried another
2008 Jul 08
0
soap4r cannot access server application after soap server is started
I ve started soap r my application.
it works fine. But i m not getting from were to start soap server :0(
if i start it from controller then i m not able to access the server
application.
if i start from console then it works fine and also i can access
server application.
Please can anyone help me from where to start soap server?
currently my server side for starting soap server , code looks like
2006 Aug 04
1
SOAP::Mapping::Object attribute access
I have written a Rails web service, which is working exactly as expected.
The service has a method which returns an object of type
ActionWebService::Struct. In my SOAP client, I create a SOAP rpc driver, and
execute the method, like this:
book = driver.ShowTitle(params[:isbn])
I then do a:
logger.info book.inspect
and find this in the log:
<SOAP::Mapping::Object:0x..ca7b389da
2012 May 06
1
how to download data from soap server using R
i don't know perl,but on server site,they give soap:lite using perl ,
go to--->http://www.kegg.jp/kegg/soap/doc/keggapi_manual.html
i want to download data from kegg server ,using R only,
how to proceed?
& what is mean by SOAP client driver ?
also go to http://soap.genome.jp/KEGG.wsdl
--
View this message in context:
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