ratis 3.3.6 → 3.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.rvmrc +1 -1
- data/CHANGELOG +8 -1
- data/Gemfile +1 -1
- data/Gemfile.lock +33 -35
- data/lib/ratis.rb +1 -1
- data/lib/ratis/landmark.rb +4 -3
- data/lib/ratis/landmark_category.rb +11 -7
- data/lib/ratis/location.rb +1 -0
- data/lib/ratis/route_stops.rb +0 -6
- data/lib/ratis/version.rb +1 -1
- data/lib/ratis/walkstop.rb +54 -0
- data/ratis.gemspec +3 -5
- data/spec/ratis/area_spec.rb +1 -1
- data/spec/ratis/closest_stop_spec.rb +2 -2
- data/spec/ratis/itinerary_spec.rb +8 -711
- data/spec/ratis/landmark_category_spec.rb +40 -32
- data/spec/ratis/landmark_spec.rb +4 -33
- data/spec/ratis/location_spec.rb +69 -177
- data/spec/ratis/next_bus2_spec.rb +21 -21
- data/spec/ratis/next_bus_spec.rb +19 -21
- data/spec/ratis/pattern_spec.rb +3 -3
- data/spec/ratis/plantrip_spec.rb +92 -0
- data/spec/ratis/point_2_point_spec.rb +12 -12
- data/spec/ratis/request_spec.rb +0 -1
- data/spec/ratis/route_pattern_spec.rb +16 -15
- data/spec/ratis/route_stops_spec.rb +10 -10
- data/spec/ratis/routes_spec.rb +5 -5
- data/spec/ratis/schedule_nearby_spec.rb +1 -1
- data/spec/ratis/timetable_spec.rb +3 -3
- data/spec/ratis/walkstop_spec.rb +94 -0
- data/spec/spec_helper.rb +16 -11
- data/spec/support/vcr_cassettes/Nextbus2_running_LATE.yml +142 -574
- data/spec/support/vcr_cassettes/Nextbus_running_LATE.yml +101 -137
- data/spec/support/vcr_cassettes/Point2Point.yml +63 -162
- data/spec/support/vcr_cassettes/Ratis_Area/_all/only_makes_one_request.yml +52 -0
- data/spec/support/vcr_cassettes/Ratis_ClosestStop/_where/only_makes_one_request.yml +70 -0
- data/spec/support/vcr_cassettes/Ratis_ClosestStop/_where/parses_out_the_stop_fields_correctly.yml +70 -0
- data/spec/support/vcr_cassettes/Ratis_ClosestStop/_where/returns_multiple_locations.yml +70 -0
- data/spec/support/vcr_cassettes/Ratis_ClosestStop/_where/should_return_a_collection_of_Ratis_Stop_s_.yml +70 -0
- data/spec/support/vcr_cassettes/Ratis_LandmarkCategory/_all/only_makes_one_request.yml +117 -0
- data/spec/support/vcr_cassettes/Ratis_LandmarkCategory/_all/should_return_a_collection_of_Ratis_LandmarkCategory_s_.yml +117 -0
- data/spec/support/vcr_cassettes/Ratis_LandmarkCategory/_all/should_return_all_landmark_categories.yml +117 -0
- data/spec/support/vcr_cassettes/Ratis_LandmarkCategory/_web_categories/does_something.yml +117 -0
- data/spec/support/vcr_cassettes/Ratis_Location/_where/only_makes_one_request.yml +54 -0
- data/spec/support/vcr_cassettes/Ratis_Location/_where/parses_out_fields_correctly.yml +54 -0
- data/spec/support/vcr_cassettes/Ratis_Location/_where/should_return_a_collection_of_Ratis_Location_s_.yml +54 -0
- data/spec/support/vcr_cassettes/Ratis_NextBus/_where/multiple_services_returned/only_makes_one_request.yml +109 -0
- data/spec/support/vcr_cassettes/Ratis_NextBus/_where/multiple_services_returned/returns_the_next_4_bus_times.yml +109 -0
- data/spec/support/vcr_cassettes/Ratis_NextBus/_where/multiple_services_returned/should_map_all_the_services_to_service_openstruct_objects.yml +109 -0
- data/spec/support/vcr_cassettes/Ratis_NextBus/_where/multiple_services_returned/should_raise_error_if_datetime_condition_is_not_a_DateTime_or_Time.yml +211 -0
- data/spec/support/vcr_cassettes/Ratis_NextBus/_where/single_service_return/only_makes_one_request.yml +75 -0
- data/spec/support/vcr_cassettes/Ratis_NextBus/_where/single_service_return/returns_the_next_bus_times.yml +75 -0
- data/spec/support/vcr_cassettes/Ratis_NextBus/_where/single_service_return/should_raise_error_if_datetime_condition_is_not_a_DateTime_or_Time.yml +143 -0
- data/spec/support/vcr_cassettes/Ratis_NextBus/_where/single_service_return/should_set_all_the_service_values_to_instance_vars.yml +75 -0
- data/spec/support/vcr_cassettes/Ratis_NextBus2/_where/Developer_can_find_a_late_bus_to_a_stop/runs/should_set_the_run_values_to_instance_vars.yml +180 -0
- data/spec/support/vcr_cassettes/Ratis_NextBus2/_where/Developer_can_find_a_late_bus_to_a_stop/single_next_bus/only_makes_one_request.yml +180 -0
- data/spec/support/vcr_cassettes/Ratis_NextBus2/_where/Developer_can_find_a_late_bus_to_a_stop/single_next_bus/requests_the_correct_SOAP_action.yml +180 -0
- data/spec/support/vcr_cassettes/Ratis_NextBus2/_where/Developer_can_find_a_late_bus_to_a_stop/stops/should_set_the_stop_values_to_instance_vars.yml +180 -0
- data/spec/support/vcr_cassettes/Ratis_Pattern/_all/only_makes_one_request.yml +56 -0
- data/spec/support/vcr_cassettes/Ratis_Pattern/_all/should_parse_the_route_info_fields.yml +56 -0
- data/spec/support/vcr_cassettes/Ratis_Pattern/_all/should_return_a_collection_Pattern_RouteInfo_s_.yml +56 -0
- data/spec/support/vcr_cassettes/Ratis_Pattern/_all/should_return_no_data_error_when_date_is_in_the_past.yml +53 -0
- data/spec/support/vcr_cassettes/Ratis_Plantrip/_where/creates_Ratis_Itineraries_for_each_trip_itinerary.yml +88 -0
- data/spec/support/vcr_cassettes/Ratis_Plantrip/_where/only_makes_one_request.yml +88 -0
- data/spec/support/vcr_cassettes/Ratis_Plantrip/_where/returns_a_Plantrip_object.yml +88 -0
- data/spec/support/vcr_cassettes/Ratis_Plantrip/_where/should_set_all_the_Plantrip_values_to_instance_vars.yml +88 -0
- data/spec/support/vcr_cassettes/Ratis_Point2Point/Routesonly_N/_where/gets_the_groups.yml +134 -0
- data/spec/support/vcr_cassettes/Ratis_Point2Point/Routesonly_N/_where/gets_the_trips_within_each_group.yml +134 -0
- data/spec/support/vcr_cassettes/Ratis_Point2Point/Routesonly_N/_where/only_makes_one_request.yml +134 -0
- data/spec/support/vcr_cassettes/Ratis_Point2Point/Routesonly_N/_where/parses_out_the_off_stop_fields.yml +134 -0
- data/spec/support/vcr_cassettes/Ratis_Point2Point/Routesonly_N/_where/parses_out_the_on_stop_fields.yml +134 -0
- data/spec/support/vcr_cassettes/Ratis_Point2Point/Routesonly_N/_where/parses_out_the_service.yml +134 -0
- data/spec/support/vcr_cassettes/Ratis_Point2Point/Routesonly_N/_where/parses_out_the_trip.yml +134 -0
- data/spec/support/vcr_cassettes/Ratis_Point2Point/Routesonly_N/_where/should_only_return_result_groups_for_filtered_route.yml +62 -0
- data/spec/support/vcr_cassettes/Ratis_Point2Point/Routesonly_N/_where/should_only_return_result_groups_for_filtered_routes.yml +68 -0
- data/spec/support/vcr_cassettes/Ratis_Point2Point/Routesonly_N/_where/should_raise_error_if_the_trip_is_NOT_possible_for_a_route_being_attempted_to_filter_on.yml +53 -0
- data/spec/support/vcr_cassettes/Ratis_Point2Point/Routesonly_Y/_where/services_from_origin_to_destination/only_makes_one_request.yml +72 -0
- data/spec/support/vcr_cassettes/Ratis_Point2Point/Routesonly_Y/_where/services_from_origin_to_destination/parses_out_service_fields.yml +72 -0
- data/spec/support/vcr_cassettes/Ratis_Point2Point/Routesonly_Y/_where/services_from_origin_to_destination/returns_a_routes_only_response_for_each_matched_service.yml +72 -0
- data/spec/support/vcr_cassettes/Ratis_Point2Point/Routesonly_Y/_where/services_from_origin_to_destination/returns_all_matching_services_that_fit_the_origin/destination_for_a_given_time_frame.yml +72 -0
- data/spec/support/vcr_cassettes/Ratis_Point2Point/Routesonly_Y/_where/services_from_origin_to_destination/should_NOT_filter_by_passed_in_routes.yml +72 -0
- data/spec/support/vcr_cassettes/Ratis_RoutePattern/_where/only_makes_one_request.yml +152 -0
- data/spec/support/vcr_cassettes/Ratis_RoutePattern/_where/should_parse_the_stop_fields.yml +152 -0
- data/spec/support/vcr_cassettes/Ratis_RoutePattern/_where/should_return_a_collection_Ratis_RoutePattern_Point_s_.yml +152 -0
- data/spec/support/vcr_cassettes/Ratis_RoutePattern/_where/should_return_a_collection_Ratis_RoutePattern_Stop_s_.yml +152 -0
- data/spec/support/vcr_cassettes/Ratis_RouteStops/_all/only_makes_one_request.yml +94 -0
- data/spec/support/vcr_cassettes/Ratis_RouteStops/_all/parses_out_the_stop_fields_correctly.yml +94 -0
- data/spec/support/vcr_cassettes/Ratis_RouteStops/_all/should_return_a_collection_of_Ratis_RouteStops_Stop_s_.yml +94 -0
- data/spec/support/vcr_cassettes/Ratis_Routes/_all/only_makes_one_request.yml +779 -0
- data/spec/support/vcr_cassettes/Ratis_Routes/_all/returns_all_routes.yml +779 -0
- data/spec/support/vcr_cassettes/Ratis_Routes/_all/should_set_directions_and_short_name_to_variables.yml +779 -0
- data/spec/support/vcr_cassettes/Ratis_ScheduleNearby/_where/only_makes_one_request.yml +92 -0
- data/spec/support/vcr_cassettes/Ratis_ScheduleNearby/_where/returns_a_non_nil_ScheduleNearby.yml +92 -0
- data/spec/support/vcr_cassettes/Ratis_ScheduleNearby/_where/returns_a_single_service_at_the_stop.yml +92 -0
- data/spec/support/vcr_cassettes/Ratis_ScheduleNearby/_where/returns_all_the_stops.yml +92 -0
- data/spec/support/vcr_cassettes/Ratis_ScheduleNearby/_where/should_return_no_data_error_when_date_is_in_the_past.yml +53 -0
- data/spec/support/vcr_cassettes/Ratis_Timetable/_where/only_makes_one_request.yml +722 -0
- data/spec/support/vcr_cassettes/Ratis_Timetable/_where/should_parse_the_timetable/stop/trip_fields.yml +722 -0
- data/spec/support/vcr_cassettes/Ratis_Timetable/_where/should_return_a_collection_Timetable_Stop_s_.yml +722 -0
- data/spec/support/vcr_cassettes/Ratis_Walkstop/_where/only_makes_one_request.yml +53 -0
- data/spec/support/vcr_cassettes/Ratis_Walkstop/_where/should_set_all_the_walkstop_values_to_instance_vars.yml +53 -0
- metadata +241 -219
- data/lib/ratis/walk.rb +0 -37
- data/spec/ratis/walk_spec.rb +0 -72
- data/spec/support/vcr_cassettes/Nextbus.yml +0 -145
- data/spec/support/vcr_cassettes/Nextbus2.yml +0 -336
@@ -0,0 +1,117 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://soap.valleymetro.org/cgi-bin-soap-web-262/soap.cgi
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
9
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="PX_WEB"
|
10
|
+
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><Getcategories
|
11
|
+
xmlns="PX_WEB"></Getcategories></env:Body></env:Envelope>
|
12
|
+
headers:
|
13
|
+
Soapaction:
|
14
|
+
- '"PX_WEB#Getcategories"'
|
15
|
+
Content-Type:
|
16
|
+
- text/xml;charset=UTF-8
|
17
|
+
Content-Length:
|
18
|
+
- '307'
|
19
|
+
Accept-Encoding:
|
20
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
21
|
+
Accept:
|
22
|
+
- '*/*'
|
23
|
+
User-Agent:
|
24
|
+
- Ruby
|
25
|
+
response:
|
26
|
+
status:
|
27
|
+
code: 200
|
28
|
+
message: OK
|
29
|
+
headers:
|
30
|
+
Date:
|
31
|
+
- Mon, 06 Jan 2014 23:53:30 GMT
|
32
|
+
Server:
|
33
|
+
- Apache/2.2.3 (CentOS)
|
34
|
+
Soapserver:
|
35
|
+
- SOAP::Lite/Perl/0.55
|
36
|
+
Content-Length:
|
37
|
+
- '8529'
|
38
|
+
Connection:
|
39
|
+
- close
|
40
|
+
Content-Type:
|
41
|
+
- text/xml; charset=utf-8
|
42
|
+
body:
|
43
|
+
encoding: UTF-8
|
44
|
+
string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?><SOAP-ENV:Envelope xmlns:xsi=\"http://www.w3.org/1999/XMLSchema-instance\"
|
45
|
+
xmlns:SOAP-ENC=\"http://schemas.xmlsoap.org/soap/encoding/\" xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\"
|
46
|
+
xmlns:xsd=\"http://www.w3.org/1999/XMLSchema\" SOAP-ENV:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\"><SOAP-ENV:Body><namesp1:GetcategoriesResponse
|
47
|
+
xmlns:namesp1=\"PX_WEB\">\n\t<Responsecode>0</Responsecode>\n\t<Version>1.0</Version>\n\t<Types>\n\t\t<Typeinfo>\n\t\t\t<Type>AIRPT</Type>\n\t\t\t<Description>AIRPORT</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>CAS</Type>\n\t\t\t<Description>CASINO</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>CEM</Type>\n\t\t\t<Description>CEMETARIES</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>CINE</Type>\n\t\t\t<Description>CINEMAS
|
48
|
+
/ MOVIE THEATERS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>CITY</Type>\n\t\t\t<Description>CITY
|
49
|
+
/ TOWN HALLS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>WEL</Type>\n\t\t\t<Description>COMMUNITY
|
50
|
+
ASSISTANCE</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>COMRE</Type>\n\t\t\t<Description>COMMUNITY
|
51
|
+
RESOURCES</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>COURT</Type>\n\t\t\t<Description>COURT
|
52
|
+
HOUSE</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>MDC</Type>\n\t\t\t<Description>FAMILY
|
53
|
+
ATTRACTIONS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>FX31DP</Type>\n\t\t\t<Description>FARE
|
54
|
+
EXPRESS 31 DAY PASS-$104.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>FXADP</Type>\n\t\t\t<Description>FARE
|
55
|
+
EXPRESS ALL DAY PASS-$6.50</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>FL15DP</Type>\n\t\t\t<Description>FARE
|
56
|
+
LOCAL 15 DAY PASS-$33.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>FL31DP</Type>\n\t\t\t<Description>FARE
|
57
|
+
LOCAL 31 DAY PASS-$64.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>FL7DP</Type>\n\t\t\t<Description>FARE
|
58
|
+
LOCAL 7 DAY PASS-$20.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>FLADP</Type>\n\t\t\t<Description>FARE
|
59
|
+
LOCAL ALL DAY PASS-$4.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>FR15DP</Type>\n\t\t\t<Description>FARE
|
60
|
+
REDUCED 15 DAY PASS-$16.50</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>FR31DP</Type>\n\t\t\t<Description>FARE
|
61
|
+
REDUCED 31 DAY PASS-$32.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>FR7DP</Type>\n\t\t\t<Description>FARE
|
62
|
+
REDUCED 7 DAY PASS-$10.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>FRADP</Type>\n\t\t\t<Description>FARE
|
63
|
+
REDUCED ALL DAY PASS-$2.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>GEO</Type>\n\t\t\t<Description>GEO</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>GOLF</Type>\n\t\t\t<Description>GOLF</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>GOVT</Type>\n\t\t\t<Description>GOVERNMENT
|
64
|
+
LOCAL STATE FEDERAL</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>HALL</Type>\n\t\t\t<Description>HALLS
|
65
|
+
(EXHIBITION, FUNCTION, UNION, ETC)</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>HOSP</Type>\n\t\t\t<Description>HOSPITALS
|
66
|
+
AND CLINICS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>HOTEL</Type>\n\t\t\t<Description>HOTELS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>INT</Type>\n\t\t\t<Description>INTERSECTION
|
67
|
+
BASED SHORT CODES</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>IX31DP</Type>\n\t\t\t<Description>IVRS
|
68
|
+
FARE EXPRESS 31 DAY PASS-$104.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>IXADP</Type>\n\t\t\t<Description>IVRS
|
69
|
+
FARE EXPRESS ALL DAY PASS-$6.50</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>IL15DP</Type>\n\t\t\t<Description>IVRS
|
70
|
+
FARE LOCAL 15 DAY PASS-$33.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>IL31DP</Type>\n\t\t\t<Description>IVRS
|
71
|
+
FARE LOCAL 31 DAY PASS-$64.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>IL7DP</Type>\n\t\t\t<Description>IVRS
|
72
|
+
FARE LOCAL 7 DAY PASS-$20.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>ILADP</Type>\n\t\t\t<Description>IVRS
|
73
|
+
FARE LOCAL ALL DAY PASS-$4.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>IR15DP</Type>\n\t\t\t<Description>IVRS
|
74
|
+
FARE REDUCED 15 DAY PASS-$16.50</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>IR31DP</Type>\n\t\t\t<Description>IVRS
|
75
|
+
FARE REDUCED 31 DAY PASS-$32.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>IR7DP</Type>\n\t\t\t<Description>IVRS
|
76
|
+
FARE REDUCED 7 DAY PASS-$10.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>IRADP</Type>\n\t\t\t<Description>IVRS
|
77
|
+
FARE REDUCED ALL DAY PASS-$2.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>JAIL</Type>\n\t\t\t<Description>JAILS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>LIB</Type>\n\t\t\t<Description>LIBRARIES</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>LRTSTN</Type>\n\t\t\t<Description>LIGHT
|
78
|
+
RAIL STATIONS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>LRT</Type>\n\t\t\t<Description>LIGHTRAIL</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>BUS</Type>\n\t\t\t<Description>MAJOR
|
79
|
+
BUSINESSES</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>MUS</Type>\n\t\t\t<Description>MUSEUMS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>DELETE</Type>\n\t\t\t<Description>OBSOLETE
|
80
|
+
DELETE AFTER IVR CHECK</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>OFPK</Type>\n\t\t\t<Description>OFFICE
|
81
|
+
PARKS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>PR</Type>\n\t\t\t<Description>PARK
|
82
|
+
AND RIDE</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>PARKS</Type>\n\t\t\t<Description>PARKS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>PERF</Type>\n\t\t\t<Description>PERFORMING
|
83
|
+
ARTS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>PO</Type>\n\t\t\t<Description>POST
|
84
|
+
OFFICES</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>PVT</Type>\n\t\t\t<Description>PRIVATE
|
85
|
+
BUS CARRIERS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>HOUSE</Type>\n\t\t\t<Description>PUBLIC
|
86
|
+
HOUSING AUTH/MAJOR CONDO-APT CPLX</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>REC</Type>\n\t\t\t<Description>RECREATION
|
87
|
+
CENTERS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>RT</Type>\n\t\t\t<Description>REGIONAL
|
88
|
+
TRANSIT CONNECTOR</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>REL</Type>\n\t\t\t<Description>RELIGIOUS
|
89
|
+
HSE OF WORSHIP: CHRCH,TMPL,SYN</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>SC</Type>\n\t\t\t<Description>SCHOOLS:
|
90
|
+
COLLEGES</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>SE</Type>\n\t\t\t<Description>SCHOOLS:
|
91
|
+
ELEMENTARY</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>SH</Type>\n\t\t\t<Description>SCHOOLS:
|
92
|
+
HIGH</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>SM</Type>\n\t\t\t<Description>SCHOOLS:
|
93
|
+
MIDDLE</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>ST</Type>\n\t\t\t<Description>SCHOOLS:
|
94
|
+
TRADE & OTHER</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>SHOP</Type>\n\t\t\t<Description>SHOPPING
|
95
|
+
MALLS & MAJOR DEPARTMENT STORES</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>SPORT</Type>\n\t\t\t<Description>SPORTS
|
96
|
+
VENUES</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>SQ</Type>\n\t\t\t<Description>SQUARES:
|
97
|
+
MAJOR INTERSECTION OR BUSI AREA</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>TC</Type>\n\t\t\t<Description>TRANSIT
|
98
|
+
CENTERS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>WEBAIR</Type>\n\t\t\t<Description>WEB
|
99
|
+
AIRPORT</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>WEBCOL</Type>\n\t\t\t<Description>WEB
|
100
|
+
COLLEGES</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>WEBCMR</Type>\n\t\t\t<Description>WEB
|
101
|
+
COMMUNITY RESOURCES</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>WEBFAM</Type>\n\t\t\t<Description>WEB
|
102
|
+
FAMILY ATTRACTIONS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>WEBGOV</Type>\n\t\t\t<Description>WEB
|
103
|
+
GOVT LOCAL STATE FEDERAL</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>WEBHOS</Type>\n\t\t\t<Description>WEB
|
104
|
+
HOSPITALS AND CLINICS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>WEBLIB</Type>\n\t\t\t<Description>WEB
|
105
|
+
LIBRARIES</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>WEBSTN</Type>\n\t\t\t<Description>WEB
|
106
|
+
LIGHT RAIL STATIONS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>WEBMUS</Type>\n\t\t\t<Description>WEB
|
107
|
+
MUSEUMS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>WEBPR</Type>\n\t\t\t<Description>WEB
|
108
|
+
PARK AND RIDE</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>WEBPER</Type>\n\t\t\t<Description>WEB
|
109
|
+
PERFORMING ARTS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>WEBSHP</Type>\n\t\t\t<Description>WEB
|
110
|
+
SHOPPING MALLS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>WEBSPT</Type>\n\t\t\t<Description>WEB
|
111
|
+
SPORTS VENUES</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>WEBTC</Type>\n\t\t\t<Description>WEB
|
112
|
+
TRANSIT CENTERS</Description>\n\t\t</Typeinfo>\n\t</Types>\n\t<Appid></Appid>\n\t<Requestor>68.226.126.17</Requestor>\n\t<Host>s-rpta-soap</Host>\n\t<Copyright>XML
|
113
|
+
schema Copyright (c) 2003-2013 Trapeze Software ULC, its subsidiaries and
|
114
|
+
affiliates. All rights reserved.</Copyright>\n\t<Soapversion>2.6.3 - 11/14/13</Soapversion>\n</namesp1:GetcategoriesResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>"
|
115
|
+
http_version:
|
116
|
+
recorded_at: Mon, 06 Jan 2014 23:53:30 GMT
|
117
|
+
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,117 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://soap.valleymetro.org/cgi-bin-soap-web-262/soap.cgi
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
9
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="PX_WEB"
|
10
|
+
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><Getcategories
|
11
|
+
xmlns="PX_WEB"></Getcategories></env:Body></env:Envelope>
|
12
|
+
headers:
|
13
|
+
Soapaction:
|
14
|
+
- '"PX_WEB#Getcategories"'
|
15
|
+
Content-Type:
|
16
|
+
- text/xml;charset=UTF-8
|
17
|
+
Content-Length:
|
18
|
+
- '307'
|
19
|
+
Accept-Encoding:
|
20
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
21
|
+
Accept:
|
22
|
+
- '*/*'
|
23
|
+
User-Agent:
|
24
|
+
- Ruby
|
25
|
+
response:
|
26
|
+
status:
|
27
|
+
code: 200
|
28
|
+
message: OK
|
29
|
+
headers:
|
30
|
+
Date:
|
31
|
+
- Mon, 06 Jan 2014 23:53:30 GMT
|
32
|
+
Server:
|
33
|
+
- Apache/2.2.3 (CentOS)
|
34
|
+
Soapserver:
|
35
|
+
- SOAP::Lite/Perl/0.55
|
36
|
+
Content-Length:
|
37
|
+
- '8529'
|
38
|
+
Connection:
|
39
|
+
- close
|
40
|
+
Content-Type:
|
41
|
+
- text/xml; charset=utf-8
|
42
|
+
body:
|
43
|
+
encoding: UTF-8
|
44
|
+
string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?><SOAP-ENV:Envelope xmlns:xsi=\"http://www.w3.org/1999/XMLSchema-instance\"
|
45
|
+
xmlns:SOAP-ENC=\"http://schemas.xmlsoap.org/soap/encoding/\" xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\"
|
46
|
+
xmlns:xsd=\"http://www.w3.org/1999/XMLSchema\" SOAP-ENV:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\"><SOAP-ENV:Body><namesp1:GetcategoriesResponse
|
47
|
+
xmlns:namesp1=\"PX_WEB\">\n\t<Responsecode>0</Responsecode>\n\t<Version>1.0</Version>\n\t<Types>\n\t\t<Typeinfo>\n\t\t\t<Type>AIRPT</Type>\n\t\t\t<Description>AIRPORT</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>CAS</Type>\n\t\t\t<Description>CASINO</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>CEM</Type>\n\t\t\t<Description>CEMETARIES</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>CINE</Type>\n\t\t\t<Description>CINEMAS
|
48
|
+
/ MOVIE THEATERS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>CITY</Type>\n\t\t\t<Description>CITY
|
49
|
+
/ TOWN HALLS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>WEL</Type>\n\t\t\t<Description>COMMUNITY
|
50
|
+
ASSISTANCE</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>COMRE</Type>\n\t\t\t<Description>COMMUNITY
|
51
|
+
RESOURCES</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>COURT</Type>\n\t\t\t<Description>COURT
|
52
|
+
HOUSE</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>MDC</Type>\n\t\t\t<Description>FAMILY
|
53
|
+
ATTRACTIONS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>FX31DP</Type>\n\t\t\t<Description>FARE
|
54
|
+
EXPRESS 31 DAY PASS-$104.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>FXADP</Type>\n\t\t\t<Description>FARE
|
55
|
+
EXPRESS ALL DAY PASS-$6.50</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>FL15DP</Type>\n\t\t\t<Description>FARE
|
56
|
+
LOCAL 15 DAY PASS-$33.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>FL31DP</Type>\n\t\t\t<Description>FARE
|
57
|
+
LOCAL 31 DAY PASS-$64.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>FL7DP</Type>\n\t\t\t<Description>FARE
|
58
|
+
LOCAL 7 DAY PASS-$20.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>FLADP</Type>\n\t\t\t<Description>FARE
|
59
|
+
LOCAL ALL DAY PASS-$4.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>FR15DP</Type>\n\t\t\t<Description>FARE
|
60
|
+
REDUCED 15 DAY PASS-$16.50</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>FR31DP</Type>\n\t\t\t<Description>FARE
|
61
|
+
REDUCED 31 DAY PASS-$32.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>FR7DP</Type>\n\t\t\t<Description>FARE
|
62
|
+
REDUCED 7 DAY PASS-$10.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>FRADP</Type>\n\t\t\t<Description>FARE
|
63
|
+
REDUCED ALL DAY PASS-$2.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>GEO</Type>\n\t\t\t<Description>GEO</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>GOLF</Type>\n\t\t\t<Description>GOLF</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>GOVT</Type>\n\t\t\t<Description>GOVERNMENT
|
64
|
+
LOCAL STATE FEDERAL</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>HALL</Type>\n\t\t\t<Description>HALLS
|
65
|
+
(EXHIBITION, FUNCTION, UNION, ETC)</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>HOSP</Type>\n\t\t\t<Description>HOSPITALS
|
66
|
+
AND CLINICS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>HOTEL</Type>\n\t\t\t<Description>HOTELS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>INT</Type>\n\t\t\t<Description>INTERSECTION
|
67
|
+
BASED SHORT CODES</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>IX31DP</Type>\n\t\t\t<Description>IVRS
|
68
|
+
FARE EXPRESS 31 DAY PASS-$104.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>IXADP</Type>\n\t\t\t<Description>IVRS
|
69
|
+
FARE EXPRESS ALL DAY PASS-$6.50</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>IL15DP</Type>\n\t\t\t<Description>IVRS
|
70
|
+
FARE LOCAL 15 DAY PASS-$33.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>IL31DP</Type>\n\t\t\t<Description>IVRS
|
71
|
+
FARE LOCAL 31 DAY PASS-$64.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>IL7DP</Type>\n\t\t\t<Description>IVRS
|
72
|
+
FARE LOCAL 7 DAY PASS-$20.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>ILADP</Type>\n\t\t\t<Description>IVRS
|
73
|
+
FARE LOCAL ALL DAY PASS-$4.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>IR15DP</Type>\n\t\t\t<Description>IVRS
|
74
|
+
FARE REDUCED 15 DAY PASS-$16.50</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>IR31DP</Type>\n\t\t\t<Description>IVRS
|
75
|
+
FARE REDUCED 31 DAY PASS-$32.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>IR7DP</Type>\n\t\t\t<Description>IVRS
|
76
|
+
FARE REDUCED 7 DAY PASS-$10.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>IRADP</Type>\n\t\t\t<Description>IVRS
|
77
|
+
FARE REDUCED ALL DAY PASS-$2.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>JAIL</Type>\n\t\t\t<Description>JAILS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>LIB</Type>\n\t\t\t<Description>LIBRARIES</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>LRTSTN</Type>\n\t\t\t<Description>LIGHT
|
78
|
+
RAIL STATIONS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>LRT</Type>\n\t\t\t<Description>LIGHTRAIL</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>BUS</Type>\n\t\t\t<Description>MAJOR
|
79
|
+
BUSINESSES</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>MUS</Type>\n\t\t\t<Description>MUSEUMS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>DELETE</Type>\n\t\t\t<Description>OBSOLETE
|
80
|
+
DELETE AFTER IVR CHECK</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>OFPK</Type>\n\t\t\t<Description>OFFICE
|
81
|
+
PARKS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>PR</Type>\n\t\t\t<Description>PARK
|
82
|
+
AND RIDE</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>PARKS</Type>\n\t\t\t<Description>PARKS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>PERF</Type>\n\t\t\t<Description>PERFORMING
|
83
|
+
ARTS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>PO</Type>\n\t\t\t<Description>POST
|
84
|
+
OFFICES</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>PVT</Type>\n\t\t\t<Description>PRIVATE
|
85
|
+
BUS CARRIERS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>HOUSE</Type>\n\t\t\t<Description>PUBLIC
|
86
|
+
HOUSING AUTH/MAJOR CONDO-APT CPLX</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>REC</Type>\n\t\t\t<Description>RECREATION
|
87
|
+
CENTERS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>RT</Type>\n\t\t\t<Description>REGIONAL
|
88
|
+
TRANSIT CONNECTOR</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>REL</Type>\n\t\t\t<Description>RELIGIOUS
|
89
|
+
HSE OF WORSHIP: CHRCH,TMPL,SYN</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>SC</Type>\n\t\t\t<Description>SCHOOLS:
|
90
|
+
COLLEGES</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>SE</Type>\n\t\t\t<Description>SCHOOLS:
|
91
|
+
ELEMENTARY</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>SH</Type>\n\t\t\t<Description>SCHOOLS:
|
92
|
+
HIGH</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>SM</Type>\n\t\t\t<Description>SCHOOLS:
|
93
|
+
MIDDLE</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>ST</Type>\n\t\t\t<Description>SCHOOLS:
|
94
|
+
TRADE & OTHER</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>SHOP</Type>\n\t\t\t<Description>SHOPPING
|
95
|
+
MALLS & MAJOR DEPARTMENT STORES</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>SPORT</Type>\n\t\t\t<Description>SPORTS
|
96
|
+
VENUES</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>SQ</Type>\n\t\t\t<Description>SQUARES:
|
97
|
+
MAJOR INTERSECTION OR BUSI AREA</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>TC</Type>\n\t\t\t<Description>TRANSIT
|
98
|
+
CENTERS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>WEBAIR</Type>\n\t\t\t<Description>WEB
|
99
|
+
AIRPORT</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>WEBCOL</Type>\n\t\t\t<Description>WEB
|
100
|
+
COLLEGES</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>WEBCMR</Type>\n\t\t\t<Description>WEB
|
101
|
+
COMMUNITY RESOURCES</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>WEBFAM</Type>\n\t\t\t<Description>WEB
|
102
|
+
FAMILY ATTRACTIONS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>WEBGOV</Type>\n\t\t\t<Description>WEB
|
103
|
+
GOVT LOCAL STATE FEDERAL</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>WEBHOS</Type>\n\t\t\t<Description>WEB
|
104
|
+
HOSPITALS AND CLINICS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>WEBLIB</Type>\n\t\t\t<Description>WEB
|
105
|
+
LIBRARIES</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>WEBSTN</Type>\n\t\t\t<Description>WEB
|
106
|
+
LIGHT RAIL STATIONS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>WEBMUS</Type>\n\t\t\t<Description>WEB
|
107
|
+
MUSEUMS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>WEBPR</Type>\n\t\t\t<Description>WEB
|
108
|
+
PARK AND RIDE</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>WEBPER</Type>\n\t\t\t<Description>WEB
|
109
|
+
PERFORMING ARTS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>WEBSHP</Type>\n\t\t\t<Description>WEB
|
110
|
+
SHOPPING MALLS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>WEBSPT</Type>\n\t\t\t<Description>WEB
|
111
|
+
SPORTS VENUES</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>WEBTC</Type>\n\t\t\t<Description>WEB
|
112
|
+
TRANSIT CENTERS</Description>\n\t\t</Typeinfo>\n\t</Types>\n\t<Appid></Appid>\n\t<Requestor>68.226.126.17</Requestor>\n\t<Host>s-rpta-soap</Host>\n\t<Copyright>XML
|
113
|
+
schema Copyright (c) 2003-2013 Trapeze Software ULC, its subsidiaries and
|
114
|
+
affiliates. All rights reserved.</Copyright>\n\t<Soapversion>2.6.3 - 11/14/13</Soapversion>\n</namesp1:GetcategoriesResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>"
|
115
|
+
http_version:
|
116
|
+
recorded_at: Mon, 06 Jan 2014 23:53:30 GMT
|
117
|
+
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,117 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://soap.valleymetro.org/cgi-bin-soap-web-262/soap.cgi
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
9
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="PX_WEB"
|
10
|
+
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><Getcategories
|
11
|
+
xmlns="PX_WEB"></Getcategories></env:Body></env:Envelope>
|
12
|
+
headers:
|
13
|
+
Soapaction:
|
14
|
+
- '"PX_WEB#Getcategories"'
|
15
|
+
Content-Type:
|
16
|
+
- text/xml;charset=UTF-8
|
17
|
+
Content-Length:
|
18
|
+
- '307'
|
19
|
+
Accept-Encoding:
|
20
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
21
|
+
Accept:
|
22
|
+
- '*/*'
|
23
|
+
User-Agent:
|
24
|
+
- Ruby
|
25
|
+
response:
|
26
|
+
status:
|
27
|
+
code: 200
|
28
|
+
message: OK
|
29
|
+
headers:
|
30
|
+
Date:
|
31
|
+
- Mon, 06 Jan 2014 23:53:30 GMT
|
32
|
+
Server:
|
33
|
+
- Apache/2.2.3 (CentOS)
|
34
|
+
Soapserver:
|
35
|
+
- SOAP::Lite/Perl/0.55
|
36
|
+
Content-Length:
|
37
|
+
- '8529'
|
38
|
+
Connection:
|
39
|
+
- close
|
40
|
+
Content-Type:
|
41
|
+
- text/xml; charset=utf-8
|
42
|
+
body:
|
43
|
+
encoding: UTF-8
|
44
|
+
string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?><SOAP-ENV:Envelope xmlns:xsi=\"http://www.w3.org/1999/XMLSchema-instance\"
|
45
|
+
xmlns:SOAP-ENC=\"http://schemas.xmlsoap.org/soap/encoding/\" xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\"
|
46
|
+
xmlns:xsd=\"http://www.w3.org/1999/XMLSchema\" SOAP-ENV:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\"><SOAP-ENV:Body><namesp1:GetcategoriesResponse
|
47
|
+
xmlns:namesp1=\"PX_WEB\">\n\t<Responsecode>0</Responsecode>\n\t<Version>1.0</Version>\n\t<Types>\n\t\t<Typeinfo>\n\t\t\t<Type>AIRPT</Type>\n\t\t\t<Description>AIRPORT</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>CAS</Type>\n\t\t\t<Description>CASINO</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>CEM</Type>\n\t\t\t<Description>CEMETARIES</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>CINE</Type>\n\t\t\t<Description>CINEMAS
|
48
|
+
/ MOVIE THEATERS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>CITY</Type>\n\t\t\t<Description>CITY
|
49
|
+
/ TOWN HALLS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>WEL</Type>\n\t\t\t<Description>COMMUNITY
|
50
|
+
ASSISTANCE</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>COMRE</Type>\n\t\t\t<Description>COMMUNITY
|
51
|
+
RESOURCES</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>COURT</Type>\n\t\t\t<Description>COURT
|
52
|
+
HOUSE</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>MDC</Type>\n\t\t\t<Description>FAMILY
|
53
|
+
ATTRACTIONS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>FX31DP</Type>\n\t\t\t<Description>FARE
|
54
|
+
EXPRESS 31 DAY PASS-$104.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>FXADP</Type>\n\t\t\t<Description>FARE
|
55
|
+
EXPRESS ALL DAY PASS-$6.50</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>FL15DP</Type>\n\t\t\t<Description>FARE
|
56
|
+
LOCAL 15 DAY PASS-$33.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>FL31DP</Type>\n\t\t\t<Description>FARE
|
57
|
+
LOCAL 31 DAY PASS-$64.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>FL7DP</Type>\n\t\t\t<Description>FARE
|
58
|
+
LOCAL 7 DAY PASS-$20.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>FLADP</Type>\n\t\t\t<Description>FARE
|
59
|
+
LOCAL ALL DAY PASS-$4.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>FR15DP</Type>\n\t\t\t<Description>FARE
|
60
|
+
REDUCED 15 DAY PASS-$16.50</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>FR31DP</Type>\n\t\t\t<Description>FARE
|
61
|
+
REDUCED 31 DAY PASS-$32.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>FR7DP</Type>\n\t\t\t<Description>FARE
|
62
|
+
REDUCED 7 DAY PASS-$10.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>FRADP</Type>\n\t\t\t<Description>FARE
|
63
|
+
REDUCED ALL DAY PASS-$2.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>GEO</Type>\n\t\t\t<Description>GEO</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>GOLF</Type>\n\t\t\t<Description>GOLF</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>GOVT</Type>\n\t\t\t<Description>GOVERNMENT
|
64
|
+
LOCAL STATE FEDERAL</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>HALL</Type>\n\t\t\t<Description>HALLS
|
65
|
+
(EXHIBITION, FUNCTION, UNION, ETC)</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>HOSP</Type>\n\t\t\t<Description>HOSPITALS
|
66
|
+
AND CLINICS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>HOTEL</Type>\n\t\t\t<Description>HOTELS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>INT</Type>\n\t\t\t<Description>INTERSECTION
|
67
|
+
BASED SHORT CODES</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>IX31DP</Type>\n\t\t\t<Description>IVRS
|
68
|
+
FARE EXPRESS 31 DAY PASS-$104.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>IXADP</Type>\n\t\t\t<Description>IVRS
|
69
|
+
FARE EXPRESS ALL DAY PASS-$6.50</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>IL15DP</Type>\n\t\t\t<Description>IVRS
|
70
|
+
FARE LOCAL 15 DAY PASS-$33.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>IL31DP</Type>\n\t\t\t<Description>IVRS
|
71
|
+
FARE LOCAL 31 DAY PASS-$64.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>IL7DP</Type>\n\t\t\t<Description>IVRS
|
72
|
+
FARE LOCAL 7 DAY PASS-$20.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>ILADP</Type>\n\t\t\t<Description>IVRS
|
73
|
+
FARE LOCAL ALL DAY PASS-$4.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>IR15DP</Type>\n\t\t\t<Description>IVRS
|
74
|
+
FARE REDUCED 15 DAY PASS-$16.50</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>IR31DP</Type>\n\t\t\t<Description>IVRS
|
75
|
+
FARE REDUCED 31 DAY PASS-$32.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>IR7DP</Type>\n\t\t\t<Description>IVRS
|
76
|
+
FARE REDUCED 7 DAY PASS-$10.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>IRADP</Type>\n\t\t\t<Description>IVRS
|
77
|
+
FARE REDUCED ALL DAY PASS-$2.00</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>JAIL</Type>\n\t\t\t<Description>JAILS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>LIB</Type>\n\t\t\t<Description>LIBRARIES</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>LRTSTN</Type>\n\t\t\t<Description>LIGHT
|
78
|
+
RAIL STATIONS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>LRT</Type>\n\t\t\t<Description>LIGHTRAIL</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>BUS</Type>\n\t\t\t<Description>MAJOR
|
79
|
+
BUSINESSES</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>MUS</Type>\n\t\t\t<Description>MUSEUMS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>DELETE</Type>\n\t\t\t<Description>OBSOLETE
|
80
|
+
DELETE AFTER IVR CHECK</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>OFPK</Type>\n\t\t\t<Description>OFFICE
|
81
|
+
PARKS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>PR</Type>\n\t\t\t<Description>PARK
|
82
|
+
AND RIDE</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>PARKS</Type>\n\t\t\t<Description>PARKS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>PERF</Type>\n\t\t\t<Description>PERFORMING
|
83
|
+
ARTS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>PO</Type>\n\t\t\t<Description>POST
|
84
|
+
OFFICES</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>PVT</Type>\n\t\t\t<Description>PRIVATE
|
85
|
+
BUS CARRIERS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>HOUSE</Type>\n\t\t\t<Description>PUBLIC
|
86
|
+
HOUSING AUTH/MAJOR CONDO-APT CPLX</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>REC</Type>\n\t\t\t<Description>RECREATION
|
87
|
+
CENTERS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>RT</Type>\n\t\t\t<Description>REGIONAL
|
88
|
+
TRANSIT CONNECTOR</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>REL</Type>\n\t\t\t<Description>RELIGIOUS
|
89
|
+
HSE OF WORSHIP: CHRCH,TMPL,SYN</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>SC</Type>\n\t\t\t<Description>SCHOOLS:
|
90
|
+
COLLEGES</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>SE</Type>\n\t\t\t<Description>SCHOOLS:
|
91
|
+
ELEMENTARY</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>SH</Type>\n\t\t\t<Description>SCHOOLS:
|
92
|
+
HIGH</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>SM</Type>\n\t\t\t<Description>SCHOOLS:
|
93
|
+
MIDDLE</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>ST</Type>\n\t\t\t<Description>SCHOOLS:
|
94
|
+
TRADE & OTHER</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>SHOP</Type>\n\t\t\t<Description>SHOPPING
|
95
|
+
MALLS & MAJOR DEPARTMENT STORES</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>SPORT</Type>\n\t\t\t<Description>SPORTS
|
96
|
+
VENUES</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>SQ</Type>\n\t\t\t<Description>SQUARES:
|
97
|
+
MAJOR INTERSECTION OR BUSI AREA</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>TC</Type>\n\t\t\t<Description>TRANSIT
|
98
|
+
CENTERS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>WEBAIR</Type>\n\t\t\t<Description>WEB
|
99
|
+
AIRPORT</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>WEBCOL</Type>\n\t\t\t<Description>WEB
|
100
|
+
COLLEGES</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>WEBCMR</Type>\n\t\t\t<Description>WEB
|
101
|
+
COMMUNITY RESOURCES</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>WEBFAM</Type>\n\t\t\t<Description>WEB
|
102
|
+
FAMILY ATTRACTIONS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>WEBGOV</Type>\n\t\t\t<Description>WEB
|
103
|
+
GOVT LOCAL STATE FEDERAL</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>WEBHOS</Type>\n\t\t\t<Description>WEB
|
104
|
+
HOSPITALS AND CLINICS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>WEBLIB</Type>\n\t\t\t<Description>WEB
|
105
|
+
LIBRARIES</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>WEBSTN</Type>\n\t\t\t<Description>WEB
|
106
|
+
LIGHT RAIL STATIONS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>WEBMUS</Type>\n\t\t\t<Description>WEB
|
107
|
+
MUSEUMS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>WEBPR</Type>\n\t\t\t<Description>WEB
|
108
|
+
PARK AND RIDE</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>WEBPER</Type>\n\t\t\t<Description>WEB
|
109
|
+
PERFORMING ARTS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>WEBSHP</Type>\n\t\t\t<Description>WEB
|
110
|
+
SHOPPING MALLS</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>WEBSPT</Type>\n\t\t\t<Description>WEB
|
111
|
+
SPORTS VENUES</Description>\n\t\t</Typeinfo>\n\t\t<Typeinfo>\n\t\t\t<Type>WEBTC</Type>\n\t\t\t<Description>WEB
|
112
|
+
TRANSIT CENTERS</Description>\n\t\t</Typeinfo>\n\t</Types>\n\t<Appid></Appid>\n\t<Requestor>68.226.126.17</Requestor>\n\t<Host>s-rpta-soap</Host>\n\t<Copyright>XML
|
113
|
+
schema Copyright (c) 2003-2013 Trapeze Software ULC, its subsidiaries and
|
114
|
+
affiliates. All rights reserved.</Copyright>\n\t<Soapversion>2.6.3 - 11/14/13</Soapversion>\n</namesp1:GetcategoriesResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>"
|
115
|
+
http_version:
|
116
|
+
recorded_at: Mon, 06 Jan 2014 23:53:31 GMT
|
117
|
+
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,54 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://soap.valleymetro.org/cgi-bin-soap-web-262/soap.cgi
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
9
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="PX_WEB"
|
10
|
+
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><Locate xmlns="PX_WEB"><Appid>WEB</Appid><Location>1315
|
11
|
+
W. Straford Dr.</Location><Area xsi:nil="true"/><Region xsi:nil="true"/><Maxanswers>20</Maxanswers><Media>W</Media></Locate></env:Body></env:Envelope>
|
12
|
+
headers:
|
13
|
+
Soapaction:
|
14
|
+
- '"PX_WEB#Locate"'
|
15
|
+
Content-Type:
|
16
|
+
- text/xml;charset=UTF-8
|
17
|
+
Content-Length:
|
18
|
+
- '441'
|
19
|
+
Accept-Encoding:
|
20
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
21
|
+
Accept:
|
22
|
+
- '*/*'
|
23
|
+
User-Agent:
|
24
|
+
- Ruby
|
25
|
+
response:
|
26
|
+
status:
|
27
|
+
code: 200
|
28
|
+
message: OK
|
29
|
+
headers:
|
30
|
+
Date:
|
31
|
+
- Mon, 06 Jan 2014 23:53:41 GMT
|
32
|
+
Server:
|
33
|
+
- Apache/2.2.3 (CentOS)
|
34
|
+
Soapserver:
|
35
|
+
- SOAP::Lite/Perl/0.55
|
36
|
+
Content-Length:
|
37
|
+
- '1133'
|
38
|
+
Connection:
|
39
|
+
- close
|
40
|
+
Content-Type:
|
41
|
+
- text/xml; charset=utf-8
|
42
|
+
body:
|
43
|
+
encoding: UTF-8
|
44
|
+
string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?><SOAP-ENV:Envelope xmlns:xsi=\"http://www.w3.org/1999/XMLSchema-instance\"
|
45
|
+
xmlns:SOAP-ENC=\"http://schemas.xmlsoap.org/soap/encoding/\" xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\"
|
46
|
+
xmlns:xsd=\"http://www.w3.org/1999/XMLSchema\" SOAP-ENV:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\"><SOAP-ENV:Body><namesp1:LocateResponse
|
47
|
+
xmlns:namesp1=\"PX_WEB\">\n\t<Responsecode>ok</Responsecode>\n\t<Hint>1</Hint>\n\t<Version>1.13</Version>\n\t<Projection>SP</Projection>\n\t<Locationtype>A</Locationtype>\n\t<Location>\n\t\t<Name>W
|
48
|
+
STRAFORD DR</Name>\n\t\t<Area>Chandler</Area>\n\t\t<Areacode>CH</Areacode>\n\t\t<Region>1</Region>\n\t\t<Zipname>85224
|
49
|
+
- Chandler</Zipname>\n\t\t<Latitude>33.353202</Latitude>\n\t\t<Longitude>-111.864902</Longitude>\n\t\t<Address>1315</Address>\n\t\t<Landmarkid>0</Landmarkid>\n\t</Location>\n\t<Requestor>68.226.126.17</Requestor>\n\t<Host>s-rpta-soap</Host>\n\t<Copyright>XML
|
50
|
+
schema Copyright (c) 2003-2013 Trapeze Software ULC, its subsidiaries and
|
51
|
+
affiliates. All rights reserved.</Copyright>\n\t<Soapversion>2.6.3 - 11/14/13</Soapversion>\n</namesp1:LocateResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>"
|
52
|
+
http_version:
|
53
|
+
recorded_at: Mon, 06 Jan 2014 23:53:41 GMT
|
54
|
+
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,54 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://soap.valleymetro.org/cgi-bin-soap-web-262/soap.cgi
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
9
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="PX_WEB"
|
10
|
+
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><Locate xmlns="PX_WEB"><Appid>WEB</Appid><Location>1315
|
11
|
+
W. Straford Dr.</Location><Area xsi:nil="true"/><Region xsi:nil="true"/><Maxanswers>20</Maxanswers><Media>W</Media></Locate></env:Body></env:Envelope>
|
12
|
+
headers:
|
13
|
+
Soapaction:
|
14
|
+
- '"PX_WEB#Locate"'
|
15
|
+
Content-Type:
|
16
|
+
- text/xml;charset=UTF-8
|
17
|
+
Content-Length:
|
18
|
+
- '441'
|
19
|
+
Accept-Encoding:
|
20
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
21
|
+
Accept:
|
22
|
+
- '*/*'
|
23
|
+
User-Agent:
|
24
|
+
- Ruby
|
25
|
+
response:
|
26
|
+
status:
|
27
|
+
code: 200
|
28
|
+
message: OK
|
29
|
+
headers:
|
30
|
+
Date:
|
31
|
+
- Mon, 06 Jan 2014 23:53:41 GMT
|
32
|
+
Server:
|
33
|
+
- Apache/2.2.3 (CentOS)
|
34
|
+
Soapserver:
|
35
|
+
- SOAP::Lite/Perl/0.55
|
36
|
+
Content-Length:
|
37
|
+
- '1133'
|
38
|
+
Connection:
|
39
|
+
- close
|
40
|
+
Content-Type:
|
41
|
+
- text/xml; charset=utf-8
|
42
|
+
body:
|
43
|
+
encoding: UTF-8
|
44
|
+
string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?><SOAP-ENV:Envelope xmlns:xsi=\"http://www.w3.org/1999/XMLSchema-instance\"
|
45
|
+
xmlns:SOAP-ENC=\"http://schemas.xmlsoap.org/soap/encoding/\" xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\"
|
46
|
+
xmlns:xsd=\"http://www.w3.org/1999/XMLSchema\" SOAP-ENV:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\"><SOAP-ENV:Body><namesp1:LocateResponse
|
47
|
+
xmlns:namesp1=\"PX_WEB\">\n\t<Responsecode>ok</Responsecode>\n\t<Hint>1</Hint>\n\t<Version>1.13</Version>\n\t<Projection>SP</Projection>\n\t<Locationtype>A</Locationtype>\n\t<Location>\n\t\t<Name>W
|
48
|
+
STRAFORD DR</Name>\n\t\t<Area>Chandler</Area>\n\t\t<Areacode>CH</Areacode>\n\t\t<Region>1</Region>\n\t\t<Zipname>85224
|
49
|
+
- Chandler</Zipname>\n\t\t<Latitude>33.353202</Latitude>\n\t\t<Longitude>-111.864902</Longitude>\n\t\t<Address>1315</Address>\n\t\t<Landmarkid>0</Landmarkid>\n\t</Location>\n\t<Requestor>68.226.126.17</Requestor>\n\t<Host>s-rpta-soap</Host>\n\t<Copyright>XML
|
50
|
+
schema Copyright (c) 2003-2013 Trapeze Software ULC, its subsidiaries and
|
51
|
+
affiliates. All rights reserved.</Copyright>\n\t<Soapversion>2.6.3 - 11/14/13</Soapversion>\n</namesp1:LocateResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>"
|
52
|
+
http_version:
|
53
|
+
recorded_at: Mon, 06 Jan 2014 23:53:41 GMT
|
54
|
+
recorded_with: VCR 2.8.0
|