Update on the web service scaffold
I've tracked it down to my URL rewriting.
The scaffold calls http://somewhere/service/invoke?service=something&method=whatever
However, the failure is method is nil - therefore I reckon my URL rewriting code is somehow chopping up the query string and therefore the method part (and maybe even the service part) is not getting passed through.
Now I know where to look, I can put this back on the shelf and do some paid work!
2 comments:
i remember working on a site once that had a url rewriter at the root for redirecting https traffic. unfortunately, it was chopping off the querystring which was being used during a post for my web service. although i was sending post requests, this was running in the root (it was cold fusion) of the entire site and intercepted *anything* that wasn't https. so i always got nada back. maybe it's something like that in the rewriter?
I suspect it is connected with my modifications of the request.rb file (http://made-of-stone.blogspot.com/2005/12/setting-up-iis-for-rails.html) - the original code always inserted a "?" whereas I found that causing problems. Maybe I need to do a conditional insert of a "?". Some more investigation is called for I think.
Post a Comment