troelskn / handsoap-example

Sample Rails-application showing a basic handsoap service
7 stars 0 forks source link

Integration tests fail #1

Open newellista opened 15 years ago

newellista commented 15 years ago

I have handsoap 0.2.5 installed and the integration tests fail with the following errors:

1) Error: test_get_city_forecast_by_zip(WeatherServiceTest): Handsoap::Fault: Handsoap::Fault { :code => 'soap:Client', :reason => 'Server did not recognize the value of HTTP Header SOAPAction: GetCityForecastByZIP.' } /Library/Ruby/Gems/1.8/gems/troelskn-handsoap-0.2.5/lib/handsoap/service.rb:177:in on_fault' /Library/Ruby/Gems/1.8/gems/troelskn-handsoap-0.2.5/lib/handsoap/service.rb:274:indispatch' /Library/Ruby/Gems/1.8/gems/troelskn-handsoap-0.2.5/lib/handsoap/service.rb:171:in invoke' app/models/weather_service.rb:11:inget_city_forecast_by_zip' /Library/Ruby/Gems/1.8/gems/troelskn-handsoap-0.2.5/lib/handsoap/service.rb:142:in __send__' /Library/Ruby/Gems/1.8/gems/troelskn-handsoap-0.2.5/lib/handsoap/service.rb:142:inmethod_missing' /test/integration/weather_service_test.rb:8:in test_get_city_forecast_by_zip' mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:insend' mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `run'

2) Error: test_get_city_weather_by_zip(WeatherServiceTest): Handsoap::Fault: Handsoap::Fault { :code => 'soap:Client', :reason => 'Server did not recognize the value of HTTP Header SOAPAction: GetCityWeatherByZIP.' } /Library/Ruby/Gems/1.8/gems/troelskn-handsoap-0.2.5/lib/handsoap/service.rb:177:in on_fault' /Library/Ruby/Gems/1.8/gems/troelskn-handsoap-0.2.5/lib/handsoap/service.rb:274:indispatch' /Library/Ruby/Gems/1.8/gems/troelskn-handsoap-0.2.5/lib/handsoap/service.rb:171:in invoke' app/models/weather_service.rb:19:inget_city_weather_by_zip' /Library/Ruby/Gems/1.8/gems/troelskn-handsoap-0.2.5/lib/handsoap/service.rb:142:in __send__' /Library/Ruby/Gems/1.8/gems/troelskn-handsoap-0.2.5/lib/handsoap/service.rb:142:inmethod_missing' /test/integration/weather_service_test.rb:13:in test_get_city_weather_by_zip' mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:insend' mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `run'

3) Error: test_get_weather_information_by_id(WeatherServiceTest): Handsoap::Fault: Handsoap::Fault { :code => 'soap:Client', :reason => 'Server did not recognize the value of HTTP Header SOAPAction: GetWeatherInformation.' } /Library/Ruby/Gems/1.8/gems/troelskn-handsoap-0.2.5/lib/handsoap/service.rb:177:in on_fault' /Library/Ruby/Gems/1.8/gems/troelskn-handsoap-0.2.5/lib/handsoap/service.rb:274:indispatch' /Library/Ruby/Gems/1.8/gems/troelskn-handsoap-0.2.5/lib/handsoap/service.rb:171:in invoke' app/models/weather_service.rb:27:inget_weather_information' app/models/weather_service.rb:32:in get_weather_information_by_id' /Library/Ruby/Gems/1.8/gems/troelskn-handsoap-0.2.5/lib/handsoap/service.rb:142:insend' /Library/Ruby/Gems/1.8/gems/troelskn-handsoap-0.2.5/lib/handsoap/service.rb:142:in method_missing' /test/integration/weather_service_test.rb:17:intest_get_weather_information_by_id' mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in __send__' mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:inrun'

3 tests, 0 assertions, 0 failures, 3 errors rake aborted!

newellista commented 15 years ago

The tests pass with v0.1.2, which is the earlier one I had installed