active_shipping 1.0.0.pre4 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data.tar.gz.sig +0 -0
  4. data/.yardopts +0 -1
  5. data/CHANGELOG.md +17 -0
  6. data/CONTRIBUTING.md +2 -2
  7. data/Gemfile.activesupport32 +1 -0
  8. data/README.md +1 -1
  9. data/Rakefile +1 -1
  10. data/active_shipping.gemspec +2 -2
  11. data/lib/active_shipping.rb +2 -3
  12. data/lib/active_shipping/carriers.rb +1 -0
  13. data/lib/active_shipping/carriers/canada_post_pws.rb +281 -266
  14. data/lib/active_shipping/carriers/correios.rb +285 -0
  15. data/lib/active_shipping/carriers/fedex.rb +205 -199
  16. data/lib/active_shipping/carriers/stamps.rb +218 -219
  17. data/lib/active_shipping/carriers/ups.rb +287 -48
  18. data/lib/active_shipping/carriers/usps.rb +3 -3
  19. data/lib/active_shipping/delivery_date_estimate.rb +21 -0
  20. data/lib/active_shipping/delivery_date_estimates_response.rb +11 -0
  21. data/lib/active_shipping/errors.rb +20 -1
  22. data/lib/active_shipping/location.rb +0 -5
  23. data/lib/active_shipping/response.rb +0 -15
  24. data/lib/active_shipping/version.rb +1 -1
  25. data/test/credentials.yml +11 -3
  26. data/test/fixtures/xml/correios/book_response.xml +13 -0
  27. data/test/fixtures/xml/correios/book_response_invalid.xml +13 -0
  28. data/test/fixtures/xml/correios/clothes_response.xml +43 -0
  29. data/test/fixtures/xml/correios/poster_response.xml +23 -0
  30. data/test/fixtures/xml/correios/shoes_response.xml +43 -0
  31. data/test/fixtures/xml/fedex/tracking_request.xml +13 -11
  32. data/test/fixtures/xml/fedex/tracking_response_bad_tracking_number.xml +20 -0
  33. data/test/fixtures/xml/fedex/tracking_response_delivered_at_door.xml +254 -0
  34. data/test/fixtures/xml/fedex/tracking_response_delivered_at_facility.xml +403 -0
  35. data/test/fixtures/xml/fedex/tracking_response_delivered_with_signature.xml +269 -0
  36. data/test/fixtures/xml/fedex/tracking_response_in_transit.xml +127 -0
  37. data/test/fixtures/xml/fedex/tracking_response_multiple_results.xml +100 -0
  38. data/test/fixtures/xml/fedex/tracking_response_not_found.xml +52 -0
  39. data/test/fixtures/xml/fedex/tracking_response_shipment_exception.xml +209 -0
  40. data/test/fixtures/xml/ups/delivery_dates_response.xml +140 -0
  41. data/test/fixtures/xml/ups/package_exceeds_maximum_length.xml +12 -0
  42. data/test/fixtures/xml/ups/rate_single_service.xml +54 -0
  43. data/test/fixtures/xml/ups/rescheduled_shipment.xml +204 -0
  44. data/test/fixtures/xml/ups/test_real_home_as_residential_destination_response.xml +290 -1
  45. data/test/fixtures/xml/usps/delivered_extended_tracking_response.xml +11 -0
  46. data/test/remote/canada_post_pws_platform_test.rb +35 -22
  47. data/test/remote/canada_post_pws_test.rb +32 -40
  48. data/test/remote/correios_test.rb +83 -0
  49. data/test/remote/fedex_test.rb +95 -13
  50. data/test/remote/stamps_test.rb +1 -0
  51. data/test/remote/ups_test.rb +77 -40
  52. data/test/remote/usps_test.rb +13 -1
  53. data/test/test_helper.rb +12 -2
  54. data/test/unit/carriers/canada_post_pws_rating_test.rb +66 -59
  55. data/test/unit/carriers/canada_post_pws_shipping_test.rb +34 -23
  56. data/test/unit/carriers/correios_test.rb +244 -0
  57. data/test/unit/carriers/fedex_test.rb +161 -156
  58. data/test/unit/carriers/ups_test.rb +193 -1
  59. data/test/unit/carriers/usps_test.rb +14 -0
  60. data/test/unit/location_test.rb +0 -10
  61. metadata +63 -46
  62. metadata.gz.sig +0 -0
  63. data/lib/vendor/test_helper.rb +0 -6
  64. data/lib/vendor/xml_node/README +0 -36
  65. data/lib/vendor/xml_node/Rakefile +0 -21
  66. data/lib/vendor/xml_node/benchmark/bench_generation.rb +0 -30
  67. data/lib/vendor/xml_node/init.rb +0 -1
  68. data/lib/vendor/xml_node/lib/xml_node.rb +0 -221
  69. data/lib/vendor/xml_node/test/test_generating.rb +0 -89
  70. data/lib/vendor/xml_node/test/test_parsing.rb +0 -40
  71. data/test/fixtures/xml/fedex/tracking_response.xml +0 -151
  72. data/test/fixtures/xml/fedex/tracking_response_empty_destination.xml +0 -76
  73. data/test/fixtures/xml/fedex/tracking_response_no_destination.xml +0 -139
  74. data/test/fixtures/xml/fedex/tracking_response_no_ship_time.xml +0 -150
  75. data/test/fixtures/xml/fedex/tracking_response_with_estimated_delivery_date.xml +0 -95
  76. data/test/fixtures/xml/fedex/tracking_response_with_shipper_address.xml +0 -71
