1

我正在使用以下指南让 WSO2 在带有 Rails 的 Windows 上工作:

http://wso2.org/project/wsf/ruby/1.1.0/docs/install_guide.html

我已按照说明进行操作,现在正在尝试运行示例服务“安全性”。该文档指定:

1. Copy security/security_controller.rb into the controllers directory of your rail application
2. Copy keys and policies directories into the controllers directory of your rail application
3. Try the services with your client using following endpoint addresses:
   http://your_rails_application_uri/security/callback
   http://your_rails_application_uri/security/timestamp
   http://your_rails_application_uri/security/timestamp_file
   http://your_rails_application_uri/security/usernametoken
   http://your_rails_application_uri/security/usernametoken_file
   http://your_rails_application_uri/security/signing
   http://your_rails_application_uri/security/signing_file
   http://your_rails_application_uri/security/encryption
   http://your_rails_application_uri/security/encryption_file
   http://your_rails_application_uri/security/complete

但是,当我输入http://localhost:3000/timestamp 时,出现路由错误:

No route matches [GET] "/security/timestamp"

我正在尝试验证 WSO2 框架是否已成功安装。我是 ruby​​ 和 Web 服务的新手,所以我可能忽略了一些琐碎的事情......任何帮助将不胜感激。

4

0 回答 0