Displaying 20 results from an estimated 10000 matches similar to: "SOAP and exceptions"
2006 Apr 17
5
XML-RPC Webservice API
Hi,
After following the excellent tutorials in the Agile Web Development
with Rails book, I was able to get my webservice working pretty much
perfectly :)
I can access it via SOAP and XML-RPC and look at service.wsdl to find
the API. What I can''t do however is get the API for the XML-RPC call. It
fails with :
Internal protocol error: NilClass is not a valid input stream. It must
2006 Mar 21
11
Stuck on ActiveRecord
Hi,
I''m having great fun developing with Rails but I''ve come to a problem
that I can''t quite figure out.
I have an Order object that "has_many" order_lines. This works perfectly
and I can see all the lines.
The OrderLine object has an order_id field as well as product_id and
amount.
Now ideally I would want to do :
order.orderline[0].product.name
for
2006 Apr 07
3
How to consume XMLRPC/SOAP web services in Rails?
Hi,
does anybody know of any good HowTo for consuming XML-RPC and/or SOAP
web services in Rails?
I found some for Ruby (via soap4r/xmlrpc4r), but I was wondering whether
there is something built into Rails already. So far it looks like there
are methods to create web services, but not to consume them.
Ingo Weiss
2006 Mar 29
13
Rails on Mongrel
Hi,
After following advice from you good folks, I gave mongrel a try in a
cluster design based on the example on the Mongrel website - and it
worked right out of the box which is great - and it''s very fast :)
I have got a bit stuck though. I have two MS Word files in
/public/files/. I can pull back these files no problem but it isn''t
sending a mimetype.
I think I have two
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 Mar 28
6
Deploying rails...
Hi,
I thought I''d give lighttpd and FastCGI a go but the latest version I''ve
found for fastcgi is 2.4.0 which was released in January 2003. Is this
the right version?
Can anyone recommend the versions I should use for FastCGI et al and
where to find them? I''m not sure I''ve really found what I''m looking
for...
--
Posted via
2006 Oct 19
2
Connecting to XML/SOAP feed that requires pkcs12 certificate for client authentication
All,
I''m stumped. I need to connect to an XML/SOAP feed... that''s normally
not an issue. But this one has a hoop that threw me for a loop. Some
corporate security geek implented it such that a client certificate
(pkcs12) is required to validate my identity before their system will
talk to me.
The remote system is, of course, running J2EE w/ EJB inside their
firewall. But
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 Mar 22
14
currency conversion webservice in a rails app?
Hi,
I''m interested in using a currency conversion web service in my rails
app. Does anyone have a free service that they use and like? I found
this one
http://www.webservicex.net/WS/WSDetails.aspx?CATID=2&WSID=10
I''ve tried to make a simple, plain Ruby script to connect to this and
get a conversion rate without success.
How do I integrate a webservice into my rails app? I
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 10
2
using web service for authenitcation
I am writting a web service for authenitcation of users and was using
web_service_scaffold :invoke for testing it out...and was able to consume it
using .NET. But my question is, whats the simplest method using which i can
use the same web service in the current Web App. I mean, not from an external
application or something but from the current web apps itself.
I found one method in AWDR, and
2006 Jun 25
2
Working out sales tax...
Hi,
Having googled extensively about storing money in Rails, it seems to be
accepted that the best way is to store the prices etc in the smallest
part of the currency so that you can use an integer i.e ?20 would be
stored as 2000 pence.
This is fine and I''ve made a nice pretty wrapper that outputs the price
in the standard form for invoicing and what not - but here I''ve
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 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
2008 Nov 03
3
Handling SOAP XML request and Response
Hi all,
I have a SOAP XML request coming from a VB6.0 application, which I
have to handle in my ROR application.
After the request is handled, i have to parse the request and check
the extracted values in the database according to the checking i have
to send a Response to the VB6.0 application.
Please tell me the procedure how can i used SOAP XML in ROR
application for handling these
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
2006 Mar 21
1
web_client_api within ActiveRecord
Hi,
Is it possible to use web_client_api or
ActionWebService::Client::Soap.new within an ActiveRecord model to
access a webservice?
Thanks
--
Posted via http://www.ruby-forum.com/.
2006 Mar 23
3
Returning CSV data to the client
Hi,
One of my apps has to export data for the backend system to process it.
What''s the best way to create a CSV file in Rails and then return it as
a file to the client? i.e when they go to the link /csv/get_data it
would return a csv file.
I''ve been messing with the CSV library and I can get it to write out to
a file, but not sure how to best use this in a web app.
Hope
2006 Apr 10
1
ActionWebService PDF...
Hello all - I''ve been lurking around the forums for awhile now and just
wanted to say that everyone here does a great job of helping each other
out...I think it goes a long way in helping even more people adopt Ruby
(and Rails)
I just wanted to let everyone know that I''m working on an online booklet
(PDF only) for O''Reilly that covers "Web Services with Ruby on
2006 Aug 31
1
SOAP MTOM
Any thoughts on extending ActionWebService to handle MTOM?
http://www.w3.org/TR/soap12-mtom
basically, this allows some flexibility when it comes to base64
encode/decode on the message, binary attachments can pass without being
encoded...
am I on my own here?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups