aboutsummaryrefslogtreecommitdiffstats
path: root/actionwebservice
Commit message (Collapse)AuthorAgeFilesLines
...
* add missing entriesLeon Breedt2005-03-201-1/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@921 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* make the response QName match up with that declared for the message in theLeon Breedt2005-03-201-1/+1
| | | | | | | | WSDL, to not do so violates the spec. also fixes this error that occurred with SOAP::WSDLDriverFactory: "RuntimeError: Cannot find {}return as a children of {urn:ServiceName}messageName" git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@920 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* dup the value received from @request, so we modify the copy and not the ↵Leon Breedt2005-03-151-0/+1
| | | | | | | | | original, and avoid frozen errors. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@912 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* allow 0, 1, '0' or '1' to be cast to the appropriate values for booleanLeon Breedt2005-03-1011-135/+246
| | | | | | | | | values. update XML-RPC example to work in :layered mode. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@883 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* change type of faultCode in marshaled SOAP faults to a QName,Leon Breedt2005-03-101-1/+1
| | | | | | | and its value to 'Server' in the SOAP namespace. should fix #804. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@882 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Prepared for 0.10.1 releaseDavid Heinemeier Hansson2005-03-072-5/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@874 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* add action_web_service/test_invoke, will be used by for testing APIs inLeon Breedt2005-03-047-3/+223
| | | | | | | a Rails project instance. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@830 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* allow the client to specify options to be passed through to the underlyingLeon Breedt2005-03-031-0/+17
| | | | | | | | SOAP::RPC::Driver. add to RDoc an example of using these options to configure SSL client-certificate authenticated connections to the server. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@826 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* make the marshaler use the same set of columns as the code that generatesLeon Breedt2005-03-023-1/+13
| | | | | | | WSDL, avoids mismatches when there are associations in the AR model class. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@825 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* add missing entry for #allow_active_record_expectsLeon Breedt2005-03-021-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@823 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* add allow_active_record_expects option to ActionWebService::API::Base,Leon Breedt2005-02-282-1/+11
| | | | | | | | but set the default to false so people don't use it without thinking about the consequences. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@815 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* drop version back down to 0.5.0 so that we can use 0.6.0 for the realLeon Breedt2005-02-271-1/+1
| | | | | | | next release. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@812 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make all custom types and method calls are declared in the ↵Leon Breedt2005-02-2721-113/+348
| | | | | | | | | | | | | | | | | | | | | | | 'urn:ActionWebService' namespace as a default, fixes SOAP marshaling for .NET, a regression since the merge. Make array annotation be recursive in WS::Marshaling::SoapMarshaling, this makes typed arrays buried in nested structures still be annotated correctly. Support :layered dispatching mode for XML-RPC namespaced method names. Change WS::ParamInfo.create signature to require type_binding, and update all uses of this. Restore #default_api_method functionality, fixes a regression since the merge. Fix marshalling of ActiveRecord::Base derivatives, fixes a regression since the merge. This changeset closes #676, #677, and #678. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@811 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* merged the changes for the upcoming 0.6.0:Leon Breedt2005-02-2562-2079/+2180
| | | | | | | | | | | | | | | | | | | | | seperate out protocol marshaling into a small 'ws' library in vendor, so that AWS itself only does integration with ActionPack, and so we can keep protocol specific code in AWS proper to a minimum. refactor unit tests to get 95% code coverage (for a baseline). be far more relaxed about the types given to us by the remote side, don't do any poor man's type checking, just try to cast and marshal to the correct types if possible, and if not, return what they gave us anyway. this should make interoperating with fuzzy XML-RPC clients easier. if exception reporting is turned on, do best-effort error responses, so that we can avoid "Internal protocol error" with no details if there is a bug in AWS itself. also perform extensive cleanups on AWS proper. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@800 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Tagged the 0.10.0 releaseDavid Heinemeier Hansson2005-02-251-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@799 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* handle elapsed times that are nil in #log_response (happens when API methodLeon Breedt2005-02-251-1/+1
| | | | | | | | throws an exception). this fixes exception marshaling so that remote callers get a proper stack trace. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@798 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Marked for releaseDavid Heinemeier Hansson2005-02-241-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@796 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made ready for 0.10.0 releaseDavid Heinemeier Hansson2005-02-241-6/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@795 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* add code coverage testing scripts, remove dead codeLeon Breedt2005-02-206-42/+9
| | | | | | | detected by said scripts git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@708 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* ensure clients can handle APIs with named parameter signatures,Leon Breedt2005-02-196-4/+29
| | | | | | | and test for this git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@680 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* refactoring:Leon Breedt2005-02-1924-551/+404
| | | | | | | | | | | | | | | | | | | | | * move dispatching out of the Container into Dispatcher, it makes more sense for Container to only contain the list of web services defined in it. * collapse Wsdl and ActionController "routers" into an ActionController-specific module, no advantage to having them seperate as they were quite tightly coupled. rename to Dispatcher, to avoi confusion with Routing. * add a "_thing" suffix to concept-specific filenames. this is so that we don't end up with many soap.rb files, for example. * remove "virtual invocation" support. adds complexity, and it doesn't seem to add any value. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@679 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* rename entire package to Action Web ServiceLeon Breedt2005-02-1850-222/+217
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@672 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Renamed Action Service to Action Web ServiceDavid Heinemeier Hansson2005-02-1853-0/+6319
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@669 5ecf4fe2-1ee6-0310-87b1-e25e094e27de