aboutsummaryrefslogtreecommitdiffstats
path: root/actionwebservice
Commit message (Collapse)AuthorAgeFilesLines
* 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
* don't use SyncEnumerator, its far too slow to be used in something ↵Leon Breedt2005-04-032-2/+6
| | | | | | frequently called git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1085 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* use #rescue_action in WS scaffolding so that exceptions in API methods give ↵Leon Breedt2005-04-032-24/+38
| | | | | | | | | a standard Rails error page on failure git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1076 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* remove finished tasksLeon Breedt2005-04-031-2/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1075 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* allow selecting the protocol to use when invoking theLeon Breedt2005-04-035-10/+12
| | | | | | | | scaffolded method. fix bug in walking delegated container services. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1074 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* filter out embedded nil values for XML-RPCLeon Breedt2005-04-021-2/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1073 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* * collapse 'ws' back into protocols, it just added complexity and ↵Leon Breedt2005-04-0250-1511/+1090
| | | | | | | | | | | | | indirection, and was hard to extend. * extract casting into seperate support file * ensure casting always does the right thing for return values, should fix interoperability issues with Ecto and possibly other XML-RPC clients * add functional unit tests for scaffolding * represent signature items with classes instead of symbols/Class objects, much more flexible * tweak logging to always show casted versions of parameters and return values, if possible. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1072 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed broken attempt to DRY module ClassMethod #970David Heinemeier Hansson2005-04-021-0/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1069 5ecf4fe2-1ee6-0310-87b1-e25e094e27de