Open newellista opened 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'
on_fault' /Library/Ruby/Gems/1.8/gems/troelskn-handsoap-0.2.5/lib/handsoap/service.rb:274:in
invoke' app/models/weather_service.rb:11:in
__send__' /Library/Ruby/Gems/1.8/gems/troelskn-handsoap-0.2.5/lib/handsoap/service.rb:142:in
test_get_city_forecast_by_zip' mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in
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'
invoke' app/models/weather_service.rb:19:in
test_get_city_weather_by_zip' mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in
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'
invoke' app/models/weather_service.rb:27:in
get_weather_information_by_id' /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:in
__send__' mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in
3 tests, 0 assertions, 0 failures, 3 errors rake aborted!
The tests pass with v0.1.2, which is the earlier one I had installed
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:in
dispatch' /Library/Ruby/Gems/1.8/gems/troelskn-handsoap-0.2.5/lib/handsoap/service.rb:171:ininvoke' app/models/weather_service.rb:11:in
get_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:in
method_missing' /test/integration/weather_service_test.rb:8:intest_get_city_forecast_by_zip' mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in
send' 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:in
dispatch' /Library/Ruby/Gems/1.8/gems/troelskn-handsoap-0.2.5/lib/handsoap/service.rb:171:ininvoke' app/models/weather_service.rb:19:in
get_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:in
method_missing' /test/integration/weather_service_test.rb:13:intest_get_city_weather_by_zip' mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in
send' 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:in
dispatch' /Library/Ruby/Gems/1.8/gems/troelskn-handsoap-0.2.5/lib/handsoap/service.rb:171:ininvoke' app/models/weather_service.rb:27:in
get_weather_information' app/models/weather_service.rb:32:inget_weather_information_by_id' /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:17:in
test_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:in
run'3 tests, 0 assertions, 0 failures, 3 errors rake aborted!