@@ -1,151 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <v3:TrackReply xmlns:v3="http://fedex.com/ws/track/v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
3
- <v3:HighestSeverity>SUCCESS</v3:HighestSeverity>
4
- <v3:Notifications>
5
- <v3:Severity>SUCCESS</v3:Severity>
6
- <v3:Source>trck</v3:Source>
7
- <v3:Code>0</v3:Code>
8
- <v3:Message>Request was successfully processed.</v3:Message>
9
- <v3:LocalizedMessage>Request was successfully processed.</v3:LocalizedMessage>
10
- </v3:Notifications>
11
- <v3:TransactionDetail>
12
- <v3:CustomerTransactionId>ActiveShipping</v3:CustomerTransactionId>
13
- </v3:TransactionDetail>
14
- <v3:Version>
15
- <v3:ServiceId>trck</v3:ServiceId>
16
- <v3:Major>3</v3:Major>
17
- <v3:Intermediate>0</v3:Intermediate>
18
- <v3:Minor>0</v3:Minor>
19
- </v3:Version>
20
- <v3:DuplicateWaybill>false</v3:DuplicateWaybill>
21
- <v3:MoreData>false</v3:MoreData>
22
- <v3:TrackDetails>
23
- <v3:TrackingNumber>077973360403984</v3:TrackingNumber>
24
- <v3:TrackingNumberUniqueIdentifier>120081203121125584000~077973360403984</v3:TrackingNumberUniqueIdentifier>
25
- <v3:StatusCode>DL</v3:StatusCode>
26
- <v3:StatusDescription>Delivered</v3:StatusDescription>
27
- <v3:CarrierCode>FDXG</v3:CarrierCode>
28
- <v3:OtherIdentifiers>
29
- <v3:Value>355200</v3:Value>
30
- <v3:Type>CUSTOMER_REFERENCE</v3:Type>
31
- </v3:OtherIdentifiers>
32
- <v3:OtherIdentifiers>
33
- <v3:Value>355200</v3:Value>
34
- <v3:Type>INVOICE</v3:Type>
35
- </v3:OtherIdentifiers>
36
- <v3:ServiceInfo>Ground-Domestic</v3:ServiceInfo>
37
- <v3:ServiceType>FEDEX_GROUND</v3:ServiceType>
38
- <v3:PackageWeight>
39
- <v3:Units>LB</v3:Units>
40
- <v3:Value>10.0</v3:Value>
41
- </v3:PackageWeight>
42
- <v3:Packaging>Package</v3:Packaging>
43
- <v3:PackageSequenceNumber>1</v3:PackageSequenceNumber>
44
- <v3:PackageCount>1</v3:PackageCount>
45
- <v3:OriginLocationAddress>
46
- <v3:City>NASHVILLE</v3:City>
47
- <v3:StateOrProvinceCode>TN</v3:StateOrProvinceCode>
48
- <v3:CountryCode>US</v3:CountryCode>
49
- <v3:Residential>false</v3:Residential>
50
- </v3:OriginLocationAddress>
51
- <v3:ShipTimestamp>2008-12-03T00:00:00</v3:ShipTimestamp>
52
- <v3:DestinationAddress>
53
- <v3:City>Sacramento</v3:City>
54
- <v3:StateOrProvinceCode>CA</v3:StateOrProvinceCode>
55
- <v3:CountryCode>US</v3:CountryCode>
56
- <v3:Residential>false</v3:Residential>
57
- </v3:DestinationAddress>
58
- <v3:ActualDeliveryTimestamp>2008-12-08T07:43:37-08:00</v3:ActualDeliveryTimestamp>
59
- <v3:ActualDeliveryAddress>
60
- <v3:City>Sacramento</v3:City>
61
- <v3:StateOrProvinceCode>CA</v3:StateOrProvinceCode>
62
- <v3:CountryCode>US</v3:CountryCode>
63
- <v3:Residential>false</v3:Residential>
64
- </v3:ActualDeliveryAddress>
65
- <v3:DeliveryLocationType>OTHER</v3:DeliveryLocationType>
66
- <v3:DeliverySignatureName>KKING</v3:DeliverySignatureName>
67
- <v3:SignatureProofOfDeliveryAvailable>true</v3:SignatureProofOfDeliveryAvailable>
68
- <v3:ProofOfDeliveryNotificationsAvailable>false</v3:ProofOfDeliveryNotificationsAvailable>
69
- <v3:ExceptionNotificationsAvailable>false</v3:ExceptionNotificationsAvailable>
70
- <v3:Events>
71
- <v3:Timestamp>2008-12-08T07:43:37-08:00</v3:Timestamp>
72
- <v3:EventType>DL</v3:EventType>
73
- <v3:EventDescription>Delivered</v3:EventDescription>
74
- <v3:Address>
75
- <v3:City>Sacramento</v3:City>
76
- <v3:StateOrProvinceCode>CA</v3:StateOrProvinceCode>
77
- <v3:PostalCode>95817</v3:PostalCode>
78
- <v3:CountryCode>US</v3:CountryCode>
79
- <v3:Residential>false</v3:Residential>
80
- </v3:Address>
81
- </v3:Events>
82
- <v3:Events>
83
- <v3:Timestamp>2008-12-08T05:00:00-08:00</v3:Timestamp>
84
- <v3:EventType>OD</v3:EventType>
85
- <v3:EventDescription>On FedEx vehicle for delivery</v3:EventDescription>
86
- <v3:Address>
87
- <v3:City>SACRAMENTO</v3:City>
88
- <v3:StateOrProvinceCode>CA</v3:StateOrProvinceCode>
89
- <v3:PostalCode>95824</v3:PostalCode>
90
- <v3:CountryCode>US</v3:CountryCode>
91
- <v3:Residential>false</v3:Residential>
92
- </v3:Address>
93
- </v3:Events>
94
- <v3:Events>
95
- <v3:Timestamp>2008-12-07T10:48:00-08:00</v3:Timestamp>
96
- <v3:EventType>AR</v3:EventType>
97
- <v3:EventDescription>Arrived at FedEx location</v3:EventDescription>
98
- <v3:Address>
99
- <v3:City>SACRAMENTO</v3:City>
100
- <v3:StateOrProvinceCode>CA</v3:StateOrProvinceCode>
101
- <v3:PostalCode>95824</v3:PostalCode>
102
- <v3:CountryCode>US</v3:CountryCode>
103
- <v3:Residential>false</v3:Residential>
104
- </v3:Address>
105
- </v3:Events>
106
- <v3:Events>
107
- <v3:Timestamp>2008-12-04T05:58:46-06:00</v3:Timestamp>
108
- <v3:EventType>DP</v3:EventType>
109
- <v3:EventDescription>Departed FedEx location</v3:EventDescription>
110
- <v3:Address>
111
- <v3:City>NASHVILLE</v3:City>
112
- <v3:StateOrProvinceCode>TN</v3:StateOrProvinceCode>
113
- <v3:PostalCode>37207</v3:PostalCode>
114
- <v3:CountryCode>US</v3:CountryCode>
115
- <v3:Residential>false</v3:Residential>
116
- </v3:Address>
117
- </v3:Events>
118
- <v3:Events>
119
- <v3:Timestamp>2008-12-03T18:22:00-06:00</v3:Timestamp>
120
- <v3:EventType>AR</v3:EventType>
121
- <v3:EventDescription>Arrived at FedEx location</v3:EventDescription>
122
- <v3:Address>
123
- <v3:City>NASHVILLE</v3:City>
124
- <v3:StateOrProvinceCode>TN</v3:StateOrProvinceCode>
125
- <v3:PostalCode>37207</v3:PostalCode>
126
- <v3:CountryCode>US</v3:CountryCode>
127
- <v3:Residential>false</v3:Residential>
128
- </v3:Address>
129
- </v3:Events>
130
- <v3:Events>
131
- <v3:Timestamp>2008-12-03T17:22:00-06:00</v3:Timestamp>
132
- <v3:EventType>PU</v3:EventType>
133
- <v3:EventDescription>Picked up</v3:EventDescription>
134
- <v3:Address>
135
- <v3:City>NASHVILLE</v3:City>
136
- <v3:StateOrProvinceCode>TN</v3:StateOrProvinceCode>
137
- <v3:PostalCode>37207</v3:PostalCode>
138
- <v3:CountryCode>US</v3:CountryCode>
139
- <v3:Residential>false</v3:Residential>
140
- </v3:Address>
141
- </v3:Events>
142
- <v3:Events>
143
- <v3:Timestamp>2008-12-03T12:10:00-06:00</v3:Timestamp>
144
- <v3:EventType>OC</v3:EventType>
145
- <v3:EventDescription>Shipment information sent to FedEx</v3:EventDescription>
146
- <v3:Address>
147
- <v3:Residential>false</v3:Residential>
148
- </v3:Address>
149
- </v3:Events>
150
- </v3:TrackDetails>
151
- </v3:TrackReply>
@@ -1,76 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <TrackReply xmlns="http://fedex.com/ws/track/v3" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
3
- <HighestSeverity>SUCCESS</HighestSeverity>
4
- <Notifications>
5
- <Severity>SUCCESS</Severity>
6
- <Source>trck</Source>
7
- <Code>0</Code>
8
- <Message>Request was successfully processed.</Message>
9
- <LocalizedMessage>Request was successfully processed.</LocalizedMessage>
10
- </Notifications>
11
- <TransactionDetail>
12
- <CustomerTransactionId>ActiveShipping</CustomerTransactionId>
13
- </TransactionDetail>
14
- <Version>
15
- <ServiceId>trck</ServiceId>
16
- <Major>3</Major>
17
- <Intermediate>0</Intermediate>
18
- <Minor>0</Minor>
19
- </Version>
20
- <DuplicateWaybill>false</DuplicateWaybill>
21
- <MoreData>false</MoreData>
22
- <TrackDetails>
23
- <Notification>
24
- <Severity>SUCCESS</Severity>
25
- <Source>trck</Source>
26
- <Code>0</Code>
27
- <Message>Request was successfully processed.</Message>
28
- <LocalizedMessage>Request was successfully processed.</LocalizedMessage>
29
- </Notification>
30
- <TrackingNumber>805573019619</TrackingNumber>
31
- <TrackingNumberUniqueIdentifier>2456790000~805573019619~FX</TrackingNumberUniqueIdentifier>
32
- <StatusCode>IT</StatusCode>
33
- <StatusDescription>In transit</StatusDescription>
34
- <CarrierCode>FDXE</CarrierCode>
35
- <ServiceInfo>FedEx 2Day A.M</ServiceInfo>
36
- <Packaging>Your Packaging</Packaging>
37
- <PackagingType>YOUR_PACKAGING</PackagingType>
38
- <PackageSequenceNumber>0</PackageSequenceNumber>
39
- <PackageCount>1</PackageCount>
40
- <ShipTimestamp>2014-05-12T09:54:00-07:00</ShipTimestamp>
41
- <DestinationAddress>
42
- <Residential>false</Residential>
43
- </DestinationAddress>
44
- <EstimatedDeliveryTimestamp>2014-05-14T10:30:00-05:00</EstimatedDeliveryTimestamp>
45
- <SignatureProofOfDeliveryAvailable>false</SignatureProofOfDeliveryAvailable>
46
- <ProofOfDeliveryNotificationsAvailable>true</ProofOfDeliveryNotificationsAvailable>
47
- <ExceptionNotificationsAvailable>true</ExceptionNotificationsAvailable>
48
- <Events>
49
- <Timestamp>2014-05-12T19:31:00-07:00</Timestamp>
50
- <EventType>DP</EventType>
51
- <EventDescription>Left FedEx origin facility</EventDescription>
52
- <Address>
53
- <City>LOS ANGELES</City>
54
- <StateOrProvinceCode>CA</StateOrProvinceCode>
55
- <PostalCode>90065</PostalCode>
56
- <CountryCode>US</CountryCode>
57
- <Residential>false</Residential>
58
- </Address>
59
- </Events>
60
- <Events>
61
- <Timestamp>2014-05-12T09:54:00-07:00</Timestamp>
62
- <EventType>PU</EventType>
63
- <EventDescription>Picked up</EventDescription>
64
- <StatusExceptionCode>A3</StatusExceptionCode>
65
- <StatusExceptionDescription>Tendered at FedEx Office</StatusExceptionDescription>
66
- <Address>
67
- <City>LOS ANGELES</City>
68
- <StateOrProvinceCode>CA</StateOrProvinceCode>
69
- <PostalCode>90028</PostalCode>
70
- <CountryCode>US</CountryCode>
71
- <Residential>false</Residential>
72
- </Address>
73
- </Events>
74
- </TrackDetails>
75
- </TrackReply>
76
-
@@ -1,139 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <v3:TrackReply xmlns:v3="http://fedex.com/ws/track/v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
3
- <v3:HighestSeverity>SUCCESS</v3:HighestSeverity>
4
- <v3:Notifications>
5
- <v3:Severity>SUCCESS</v3:Severity>
6
- <v3:Source>trck</v3:Source>
7
- <v3:Code>0</v3:Code>
8
- <v3:Message>Request was successfully processed.</v3:Message>
9
- <v3:LocalizedMessage>Request was successfully processed.</v3:LocalizedMessage>
10
- </v3:Notifications>
11
- <v3:TransactionDetail>
12
- <v3:CustomerTransactionId>ActiveShipping</v3:CustomerTransactionId>
13
- </v3:TransactionDetail>
14
- <v3:Version>
15
- <v3:ServiceId>trck</v3:ServiceId>
16
- <v3:Major>3</v3:Major>
17
- <v3:Intermediate>0</v3:Intermediate>
18
- <v3:Minor>0</v3:Minor>
19
- </v3:Version>
20
- <v3:DuplicateWaybill>false</v3:DuplicateWaybill>
21
- <v3:MoreData>false</v3:MoreData>
22
- <v3:TrackDetails>
23
- <v3:TrackingNumber>077973360403984</v3:TrackingNumber>
24
- <v3:TrackingNumberUniqueIdentifier>120081203121125584000~077973360403984</v3:TrackingNumberUniqueIdentifier>
25
- <v3:StatusCode>DL</v3:StatusCode>
26
- <v3:StatusDescription>Delivered</v3:StatusDescription>
27
- <v3:CarrierCode>FDXG</v3:CarrierCode>
28
- <v3:OtherIdentifiers>
29
- <v3:Value>355200</v3:Value>
30
- <v3:Type>CUSTOMER_REFERENCE</v3:Type>
31
- </v3:OtherIdentifiers>
32
- <v3:OtherIdentifiers>
33
- <v3:Value>355200</v3:Value>
34
- <v3:Type>INVOICE</v3:Type>
35
- </v3:OtherIdentifiers>
36
- <v3:ServiceInfo>Ground-Domestic</v3:ServiceInfo>
37
- <v3:ServiceType>FEDEX_GROUND</v3:ServiceType>
38
- <v3:PackageWeight>
39
- <v3:Units>LB</v3:Units>
40
- <v3:Value>10.0</v3:Value>
41
- </v3:PackageWeight>
42
- <v3:Packaging>Package</v3:Packaging>
43
- <v3:PackageSequenceNumber>1</v3:PackageSequenceNumber>
44
- <v3:PackageCount>1</v3:PackageCount>
45
- <v3:OriginLocationAddress>
46
- <v3:City>NASHVILLE</v3:City>
47
- <v3:StateOrProvinceCode>TN</v3:StateOrProvinceCode>
48
- <v3:CountryCode>US</v3:CountryCode>
49
- <v3:Residential>false</v3:Residential>
50
- </v3:OriginLocationAddress>
51
- <v3:ShipTimestamp>2008-12-03T00:00:00</v3:ShipTimestamp>
52
- <v3:ActualDeliveryTimestamp>2008-12-08T07:43:37-08:00</v3:ActualDeliveryTimestamp>
53
- <v3:DeliveryLocationType>OTHER</v3:DeliveryLocationType>
54
- <v3:DeliverySignatureName>KKING</v3:DeliverySignatureName>
55
- <v3:SignatureProofOfDeliveryAvailable>true</v3:SignatureProofOfDeliveryAvailable>
56
- <v3:ProofOfDeliveryNotificationsAvailable>false</v3:ProofOfDeliveryNotificationsAvailable>
57
- <v3:ExceptionNotificationsAvailable>false</v3:ExceptionNotificationsAvailable>
58
- <v3:Events>
59
- <v3:Timestamp>2008-12-08T07:43:37-08:00</v3:Timestamp>
60
- <v3:EventType>DL</v3:EventType>
61
- <v3:EventDescription>Delivered</v3:EventDescription>
62
- <v3:Address>
63
- <v3:City>Sacramento</v3:City>
64
- <v3:StateOrProvinceCode>CA</v3:StateOrProvinceCode>
65
- <v3:PostalCode>95817</v3:PostalCode>
66
- <v3:CountryCode>US</v3:CountryCode>
67
- <v3:Residential>false</v3:Residential>
68
- </v3:Address>
69
- </v3:Events>
70
- <v3:Events>
71
- <v3:Timestamp>2008-12-08T05:00:00-08:00</v3:Timestamp>
72
- <v3:EventType>OD</v3:EventType>
73
- <v3:EventDescription>On FedEx vehicle for delivery</v3:EventDescription>
74
- <v3:Address>
75
- <v3:City>SACRAMENTO</v3:City>
76
- <v3:StateOrProvinceCode>CA</v3:StateOrProvinceCode>
77
- <v3:PostalCode>95824</v3:PostalCode>
78
- <v3:CountryCode>US</v3:CountryCode>
79
- <v3:Residential>false</v3:Residential>
80
- </v3:Address>
81
- </v3:Events>
82
- <v3:Events>
83
- <v3:Timestamp>2008-12-07T10:48:00-08:00</v3:Timestamp>
84
- <v3:EventType>AR</v3:EventType>
85
- <v3:EventDescription>Arrived at FedEx location</v3:EventDescription>
86
- <v3:Address>
87
- <v3:City>SACRAMENTO</v3:City>
88
- <v3:StateOrProvinceCode>CA</v3:StateOrProvinceCode>
89
- <v3:PostalCode>95824</v3:PostalCode>
90
- <v3:CountryCode>US</v3:CountryCode>
91
- <v3:Residential>false</v3:Residential>
92
- </v3:Address>
93
- </v3:Events>
94
- <v3:Events>
95
- <v3:Timestamp>2008-12-04T05:58:46-06:00</v3:Timestamp>
96
- <v3:EventType>DP</v3:EventType>
97
- <v3:EventDescription>Departed FedEx location</v3:EventDescription>
98
- <v3:Address>
99
- <v3:City>NASHVILLE</v3:City>
100
- <v3:StateOrProvinceCode>TN</v3:StateOrProvinceCode>
101
- <v3:PostalCode>37207</v3:PostalCode>
102
- <v3:CountryCode>US</v3:CountryCode>
103
- <v3:Residential>false</v3:Residential>
104
- </v3:Address>
105
- </v3:Events>
106
- <v3:Events>
107
- <v3:Timestamp>2008-12-03T18:22:00-06:00</v3:Timestamp>
108
- <v3:EventType>AR</v3:EventType>
109
- <v3:EventDescription>Arrived at FedEx location</v3:EventDescription>
110
- <v3:Address>
111
- <v3:City>NASHVILLE</v3:City>
112
- <v3:StateOrProvinceCode>TN</v3:StateOrProvinceCode>
113
- <v3:PostalCode>37207</v3:PostalCode>
114
- <v3:CountryCode>US</v3:CountryCode>
115
- <v3:Residential>false</v3:Residential>
116
- </v3:Address>
117
- </v3:Events>
118
- <v3:Events>
119
- <v3:Timestamp>2008-12-03T17:22:00-06:00</v3:Timestamp>
120
- <v3:EventType>PU</v3:EventType>
121
- <v3:EventDescription>Picked up</v3:EventDescription>
122
- <v3:Address>
123
- <v3:City>NASHVILLE</v3:City>
124
- <v3:StateOrProvinceCode>TN</v3:StateOrProvinceCode>
125
- <v3:PostalCode>37207</v3:PostalCode>
126
- <v3:CountryCode>US</v3:CountryCode>
127
- <v3:Residential>false</v3:Residential>
128
- </v3:Address>
129
- </v3:Events>
130
- <v3:Events>
131
- <v3:Timestamp>2008-12-03T12:10:00-06:00</v3:Timestamp>
132
- <v3:EventType>OC</v3:EventType>
133
- <v3:EventDescription>Shipment information sent to FedEx</v3:EventDescription>
134
- <v3:Address>
135
- <v3:Residential>false</v3:Residential>
136
- </v3:Address>
137
- </v3:Events>
138
- </v3:TrackDetails>
139
- </v3:TrackReply>
@@ -1,150 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <v3:TrackReply xmlns:v3="http://fedex.com/ws/track/v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
3
- <v3:HighestSeverity>SUCCESS</v3:HighestSeverity>
4
- <v3:Notifications>
5
- <v3:Severity>SUCCESS</v3:Severity>
6
- <v3:Source>trck</v3:Source>
7
- <v3:Code>0</v3:Code>
8
- <v3:Message>Request was successfully processed.</v3:Message>
9
- <v3:LocalizedMessage>Request was successfully processed.</v3:LocalizedMessage>
10
- </v3:Notifications>
11
- <v3:TransactionDetail>
12
- <v3:CustomerTransactionId>ActiveShipping</v3:CustomerTransactionId>
13
- </v3:TransactionDetail>
14
- <v3:Version>
15
- <v3:ServiceId>trck</v3:ServiceId>
16
- <v3:Major>3</v3:Major>
17
- <v3:Intermediate>0</v3:Intermediate>
18
- <v3:Minor>0</v3:Minor>
19
- </v3:Version>
20
- <v3:DuplicateWaybill>false</v3:DuplicateWaybill>
21
- <v3:MoreData>false</v3:MoreData>
22
- <v3:TrackDetails>
23
- <v3:TrackingNumber>077973360403984</v3:TrackingNumber>
24
- <v3:TrackingNumberUniqueIdentifier>120081203121125584000~077973360403984</v3:TrackingNumberUniqueIdentifier>
25
- <v3:StatusCode>DL</v3:StatusCode>
26
- <v3:StatusDescription>Delivered</v3:StatusDescription>
27
- <v3:CarrierCode>FDXG</v3:CarrierCode>
28
- <v3:OtherIdentifiers>
29
- <v3:Value>355200</v3:Value>
30
- <v3:Type>CUSTOMER_REFERENCE</v3:Type>
31
- </v3:OtherIdentifiers>
32
- <v3:OtherIdentifiers>
33
- <v3:Value>355200</v3:Value>
34
- <v3:Type>INVOICE</v3:Type>
35
- </v3:OtherIdentifiers>
36
- <v3:ServiceInfo>Ground-Domestic</v3:ServiceInfo>
37
- <v3:ServiceType>FEDEX_GROUND</v3:ServiceType>
38
- <v3:PackageWeight>
39
- <v3:Units>LB</v3:Units>
40
- <v3:Value>10.0</v3:Value>
41
- </v3:PackageWeight>
42
- <v3:Packaging>Package</v3:Packaging>
43
- <v3:PackageSequenceNumber>1</v3:PackageSequenceNumber>
44
- <v3:PackageCount>1</v3:PackageCount>
45
- <v3:OriginLocationAddress>
46
- <v3:City>NASHVILLE</v3:City>
47
- <v3:StateOrProvinceCode>TN</v3:StateOrProvinceCode>
48
- <v3:CountryCode>US</v3:CountryCode>
49
- <v3:Residential>false</v3:Residential>
50
- </v3:OriginLocationAddress>
51
- <v3:DestinationAddress>
52
- <v3:City>Sacramento</v3:City>
53
- <v3:StateOrProvinceCode>CA</v3:StateOrProvinceCode>
54
- <v3:CountryCode>US</v3:CountryCode>
55
- <v3:Residential>false</v3:Residential>
56
- </v3:DestinationAddress>
57
- <v3:ActualDeliveryTimestamp>2008-12-08T07:43:37-08:00</v3:ActualDeliveryTimestamp>
58
- <v3:ActualDeliveryAddress>
59
- <v3:City>Sacramento</v3:City>
60
- <v3:StateOrProvinceCode>CA</v3:StateOrProvinceCode>
61
- <v3:CountryCode>US</v3:CountryCode>
62
- <v3:Residential>false</v3:Residential>
63
- </v3:ActualDeliveryAddress>
64
- <v3:DeliveryLocationType>OTHER</v3:DeliveryLocationType>
65
- <v3:DeliverySignatureName>KKING</v3:DeliverySignatureName>
66
- <v3:SignatureProofOfDeliveryAvailable>true</v3:SignatureProofOfDeliveryAvailable>
67
- <v3:ProofOfDeliveryNotificationsAvailable>false</v3:ProofOfDeliveryNotificationsAvailable>
68
- <v3:ExceptionNotificationsAvailable>false</v3:ExceptionNotificationsAvailable>
69
- <v3:Events>
70
- <v3:Timestamp>2008-12-08T07:43:37-08:00</v3:Timestamp>
71
- <v3:EventType>DL</v3:EventType>
72
- <v3:EventDescription>Delivered</v3:EventDescription>
73
- <v3:Address>
74
- <v3:City>Sacramento</v3:City>
75
- <v3:StateOrProvinceCode>CA</v3:StateOrProvinceCode>
76
- <v3:PostalCode>95817</v3:PostalCode>
77
- <v3:CountryCode>US</v3:CountryCode>
78
- <v3:Residential>false</v3:Residential>
79
- </v3:Address>
80
- </v3:Events>
81
- <v3:Events>
82
- <v3:Timestamp>2008-12-08T05:00:00-08:00</v3:Timestamp>
83
- <v3:EventType>OD</v3:EventType>
84
- <v3:EventDescription>On FedEx vehicle for delivery</v3:EventDescription>
85
- <v3:Address>
86
- <v3:City>SACRAMENTO</v3:City>
87
- <v3:StateOrProvinceCode>CA</v3:StateOrProvinceCode>
88
- <v3:PostalCode>95824</v3:PostalCode>
89
- <v3:CountryCode>US</v3:CountryCode>
90
- <v3:Residential>false</v3:Residential>
91
- </v3:Address>
92
- </v3:Events>
93
- <v3:Events>
94
- <v3:Timestamp>2008-12-07T10:48:00-08:00</v3:Timestamp>
95
- <v3:EventType>AR</v3:EventType>
96
- <v3:EventDescription>Arrived at FedEx location</v3:EventDescription>
97
- <v3:Address>
98
- <v3:City>SACRAMENTO</v3:City>
99
- <v3:StateOrProvinceCode>CA</v3:StateOrProvinceCode>
100
- <v3:PostalCode>95824</v3:PostalCode>
101
- <v3:CountryCode>US</v3:CountryCode>
102
- <v3:Residential>false</v3:Residential>
103
- </v3:Address>
104
- </v3:Events>
105
- <v3:Events>
106
- <v3:Timestamp>2008-12-04T05:58:46-06:00</v3:Timestamp>
107
- <v3:EventType>DP</v3:EventType>
108
- <v3:EventDescription>Departed FedEx location</v3:EventDescription>
109
- <v3:Address>
110
- <v3:City>NASHVILLE</v3:City>
111
- <v3:StateOrProvinceCode>TN</v3:StateOrProvinceCode>
112
- <v3:PostalCode>37207</v3:PostalCode>
113
- <v3:CountryCode>US</v3:CountryCode>
114
- <v3:Residential>false</v3:Residential>
115
- </v3:Address>
116
- </v3:Events>
117
- <v3:Events>
118
- <v3:Timestamp>2008-12-03T18:22:00-06:00</v3:Timestamp>
119
- <v3:EventType>AR</v3:EventType>
120
- <v3:EventDescription>Arrived at FedEx location</v3:EventDescription>
121
- <v3:Address>
122
- <v3:City>NASHVILLE</v3:City>
123
- <v3:StateOrProvinceCode>TN</v3:StateOrProvinceCode>
124
- <v3:PostalCode>37207</v3:PostalCode>
125
- <v3:CountryCode>US</v3:CountryCode>
126
- <v3:Residential>false</v3:Residential>
127
- </v3:Address>
128
- </v3:Events>
129
- <v3:Events>
130
- <v3:Timestamp>2008-12-03T17:22:00-06:00</v3:Timestamp>
131
- <v3:EventType>PU</v3:EventType>
132
- <v3:EventDescription>Picked up</v3:EventDescription>
133
- <v3:Address>
134
- <v3:City>NASHVILLE</v3:City>
135
- <v3:StateOrProvinceCode>TN</v3:StateOrProvinceCode>
136
- <v3:PostalCode>37207</v3:PostalCode>
137
- <v3:CountryCode>US</v3:CountryCode>
138
- <v3:Residential>false</v3:Residential>
139
- </v3:Address>
140
- </v3:Events>
141
- <v3:Events>
142
- <v3:Timestamp>2008-12-03T12:10:00-06:00</v3:Timestamp>
143
- <v3:EventType>OC</v3:EventType>
144
- <v3:EventDescription>Shipment information sent to FedEx</v3:EventDescription>
145
- <v3:Address>
146
- <v3:Residential>false</v3:Residential>
147
- </v3:Address>
148
- </v3:Events>
149
- </v3:TrackDetails>
150
- </v3:TrackReply>