David Heinemeier Hansson
d4b27a0b36
Fix soap type registration of multidimensional arrays ( closes #4232 ) [Kent]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3903 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-17 22:20:09 +00:00
David Heinemeier Hansson
3d4965765c
Fix a ton of issues with AWS (yes, Kent saved it from being unbundled in 1.1) #4038 [Kent Sibilev]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3750 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-03 03:19:37 +00:00
David Heinemeier Hansson
0633bb865b
Update versions to match latest from stable
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3543 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-05 00:59:57 +00:00
Michael Koziarski
f9e0ba2913
Correct the case of the CSS declarations. [Blair Zajac] Closes #3171
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3416 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-13 21:28:51 +00:00
Marcel Molina
5cb2aa722d
Rename Version constant to VERSION. Closes #2802 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3065 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-17 00:32:16 +00:00
Leon Breedt
98ae24b967
Fix that XML-RPC date/time values did not have well-defined behaviour ( #2516 , #2534 ). This fix has one caveat, in that we can't support pre-1970 dates from XML-RPC clients.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2945 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-09 05:29:08 +00:00
David Heinemeier Hansson
cd2b9a9498
Made ready for 0.14.3 (RC4)
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2930 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 19:40:27 +00:00
David Heinemeier Hansson
ea5bd8e756
Fix docs ( closes #2679 ) [coffee2code]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2909 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 09:52:56 +00:00
David Heinemeier Hansson
01cfd2b00a
Fix docs ( closes #2725 )
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2906 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 09:36:43 +00:00
David Heinemeier Hansson
17816a11ee
Proper CSS color definition ( closes #2334 )
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2751 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-26 13:26:51 +00:00
David Heinemeier Hansson
c7a6b9862d
Prepared for release of 0.14.2 (RC3)
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2737 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-25 22:11:48 +00:00
David Heinemeier Hansson
e3e5d60bcd
Really ready for push
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2686 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-19 14:01:40 +00:00
David Heinemeier Hansson
f4aaa26eb3
Getting ready for 0.14.0 (1.0.0 Release Candidate 1)
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2660 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-16 22:15:03 +00:00
Jamis Buck
267499ec76
mv lib/version.rb to lib/action_web_service/version.rb
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2516 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-10 14:35:18 +00:00
Leon Breedt
9aafcd92de
fix invalid request XML generation in test process.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2050 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-24 19:46:11 +00:00
Leon Breedt
fbba128f73
special-case non-existent target method handling for 'system.multicall' 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
2005-08-16 05:54:12 +00:00
Leon Breedt
9d79880e81
add 'system.multicall' support to XML-RPC. boxcarred methods must still exist
...
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
2005-08-16 05:45:03 +00:00
Leon Breedt
2eba713445
Fix duplicate XSD entries for custom types ( #1729 ), and prevent recursive type
...
traversing.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2014 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-14 18:43:39 +00:00
Leon Breedt
056838d2fc
Allow multiple invocations in the same WS test #1720
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2013 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-14 17:27:28 +00:00
Leon Breedt
cbf709fc5c
fix rendering of scaffolding (@content_for_layout has to be set on the template.)
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1998 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-12 22:55:23 +00:00
Leon Breedt
eaadd18f3f
Add API::Base.soap_client and API::Base.xmlrpc_client helper methods to 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
2005-08-12 16:38:42 +00:00
Leon Breedt
03d9159025
we should respect charset for incoming messages and not assuming incoming is
...
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
2005-07-16 21:08:27 +00:00
Leon Breedt
dfc422b784
always send back SOAP responses as UTF-8, we can't guarantee that SOAP4R
...
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
2005-07-13 06:05:13 +00:00
Leon Breedt
f8be47a6a3
ensure the second manual WS request of scaffolding contains the same state as
...
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
2005-07-06 22:10:35 +00:00
David Heinemeier Hansson
72104faa58
Tuned documentation for release (AWS)
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1727 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-06 08:25:04 +00:00
Leon Breedt
1b07366c2f
add RDoc for base signature types
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1512 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-25 18:57:33 +00:00
Leon Breedt
07f237bdae
clean up cases where we override #inherited
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1511 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-25 18:06:52 +00:00
Leon Breedt
ebb6fb0928
fix WSDL generation, change the way protocols are instantiated, and add
...
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
2005-06-25 06:27:39 +00:00
Leon Breedt
fa7f4a0664
Add workaround for SOAP4R changing find_mapped_soap_class return value [Shugo Maeda]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1409 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-13 03:22:01 +00:00
Leon Breedt
887e67c80e
Fix moduled controller URLs in WSDL, and add unit test to verify the generated URL.
...
See ticket #1428 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1408 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-13 02:58:44 +00:00
David Heinemeier Hansson
5add31eda4
CSS needs "red" not #red
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1388 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-06 09:48:48 +00:00
Leon Breedt
46e68538c0
fix scaffolding template paths (Pathname does weird things on Win32)
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1375 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-05-31 02:50:02 +00:00
Leon Breedt
190eaf9307
fix that functional testing for :layered SOAP would complain that it
...
was not XML-RPC.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1295 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-05-08 19:34:54 +00:00
Leon Breedt
884fd4792d
support using invocation filters in :direct controllers as well, for
...
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
2005-05-07 23:49:45 +00:00
Leon Breedt
47a7084b94
add base64 signature type (thanks, Shugo Maeda!)
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1293 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-05-07 22:57:08 +00:00
Leon Breedt
421045e2ff
remove usages of @request, @response, @params, and replace with #request, #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
2005-05-05 16:59:07 +00:00
Leon Breedt
811f6a7aab
fix boolean field rendering in scaffolding
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1286 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-05-05 16:11:49 +00:00
Leon Breedt
a02f1b85f0
fix :delegated invocation in the scaffolding
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1285 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-05-05 16:07:06 +00:00
Leon Breedt
a080b1a231
add support for structured types as input parameters to scaffolding,
...
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
2005-05-01 05:07:37 +00:00
Leon Breedt
8694a79bb2
default to using UTF-8 as response encoding for SOAP if none is
...
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
2005-04-28 17:55:34 +00:00
Leon Breedt
896fea505b
add charset=utf-8 to SOAP response content type, and make base_uri
...
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
2005-04-28 01:19:52 +00:00
Leon Breedt
3cf461323c
Fix regression where nil values were incorrectly being cast into the
...
default values for their base types.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1234 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-04-19 19:00:06 +00:00
Leon Breedt
c11cc309fa
add backwards compatibility for the public API change made to #api_methods, as it is
...
being used in some apps.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1197 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-04-17 17:20:44 +00:00
Leon Breedt
5feb7e26e8
Send a stripped down message in the text following 500, and leave the detailed
...
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
2005-04-16 21:59:55 +00:00
Leon Breedt
7f32666924
Remove a cause of casting failure for XML-RPC by ignoring structure members not
...
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
2005-04-16 19:29:42 +00:00
Leon Breedt
6427133584
support SOAP invocation of layered services in scaffolding too, fix bug when
...
method takes no parameters
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1098 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-04-05 22:29:01 +00:00
Leon Breedt
1155ea0aa3
initial go at making :layered dispatching generate WSDL for SOAP, and have
...
: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
2005-04-05 21:37:48 +00:00
Leon Breedt
97e39fcb64
make XMLRPC::FaultException have a #message, otherwise the thrown exception
...
is useless in functional test backtraces
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1093 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-04-05 16:25:47 +00:00
Leon Breedt
9b42cd8cc1
add API::Method#expects_to_hash convenience as well
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1092 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-04-05 16:00:28 +00:00
Leon Breedt
7a5bac1de0
add API::Method#expects_index_of helper to get the index of
...
a named parameter
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1091 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-04-05 15:41:04 +00:00