search for: soapfault

Displaying 4 results from an estimated 4 matches for "soapfault".

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 find_customer_by_id(customer_id) Customer.find(customer_id) end...
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. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Googl...
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:...
2005 Mar 08
2
ActionWebService SOAP Faults aren''t schema valid
I''m working with an ActionWebService client talking to an ActionWebService server through one of DataPower''s XS40 XML Security Gateways. One of the intrinsic functions of this gateway is automatic SOAP schema validation. When testing some failure cases, I noticed that SOAP Faults returned by ActionWebService aren''t schema valid to the SOAP 1.1 schema, specifically: