aboutsummaryrefslogtreecommitdiffstats
path: root/actionwebservice
Commit message (Collapse)AuthorAgeFilesLines
* special-case non-existent target method handling for 'system.multicall' ↵Leon Breedt2005-08-162-3/+15
| | | | | | | | | calls when the method does not exist, to conform to the RFC and return the error inline in the multicall response. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2023 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* add 'system.multicall' support to XML-RPC. boxcarred methods must still existLeon Breedt2005-08-165-9/+107
| | | | | | | | on the target service(s), value casting will still be performed, and recursive 'system.multicall' calls are not allowed. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2021 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix duplicate XSD entries for custom types (#1729), and prevent recursive typeLeon Breedt2005-08-142-9/+14
| | | | | | | traversing. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2014 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow multiple invocations in the same WS test #1720Leon Breedt2005-08-142-0/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2013 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* fix rendering of scaffolding (@content_for_layout has to be set on the ↵Leon Breedt2005-08-121-4/+13
| | | | | | template.) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1998 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add API::Base.soap_client and API::Base.xmlrpc_client helper methods to ↵Leon Breedt2005-08-123-0/+20
| | | | | | | | | | | | | | | | | construct an internal client. Example: {{{ $ ./script/console >> c = MyApi.soap_client 'http://app.com/ws/api' >> c.method arg1, arg2 }}} git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1994 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* we should respect charset for incoming messages and not assuming incoming isLeon Breedt2005-07-161-2/+12
| | | | | | | always UTF-8, and only force UTF-8 for our response. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1842 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* add changelog entry.Leon Breedt2005-07-131-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1824 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* make sure that we get back a SOAPString when $KCODE is UTF-8Leon Breedt2005-07-131-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1823 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* always send back SOAP responses as UTF-8, we can't guarantee that SOAP4RLeon Breedt2005-07-134-33/+57
| | | | | | | | | | | supports any encoding sent by caller. add documentation describing how to ensure :string types don't get converted into :base64 by SOAP4R when containing non-ASCII chars and $KCODE is not set to a value. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1822 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made ready for release of 0.13.1David Heinemeier Hansson2005-07-112-5/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1814 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* ensure the second manual WS request of scaffolding contains the same state asLeon Breedt2005-07-062-0/+5
| | | | | | | | the original request as much as possible (so that things relying on hostnames &c will keep on working) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1743 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* fix bug in unit test causing spurious failures, and make sure theLeon Breedt2005-07-062-4/+8
| | | | | | | | unit test requires the Rails libraries from *Source Control* first, or we'll get false positives. add ActiveRecord require to abstract_unit.rb. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1742 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Pegged the versions for releaseDavid Heinemeier Hansson2005-07-061-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1739 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Tuned documentation for release (AWS)David Heinemeier Hansson2005-07-063-4/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1727 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* add RDoc for base signature typesLeon Breedt2005-06-252-13/+30
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1512 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* clean up cases where we override #inheritedLeon Breedt2005-06-252-13/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1511 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* fix WSDL generation, change the way protocols are instantiated, and add Leon Breedt2005-06-2514-56/+112
| | | | | | | | the ability to override the namespace used in WSDL instead of always forcing 'urn:ActionWebService' git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1501 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add workaround for SOAP4R changing find_mapped_soap_class return value ↵Leon Breedt2005-06-132-1/+16
| | | | | | [Shugo Maeda] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1409 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix moduled controller URLs in WSDL, and add unit test to verify the ↵Leon Breedt2005-06-133-5/+13
| | | | | | | | | generated URL. See ticket #1428. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1408 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* CSS needs "red" not #redDavid Heinemeier Hansson2005-06-061-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1388 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* fix scaffolding template paths (Pathname does weird things on Win32)Leon Breedt2005-05-313-1/+21
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1375 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* memo to self: add :rest dispatching mode, and vanilla XML message supportLeon Breedt2005-05-201-6/+9
| | | | | | | a.l.a Backpack API...its so Web 2.0 :) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1333 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Push to .org insteadDavid Heinemeier Hansson2005-05-191-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1310 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* add test to ensure the bug fixed by [1295] can't occur again.Leon Breedt2005-05-082-9/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1296 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* fix that functional testing for :layered SOAP would complain that itLeon Breedt2005-05-081-4/+1
| | | | | | | was not XML-RPC. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1295 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* support using invocation filters in :direct controllers as well, forLeon Breedt2005-05-074-5/+12
| | | | | | | | | consistency. action pack filters don't necessarily include enough information about the request since they occur before AWS actually sees the request and unpacks it. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1294 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* add base64 signature type (thanks, Shugo Maeda!)Leon Breedt2005-05-078-10/+72
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1293 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* remove usages of @request, @response, @params, and replace with #request, ↵Leon Breedt2005-05-054-58/+50
| | | | | | | | | #response, #params, except for test_invoke (values come from the test case) and one scaffold RHTML template. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1287 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* fix boolean field rendering in scaffoldingLeon Breedt2005-05-052-2/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1286 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* fix :delegated invocation in the scaffoldingLeon Breedt2005-05-052-1/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1285 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* add support for structured types as input parameters to scaffolding,Leon Breedt2005-05-016-35/+61
| | | | | | | | fixes scaffolding for APIs like metaWeblog that require an input struct (by dropping structs in nested <ul> lists). git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1265 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* default to using UTF-8 as response encoding for SOAP if none isLeon Breedt2005-04-288-14/+51
| | | | | | | | supplied, but if an encoding is supplied by caller, use that for the response instead (NAKAMURA Hiroshi) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1245 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* add charset=utf-8 to SOAP response content type, and make base_uriLeon Breedt2005-04-283-3/+17
| | | | | | | | | respect relative_url_root for the endpoint of SOAP messages (Shugo Maeda). if WSDL was retrieved over HTTPS, use HTTPS in the endpoint URLs as well. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1244 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* add entry for nil casting changeLeon Breedt2005-04-271-0/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1243 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix regression where nil values were incorrectly being cast into theLeon Breedt2005-04-192-2/+3
| | | | | | | default values for their base types. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1234 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added xml_http_request/xhr method for simulating XMLHttpRequest in ↵David Heinemeier Hansson2005-04-192-3/+8
| | | | | | functional tests #1151 [Sam Stephenson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1230 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed documentation and prepared for release of 0.12David Heinemeier Hansson2005-04-182-5/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1216 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* add backwards compatibility for the public API change made to #api_methods, ↵Leon Breedt2005-04-174-8/+37
| | | | | | | | | as it is being used in some apps. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1197 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Send a stripped down message in the text following 500, and leave the detailedLeon Breedt2005-04-161-1/+1
| | | | | | | response for the body, or we may generate invalid HTTP responses that causes 404's. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1172 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove a cause of casting failure for XML-RPC by ignoring structure members notLeon Breedt2005-04-166-2/+22
| | | | | | | | | defined in the target type, and perform more sanity checks to make more obvious what the resolution should be when neglecting to provide a valid signature or failing to attach an API to a service implementation class. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1171 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* add missing public API changeLeon Breedt2005-04-101-4/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1124 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved to new serverDavid Heinemeier Hansson2005-04-071-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1102 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* support SOAP invocation of layered services in scaffolding too, fix bug whenLeon Breedt2005-04-052-7/+27
| | | | | | | method takes no parameters git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1098 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* initial go at making :layered dispatching generate WSDL for SOAP, and haveLeon Breedt2005-04-058-23/+63
| | | | | | | :layered process SOAP method calls correctly as well, may be unstable git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1097 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* make XMLRPC::FaultException have a #message, otherwise the thrown exceptionLeon Breedt2005-04-051-0/+4
| | | | | | | is useless in functional test backtraces git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1093 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* add API::Method#expects_to_hash convenience as wellLeon Breedt2005-04-052-0/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1092 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* add API::Method#expects_index_of helper to get the index ofLeon Breedt2005-04-052-0/+21
| | | | | | | a named parameter git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1091 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* be explicit about the object to do #instance_eval in for delegated dispatching,Leon Breedt2005-04-0511-230/+226
| | | | | | | clean up iterations to use #zip (bitsweat), git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1090 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* * Fix casting of nested members in structured types if we have a signatureLeon Breedt2005-04-045-16/+22
| | | | | | | | | | | | | type available for it even if they are already of the desired type as SOAP/XML-RPC unmarshaling may have gotten it wrong: SOAP likes to always use DateTime no matter what, for example, whereas we allow a distinction between Date, DateTime and Time in the signature for convenience casting * Fix raising of exceptions by test_invoke so functional tests fail properly on exception instead of returning the exception object * Fix Struct#each_pair to yield the value and not the member type git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1089 5ecf4fe2-1ee6-0310-87b1-e25e094e27de