Displaying 20 results from an estimated 100 matches similar to: "Sending a <form> as a SOAP request"
2008 Jan 05
4
a sort question
dear I have this list
@@spelers = Speler.new(''Jan Janssens'', ''M'', 5, ''SR''),Speler.new(''Leen
Leniksen'', ''V'', 7),
Speler.new(''Piet Pieters'', ''M'', 3), Speler.new(''Els Elsenbocht'',
''V'', 1, ''J''),
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 04
0
Soap - how to read an array..?
Hiya, I''m currently setting up a soap client in ruby that is working
fine with passing ints or strings, but I cannot pass arrays. Is this a
soap problem or is there a special code thing you have to do to take in
an array from a soap call?
Thanks,
Bex
--
Posted via http://www.ruby-forum.com/.
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
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 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
2006 Aug 14
0
return values in SOAP with Action Web Service
I''m working with ActionWebService, building a SOAP Service.
I realize that I can returns various values, in example:
api_method :foo,
:expects [ { :value1 => :int },
{ :value2 => :int } ],
:returns [ { :return_value_1 => :int},
{ :return_value_2 => :string},
{ :return_value_3 =>
2006 Jul 05
1
Process incoming SOAP requests?
We currently have a SOAP server that processes incoming requests. I''d
like to rewrite this system (maintaining the same SOAP interfaces)
utilizing RoR. What is the easiest way to go about this?
Thanks.
--
Posted via http://www.ruby-forum.com/.
2006 Jul 22
0
SOAP and caching
Hi,
Is it possible to cache page/action within AWS?
The method caches_page doesn''t seem to work, nothing is being cached.
Thanks.
2006 Jul 29
0
SOAP for large datasets
I''ve been playing around with a soap interface to an application that
can return large datasets (up to 50mb or so). There are also some
nested structures for which I''ve used ActionWebService::Struct with
2-3 nested members of oher ActionWebService::Struct members. In
addition to chewing up a ton of memory, cpu ulilization isn''t that
great either. My development
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 Apr 17
1
SOAP and exceptions
Hi,
I''ve been doing more searching, and I''m kinda stuck on how to send back
error messages to a SOAP / XML-RPC client if say for example the
username and password they supplied were incorrect.
Can anyone point me in the right direction?
Cheers,
Pete
--
Posted via http://www.ruby-forum.com/.
2008 Mar 18
0
php-pear-SOAP
Hi All,
Anyone know of a CentOS 5 package for php-pear-SOAP? I'm installing
Centreon, and that's the only pear package I have not been able to find
packaged as a RPM for CentOS 5.
I did find this, though:
http://download.fedora.redhat.com/pub/fedora/linux/extras/6/i386/repoview/php-pear-SOAP.html
I should be able to just install the Fedora 6 package, but I'd rather
use one built
2006 Feb 19
0
SOAP error messages? (When it all goes wrong.)
Hi,
In Rails, if a form is submitted with invalid data it is very easy to
display the form with red boxes showing where the validation caught
problems. Also there is the flash to give the user messages too.
I''m just learning about Rails SOAP capabilities. What happens when
things go wrong? Could I just make is so that each webservice method
returns whatever it is supposed to when things
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 27
1
SOAP + HTTP authentication
Hey,
Just had a question. Been pulling out my hair all weekend trying to get SOAP
to work properly in Rails and even straight on Ruby. I started with Rails''
AWS and moved to Ruby''s internal libraries, after which I tried out SOAP4R.
Now, my question is, does Rails or even Ruby itself support SOAP client
calls through basic HTTP Authentication? From the research I''ve
2006 Oct 24
0
ActiveResource and SOAP
Hi guys, I''ve recently been digging into ActiveResource and the REST
principle in edge rails.
I want to push things even further, since about everyone in the world
is doing SOAP (Yahoo, Google, Flickr) and more important, .NET and the
upcoming release of Microsoft Navision/Dynamics, I''m trying to enhance
ActiveResource in a way that it would make me possible to for example,
do a
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 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
2012 Mar 28
0
Performance for SOAP and HTTP
Hi everyone, I hope someone can help me with the following problem.
I want to issue SOAP request from rails to connect to a legacy system
in the backend. First I tried savon as a SOAP client. Everything
worked fine, but the performance was bad. The following code
client = Savon::Client.new
client.http.headers["Content-Type"] = "application/soap+xml;
charset=utf-8"