fex 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +19 -0
- data/.rspec +2 -0
- data/Gemfile +4 -0
- data/MIT-LICENSE.txt +22 -0
- data/README.md +161 -0
- data/Rakefile +1 -0
- data/fex.gemspec +23 -0
- data/lib/fex.rb +10 -0
- data/lib/fex/client.rb +26 -0
- data/lib/fex/response.rb +28 -0
- data/lib/fex/service.rb +57 -0
- data/lib/fex/service_factory.rb +69 -0
- data/lib/fex/services.yml +23 -0
- data/lib/fex/ship_response.rb +11 -0
- data/lib/fex/version.rb +3 -0
- data/lib/fex/wsdl.rb +14 -0
- data/spec/integration/address_validation_spec.rb +30 -0
- data/spec/integration/rate_spec.rb +67 -0
- data/spec/integration/ship_spec.rb +88 -0
- data/spec/spec_helper.rb +26 -0
- data/spec/support/credentials.rb +27 -0
- data/spec/support/logger_helper.rb +15 -0
- data/spec/unit/service_spec.rb +22 -0
- data/spec/unit/wsdl_spec.rb +19 -0
- data/wsdl/address_validation.wsdl +603 -0
- data/wsdl/close.wsdl +833 -0
- data/wsdl/global_ship_address.wsdl +748 -0
- data/wsdl/open_ship.wsdl +5651 -0
- data/wsdl/package_movement_information.wsdl +545 -0
- data/wsdl/pickup.wsdl +2761 -0
- data/wsdl/rate.wsdl +4730 -0
- data/wsdl/return_tag.wsdl +421 -0
- data/wsdl/ship.wsdl +6097 -0
- data/wsdl/track.wsdl +1516 -0
- data/wsdl/upload_document.wsdl +537 -0
- metadata +136 -0
@@ -0,0 +1,545 @@
|
|
1
|
+
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:ns="http://fedex.com/ws/packagemovementinformationservice/v5" xmlns:s1="http://schemas.xmlsoap.org/wsdl/soap/" targetNamespace="http://fedex.com/ws/packagemovementinformationservice/v5" name="PackageMovementInformationServiceDefinitions">
|
2
|
+
<types>
|
3
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://fedex.com/ws/packagemovementinformationservice/v5">
|
4
|
+
<xs:element name="PostalCodeInquiryReply" type="ns:PostalCodeInquiryReply"/>
|
5
|
+
<xs:element name="PostalCodeInquiryRequest" type="ns:PostalCodeInquiryRequest"/>
|
6
|
+
<xs:element name="ServiceAvailabilityReply" type="ns:ServiceAvailabilityReply"/>
|
7
|
+
<xs:element name="ServiceAvailabilityRequest" type="ns:ServiceAvailabilityRequest"/>
|
8
|
+
<xs:complexType name="Address">
|
9
|
+
<xs:annotation>
|
10
|
+
<xs:documentation>Descriptive data for a physical location. May be used as an actual physical address (place to which one could go), or as a container of "address parts" which should be handled as a unit (such as a city-state-ZIP combination within the US).</xs:documentation>
|
11
|
+
</xs:annotation>
|
12
|
+
<xs:sequence>
|
13
|
+
<xs:element name="PostalCode" type="xs:string" minOccurs="0">
|
14
|
+
<xs:annotation>
|
15
|
+
<xs:documentation>Identification of a region (usually small) for mail/package delivery. Format and presence of this field will vary, depending on country.</xs:documentation>
|
16
|
+
</xs:annotation>
|
17
|
+
</xs:element>
|
18
|
+
<xs:element name="CountryCode" type="xs:string" minOccurs="1">
|
19
|
+
<xs:annotation>
|
20
|
+
<xs:documentation>The two-letter code used to identify a country.</xs:documentation>
|
21
|
+
</xs:annotation>
|
22
|
+
</xs:element>
|
23
|
+
</xs:sequence>
|
24
|
+
</xs:complexType>
|
25
|
+
<xs:simpleType name="CarrierCodeType">
|
26
|
+
<xs:annotation>
|
27
|
+
<xs:documentation>Identification of a FedEx operating company (transportation).</xs:documentation>
|
28
|
+
</xs:annotation>
|
29
|
+
<xs:restriction base="xs:string">
|
30
|
+
<xs:enumeration value="FDXE"/>
|
31
|
+
<xs:enumeration value="FDXG"/>
|
32
|
+
</xs:restriction>
|
33
|
+
</xs:simpleType>
|
34
|
+
<xs:complexType name="ClientDetail">
|
35
|
+
<xs:annotation>
|
36
|
+
<xs:documentation>Descriptive data for the client submitting a transaction.</xs:documentation>
|
37
|
+
</xs:annotation>
|
38
|
+
<xs:sequence>
|
39
|
+
<xs:element name="AccountNumber" type="xs:string" minOccurs="1">
|
40
|
+
<xs:annotation>
|
41
|
+
<xs:documentation>The FedEx account number associated with this transaction.</xs:documentation>
|
42
|
+
</xs:annotation>
|
43
|
+
</xs:element>
|
44
|
+
<xs:element name="MeterNumber" type="xs:string" minOccurs="1">
|
45
|
+
<xs:annotation>
|
46
|
+
<xs:documentation>This number is assigned by FedEx and identifies the unique device from which the request is originating</xs:documentation>
|
47
|
+
</xs:annotation>
|
48
|
+
</xs:element>
|
49
|
+
<xs:element name="Localization" type="ns:Localization" minOccurs="0">
|
50
|
+
<xs:annotation>
|
51
|
+
<xs:documentation>The language to be used for human-readable Notification.localizedMessages in responses to the request containing this ClientDetail object. Different requests from the same client may contain different Localization data. (Contrast with TransactionDetail.localization, which governs data payload language/translation.)</xs:documentation>
|
52
|
+
</xs:annotation>
|
53
|
+
</xs:element>
|
54
|
+
</xs:sequence>
|
55
|
+
</xs:complexType>
|
56
|
+
<xs:simpleType name="DayOfWeekType">
|
57
|
+
<xs:annotation>
|
58
|
+
<xs:documentation>Identifies the set of valid day of week abbreviated values.</xs:documentation>
|
59
|
+
</xs:annotation>
|
60
|
+
<xs:restriction base="xs:string">
|
61
|
+
<xs:enumeration value="FRI"/>
|
62
|
+
<xs:enumeration value="MON"/>
|
63
|
+
<xs:enumeration value="SAT"/>
|
64
|
+
<xs:enumeration value="SUN"/>
|
65
|
+
<xs:enumeration value="THU"/>
|
66
|
+
<xs:enumeration value="TUE"/>
|
67
|
+
<xs:enumeration value="WED"/>
|
68
|
+
</xs:restriction>
|
69
|
+
</xs:simpleType>
|
70
|
+
<xs:complexType name="Localization">
|
71
|
+
<xs:annotation>
|
72
|
+
<xs:documentation>Identifies the representation of human-readable text.</xs:documentation>
|
73
|
+
</xs:annotation>
|
74
|
+
<xs:sequence>
|
75
|
+
<xs:element name="LanguageCode" type="xs:string" minOccurs="1">
|
76
|
+
<xs:annotation>
|
77
|
+
<xs:documentation>Two-letter code for language (e.g. EN, FR, etc.)</xs:documentation>
|
78
|
+
</xs:annotation>
|
79
|
+
</xs:element>
|
80
|
+
<xs:element name="LocaleCode" type="xs:string" minOccurs="0">
|
81
|
+
<xs:annotation>
|
82
|
+
<xs:documentation>Two-letter code for the region (e.g. us, ca, etc..).</xs:documentation>
|
83
|
+
</xs:annotation>
|
84
|
+
</xs:element>
|
85
|
+
</xs:sequence>
|
86
|
+
</xs:complexType>
|
87
|
+
<xs:complexType name="Notification">
|
88
|
+
<xs:annotation>
|
89
|
+
<xs:documentation>The descriptive data regarding the result of the submitted transaction.</xs:documentation>
|
90
|
+
</xs:annotation>
|
91
|
+
<xs:sequence>
|
92
|
+
<xs:element name="Severity" type="ns:NotificationSeverityType" minOccurs="1">
|
93
|
+
<xs:annotation>
|
94
|
+
<xs:documentation>The severity of this notification. This can indicate success or failure or some other information about the request. The values that can be returned are SUCCESS - Your transaction succeeded with no other applicable information. NOTE - Additional information that may be of interest to you about your transaction. WARNING - Additional information that you need to know about your transaction that you may need to take action on. ERROR - Information about an error that occurred while processing your transaction. FAILURE - FedEx was unable to process your transaction at this time due to a system failure. Please try again later</xs:documentation>
|
95
|
+
</xs:annotation>
|
96
|
+
</xs:element>
|
97
|
+
<xs:element name="Source" type="xs:string" minOccurs="1">
|
98
|
+
<xs:annotation>
|
99
|
+
<xs:documentation>Indicates the source of this notification. Combined with the Code it uniquely identifies this notification</xs:documentation>
|
100
|
+
</xs:annotation>
|
101
|
+
</xs:element>
|
102
|
+
<xs:element name="Code" type="xs:string" minOccurs="0">
|
103
|
+
<xs:annotation>
|
104
|
+
<xs:documentation>A code that represents this notification. Combined with the Source it uniquely identifies this notification.</xs:documentation>
|
105
|
+
</xs:annotation>
|
106
|
+
</xs:element>
|
107
|
+
<xs:element name="Message" type="xs:string" minOccurs="0">
|
108
|
+
<xs:annotation>
|
109
|
+
<xs:documentation>Human-readable text that explains this notification.</xs:documentation>
|
110
|
+
</xs:annotation>
|
111
|
+
</xs:element>
|
112
|
+
<xs:element name="LocalizedMessage" type="xs:string" minOccurs="0">
|
113
|
+
<xs:annotation>
|
114
|
+
<xs:documentation>The translated message. The language and locale specified in the ClientDetail. Localization are used to determine the representation. Currently only supported in a TrackReply.</xs:documentation>
|
115
|
+
</xs:annotation>
|
116
|
+
</xs:element>
|
117
|
+
<xs:element name="MessageParameters" type="ns:NotificationParameter" minOccurs="0" maxOccurs="unbounded">
|
118
|
+
<xs:annotation>
|
119
|
+
<xs:documentation>A collection of name/value pairs that provide specific data to help the client determine the nature of an error (or warning, etc.) witout having to parse the message string.</xs:documentation>
|
120
|
+
</xs:annotation>
|
121
|
+
</xs:element>
|
122
|
+
</xs:sequence>
|
123
|
+
</xs:complexType>
|
124
|
+
<xs:complexType name="NotificationParameter">
|
125
|
+
<xs:sequence>
|
126
|
+
<xs:element name="Id" type="xs:string" minOccurs="0">
|
127
|
+
<xs:annotation>
|
128
|
+
<xs:documentation>Identifies the type of data contained in Value (e.g. SERVICE_TYPE, PACKAGE_SEQUENCE, etc..).</xs:documentation>
|
129
|
+
</xs:annotation>
|
130
|
+
</xs:element>
|
131
|
+
<xs:element name="Value" type="xs:string" minOccurs="0">
|
132
|
+
<xs:annotation>
|
133
|
+
<xs:documentation>The value of the parameter (e.g. PRIORITY_OVERNIGHT, 2, etc..).</xs:documentation>
|
134
|
+
</xs:annotation>
|
135
|
+
</xs:element>
|
136
|
+
</xs:sequence>
|
137
|
+
</xs:complexType>
|
138
|
+
<xs:simpleType name="NotificationSeverityType">
|
139
|
+
<xs:annotation>
|
140
|
+
<xs:documentation>Identifies the set of severity values for a Notification.</xs:documentation>
|
141
|
+
</xs:annotation>
|
142
|
+
<xs:restriction base="xs:string">
|
143
|
+
<xs:enumeration value="ERROR"/>
|
144
|
+
<xs:enumeration value="FAILURE"/>
|
145
|
+
<xs:enumeration value="NOTE"/>
|
146
|
+
<xs:enumeration value="SUCCESS"/>
|
147
|
+
<xs:enumeration value="WARNING"/>
|
148
|
+
</xs:restriction>
|
149
|
+
</xs:simpleType>
|
150
|
+
<xs:simpleType name="PackagingType">
|
151
|
+
<xs:annotation>
|
152
|
+
<xs:documentation>Identifies the collection of available FedEx packaging options.</xs:documentation>
|
153
|
+
</xs:annotation>
|
154
|
+
<xs:restriction base="xs:string">
|
155
|
+
<xs:enumeration value="FEDEX_10KG_BOX"/>
|
156
|
+
<xs:enumeration value="FEDEX_25KG_BOX"/>
|
157
|
+
<xs:enumeration value="FEDEX_BOX"/>
|
158
|
+
<xs:enumeration value="FEDEX_ENVELOPE"/>
|
159
|
+
<xs:enumeration value="FEDEX_PAK"/>
|
160
|
+
<xs:enumeration value="FEDEX_TUBE"/>
|
161
|
+
<xs:enumeration value="YOUR_PACKAGING"/>
|
162
|
+
</xs:restriction>
|
163
|
+
</xs:simpleType>
|
164
|
+
<xs:complexType name="PostalCodeInquiryReply">
|
165
|
+
<xs:annotation>
|
166
|
+
<xs:documentation>FedEx Postal Code Inquiry reply.</xs:documentation>
|
167
|
+
</xs:annotation>
|
168
|
+
<xs:sequence>
|
169
|
+
<xs:element name="HighestSeverity" type="ns:NotificationSeverityType" minOccurs="1">
|
170
|
+
<xs:annotation>
|
171
|
+
<xs:documentation>Identifies the highest severity encountered when executing the request; in order from high to low: FAILURE, ERROR, WARNING, NOTE, SUCCESS.</xs:documentation>
|
172
|
+
</xs:annotation>
|
173
|
+
</xs:element>
|
174
|
+
<xs:element name="Notifications" type="ns:Notification" minOccurs="1" maxOccurs="unbounded">
|
175
|
+
<xs:annotation>
|
176
|
+
<xs:documentation>The descriptive data detailing the status of a sumbitted transaction.</xs:documentation>
|
177
|
+
</xs:annotation>
|
178
|
+
</xs:element>
|
179
|
+
<xs:element name="TransactionDetail" type="ns:TransactionDetail" minOccurs="0">
|
180
|
+
<xs:annotation>
|
181
|
+
<xs:documentation>Descriptive data that governs data payload language/translations. The TransactionDetail from the request is echoed back to the caller in the corresponding reply.</xs:documentation>
|
182
|
+
</xs:annotation>
|
183
|
+
</xs:element>
|
184
|
+
<xs:element name="Version" type="ns:VersionId" minOccurs="1">
|
185
|
+
<xs:annotation>
|
186
|
+
<xs:documentation>Identifies the version/level of a service operation expected by a caller (in each request) and performed by the callee (in each reply).</xs:documentation>
|
187
|
+
</xs:annotation>
|
188
|
+
</xs:element>
|
189
|
+
<xs:element name="ExpressFreightContractorDeliveryArea" type="xs:boolean" minOccurs="0">
|
190
|
+
<xs:annotation>
|
191
|
+
<xs:documentation>Flag identifying whether Express Freight Contractor Delivery Area.</xs:documentation>
|
192
|
+
</xs:annotation>
|
193
|
+
</xs:element>
|
194
|
+
<xs:element name="ExpressDescription" type="ns:PostalCodeServiceAreaDescription" minOccurs="0">
|
195
|
+
<xs:annotation>
|
196
|
+
<xs:documentation>Postal code service area description for Express.</xs:documentation>
|
197
|
+
</xs:annotation>
|
198
|
+
</xs:element>
|
199
|
+
<xs:element name="ExpressFreightDescription" type="ns:PostalCodeServiceAreaDescription" minOccurs="0">
|
200
|
+
<xs:annotation>
|
201
|
+
<xs:documentation>Only service area field is currently provided for Express Freight.</xs:documentation>
|
202
|
+
</xs:annotation>
|
203
|
+
</xs:element>
|
204
|
+
</xs:sequence>
|
205
|
+
</xs:complexType>
|
206
|
+
<xs:complexType name="PostalCodeInquiryRequest">
|
207
|
+
<xs:annotation>
|
208
|
+
<xs:documentation>FedEx Postal Code Inquiry request.</xs:documentation>
|
209
|
+
</xs:annotation>
|
210
|
+
<xs:sequence>
|
211
|
+
<xs:element name="WebAuthenticationDetail" type="ns:WebAuthenticationDetail" minOccurs="1">
|
212
|
+
<xs:annotation>
|
213
|
+
<xs:documentation>Descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services).</xs:documentation>
|
214
|
+
</xs:annotation>
|
215
|
+
</xs:element>
|
216
|
+
<xs:element name="ClientDetail" type="ns:ClientDetail" minOccurs="1">
|
217
|
+
<xs:annotation>
|
218
|
+
<xs:documentation>The descriptive data identifying the client submitting the transaction.</xs:documentation>
|
219
|
+
</xs:annotation>
|
220
|
+
</xs:element>
|
221
|
+
<xs:element name="TransactionDetail" type="ns:TransactionDetail" minOccurs="0">
|
222
|
+
<xs:annotation>
|
223
|
+
<xs:documentation>The descriptive data for this customer transaction. The TransactionDetail from the request is echoed back to the caller in the corresponding reply.</xs:documentation>
|
224
|
+
</xs:annotation>
|
225
|
+
</xs:element>
|
226
|
+
<xs:element name="Version" type="ns:VersionId" minOccurs="1">
|
227
|
+
<xs:annotation>
|
228
|
+
<xs:documentation>Identifies the version/level of a service operation expected by a caller (in each request) and performed by the callee (in each reply).</xs:documentation>
|
229
|
+
</xs:annotation>
|
230
|
+
</xs:element>
|
231
|
+
<xs:element name="PostalCode" type="xs:string" minOccurs="0">
|
232
|
+
<xs:annotation>
|
233
|
+
<xs:documentation>Only used with postal-aware countries.</xs:documentation>
|
234
|
+
</xs:annotation>
|
235
|
+
</xs:element>
|
236
|
+
<xs:element name="CountryCode" type="xs:string" minOccurs="1">
|
237
|
+
<xs:annotation>
|
238
|
+
<xs:documentation>Identifies the country code.</xs:documentation>
|
239
|
+
</xs:annotation>
|
240
|
+
</xs:element>
|
241
|
+
</xs:sequence>
|
242
|
+
</xs:complexType>
|
243
|
+
<xs:complexType name="PostalCodeServiceAreaDescription">
|
244
|
+
<xs:annotation>
|
245
|
+
<xs:documentation>Postal Code Service Area description.</xs:documentation>
|
246
|
+
</xs:annotation>
|
247
|
+
<xs:sequence>
|
248
|
+
<xs:element name="LocationId" type="xs:string" minOccurs="0">
|
249
|
+
<xs:annotation>
|
250
|
+
<xs:documentation>Location ID</xs:documentation>
|
251
|
+
</xs:annotation>
|
252
|
+
</xs:element>
|
253
|
+
<xs:element name="StateOrProvinceCode" type="xs:string" minOccurs="0">
|
254
|
+
<xs:annotation>
|
255
|
+
<xs:documentation>State or Province code</xs:documentation>
|
256
|
+
</xs:annotation>
|
257
|
+
</xs:element>
|
258
|
+
<xs:element name="PostalCode" type="xs:string" minOccurs="0">
|
259
|
+
<xs:annotation>
|
260
|
+
<xs:documentation>Postal Code</xs:documentation>
|
261
|
+
</xs:annotation>
|
262
|
+
</xs:element>
|
263
|
+
<xs:element name="ServiceArea" type="xs:string" minOccurs="0">
|
264
|
+
<xs:annotation>
|
265
|
+
<xs:documentation>Service area code</xs:documentation>
|
266
|
+
</xs:annotation>
|
267
|
+
</xs:element>
|
268
|
+
</xs:sequence>
|
269
|
+
</xs:complexType>
|
270
|
+
<xs:complexType name="ServiceAvailabilityOption">
|
271
|
+
<xs:annotation>
|
272
|
+
<xs:documentation>The descriptive data which identifies an available FedEx Service.</xs:documentation>
|
273
|
+
</xs:annotation>
|
274
|
+
<xs:sequence>
|
275
|
+
<xs:element name="Service" type="ns:ServiceType" minOccurs="0">
|
276
|
+
<xs:annotation>
|
277
|
+
<xs:documentation>Identifies a FedEx Service that is available between the origin and destination provided in the request.</xs:documentation>
|
278
|
+
</xs:annotation>
|
279
|
+
</xs:element>
|
280
|
+
<xs:element name="DeliveryDate" type="xs:date" minOccurs="0">
|
281
|
+
<xs:annotation>
|
282
|
+
<xs:documentation>Identifies the delivery date of the available service.</xs:documentation>
|
283
|
+
</xs:annotation>
|
284
|
+
</xs:element>
|
285
|
+
<xs:element name="DeliveryDay" type="ns:DayOfWeekType" minOccurs="0">
|
286
|
+
<xs:annotation>
|
287
|
+
<xs:documentation>Identifies the delivery day of week of the available service. See DayOfWeekType for valid values.</xs:documentation>
|
288
|
+
</xs:annotation>
|
289
|
+
</xs:element>
|
290
|
+
<xs:element name="DestinationStationId" type="xs:string" minOccurs="0">
|
291
|
+
<xs:annotation>
|
292
|
+
<xs:documentation>Identifies the FedEx location identifier of the package destination.</xs:documentation>
|
293
|
+
<xs:appinfo>
|
294
|
+
<xs:MaxLength>4</xs:MaxLength>
|
295
|
+
</xs:appinfo>
|
296
|
+
</xs:annotation>
|
297
|
+
</xs:element>
|
298
|
+
<xs:element name="DestinationAirportId" type="xs:string" minOccurs="0">
|
299
|
+
<xs:annotation>
|
300
|
+
<xs:documentation>Identification of an airport, using standard three-letter abbreviations.</xs:documentation>
|
301
|
+
</xs:annotation>
|
302
|
+
</xs:element>
|
303
|
+
</xs:sequence>
|
304
|
+
</xs:complexType>
|
305
|
+
<xs:complexType name="ServiceAvailabilityReply">
|
306
|
+
<xs:annotation>
|
307
|
+
<xs:documentation>The descriptive data returned for a FedEx service availability request.</xs:documentation>
|
308
|
+
</xs:annotation>
|
309
|
+
<xs:sequence>
|
310
|
+
<xs:element name="HighestSeverity" type="ns:NotificationSeverityType" minOccurs="1">
|
311
|
+
<xs:annotation>
|
312
|
+
<xs:documentation>Identifies the highest severity encountered when executing the request; in order from high to low: FAILURE, ERROR, WARNING, NOTE, SUCCESS.</xs:documentation>
|
313
|
+
</xs:annotation>
|
314
|
+
</xs:element>
|
315
|
+
<xs:element name="Notifications" type="ns:Notification" minOccurs="1" maxOccurs="unbounded">
|
316
|
+
<xs:annotation>
|
317
|
+
<xs:documentation>The descriptive data detailing the status of a sumbitted transaction.</xs:documentation>
|
318
|
+
</xs:annotation>
|
319
|
+
</xs:element>
|
320
|
+
<xs:element name="TransactionDetail" type="ns:TransactionDetail" minOccurs="0">
|
321
|
+
<xs:annotation>
|
322
|
+
<xs:documentation>Descriptive data that governs data payload language/translations. The TransactionDetail from the request is echoed back to the caller in the corresponding reply. </xs:documentation>
|
323
|
+
</xs:annotation>
|
324
|
+
</xs:element>
|
325
|
+
<xs:element name="Version" type="ns:VersionId" minOccurs="1">
|
326
|
+
<xs:annotation>
|
327
|
+
<xs:documentation>Identifies the version/level of a service operation expected by a caller (in each request) and performed by the callee (in each reply).</xs:documentation>
|
328
|
+
</xs:annotation>
|
329
|
+
</xs:element>
|
330
|
+
<xs:element name="Options" type="ns:ServiceAvailabilityOption" minOccurs="0" maxOccurs="unbounded">
|
331
|
+
<xs:annotation>
|
332
|
+
<xs:documentation>The descriptive data for the collection of available FedEx Services returned for the request.</xs:documentation>
|
333
|
+
</xs:annotation>
|
334
|
+
</xs:element>
|
335
|
+
</xs:sequence>
|
336
|
+
</xs:complexType>
|
337
|
+
<xs:complexType name="ServiceAvailabilityRequest">
|
338
|
+
<xs:annotation>
|
339
|
+
<xs:documentation>The descriptive data which is used to determine which FedEx Express services are available between an origin and destination. To check the availability of one particular FedEx Express service and packaging type, include the Service and Packaging elements in the request message. Only information regarding that single service and packaging type will be returned from the request. To obtain a list of all available services for a given origin and destination, omit the Service and Packaging elements from the request. In this case the reply will contain every available service.</xs:documentation>
|
340
|
+
</xs:annotation>
|
341
|
+
<xs:sequence>
|
342
|
+
<xs:element name="WebAuthenticationDetail" type="ns:WebAuthenticationDetail" minOccurs="1">
|
343
|
+
<xs:annotation>
|
344
|
+
<xs:documentation>Descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services).</xs:documentation>
|
345
|
+
</xs:annotation>
|
346
|
+
</xs:element>
|
347
|
+
<xs:element name="ClientDetail" type="ns:ClientDetail" minOccurs="1">
|
348
|
+
<xs:annotation>
|
349
|
+
<xs:documentation>The descriptive data identifying the client submitting the transaction.</xs:documentation>
|
350
|
+
</xs:annotation>
|
351
|
+
</xs:element>
|
352
|
+
<xs:element name="TransactionDetail" type="ns:TransactionDetail" minOccurs="0">
|
353
|
+
<xs:annotation>
|
354
|
+
<xs:documentation>The descriptive data for this customer transaction. The TransactionDetail from the request is echoed back to the caller in the corresponding reply.</xs:documentation>
|
355
|
+
</xs:annotation>
|
356
|
+
</xs:element>
|
357
|
+
<xs:element name="Version" type="ns:VersionId" minOccurs="1">
|
358
|
+
<xs:annotation>
|
359
|
+
<xs:documentation>Identifies the version/level of a service operation expected by a caller (in each request) and performed by the callee (in each reply).</xs:documentation>
|
360
|
+
</xs:annotation>
|
361
|
+
</xs:element>
|
362
|
+
<xs:element name="Origin" type="ns:Address" minOccurs="1">
|
363
|
+
<xs:annotation>
|
364
|
+
<xs:documentation>The descriptive data for the physical location from which the shipment originates.</xs:documentation>
|
365
|
+
</xs:annotation>
|
366
|
+
</xs:element>
|
367
|
+
<xs:element name="Destination" type="ns:Address" minOccurs="1">
|
368
|
+
<xs:annotation>
|
369
|
+
<xs:documentation>The descriptive data for the physical location to which the shipment is destined.</xs:documentation>
|
370
|
+
</xs:annotation>
|
371
|
+
</xs:element>
|
372
|
+
<xs:element name="ShipDate" type="xs:date" minOccurs="1">
|
373
|
+
<xs:annotation>
|
374
|
+
<xs:documentation>The date on which the package will be shipped. The date should not be a past date or a date more than 10 days in the future. The date format must be YYYY-MM-DD.</xs:documentation>
|
375
|
+
</xs:annotation>
|
376
|
+
</xs:element>
|
377
|
+
<xs:element name="CarrierCode" type="ns:CarrierCodeType" minOccurs="1">
|
378
|
+
<xs:annotation>
|
379
|
+
<xs:documentation>Optionally supplied instead of service to restrict reply to services for a specific carrier.</xs:documentation>
|
380
|
+
</xs:annotation>
|
381
|
+
</xs:element>
|
382
|
+
<xs:element name="Service" type="ns:ServiceType" minOccurs="0">
|
383
|
+
<xs:annotation>
|
384
|
+
<xs:documentation>Restricts reply to single service, if supplied.</xs:documentation>
|
385
|
+
</xs:annotation>
|
386
|
+
</xs:element>
|
387
|
+
<xs:element name="Packaging" type="ns:PackagingType" minOccurs="0">
|
388
|
+
<xs:annotation>
|
389
|
+
<xs:documentation>Identifies the FedEx packaging type used by the requestor for the package. See PackagingType for valid values. Omit this element and the Service element to get a list of every available service.</xs:documentation>
|
390
|
+
</xs:annotation>
|
391
|
+
</xs:element>
|
392
|
+
</xs:sequence>
|
393
|
+
</xs:complexType>
|
394
|
+
<xs:simpleType name="ServiceType">
|
395
|
+
<xs:annotation>
|
396
|
+
<xs:documentation>Identifies the collection of available FedEx transportation service options.</xs:documentation>
|
397
|
+
</xs:annotation>
|
398
|
+
<xs:restriction base="xs:string">
|
399
|
+
<xs:enumeration value="EUROPE_FIRST_INTERNATIONAL_PRIORITY"/>
|
400
|
+
<xs:enumeration value="FEDEX_1_DAY_FREIGHT"/>
|
401
|
+
<xs:enumeration value="FEDEX_2_DAY"/>
|
402
|
+
<xs:enumeration value="FEDEX_2_DAY_AM"/>
|
403
|
+
<xs:enumeration value="FEDEX_2_DAY_FREIGHT"/>
|
404
|
+
<xs:enumeration value="FEDEX_3_DAY_FREIGHT"/>
|
405
|
+
<xs:enumeration value="FEDEX_EXPRESS_SAVER"/>
|
406
|
+
<xs:enumeration value="FEDEX_FIRST_FREIGHT"/>
|
407
|
+
<xs:enumeration value="FEDEX_GROUND"/>
|
408
|
+
<xs:enumeration value="FIRST_OVERNIGHT"/>
|
409
|
+
<xs:enumeration value="GROUND_HOME_DELIVERY"/>
|
410
|
+
<xs:enumeration value="INTERNATIONAL_DISTRIBUTION_FREIGHT"/>
|
411
|
+
<xs:enumeration value="INTERNATIONAL_ECONOMY"/>
|
412
|
+
<xs:enumeration value="INTERNATIONAL_ECONOMY_DISTRIBUTION"/>
|
413
|
+
<xs:enumeration value="INTERNATIONAL_ECONOMY_FREIGHT"/>
|
414
|
+
<xs:enumeration value="INTERNATIONAL_FIRST"/>
|
415
|
+
<xs:enumeration value="INTERNATIONAL_PRIORITY"/>
|
416
|
+
<xs:enumeration value="INTERNATIONAL_PRIORITY_DISTRIBUTION"/>
|
417
|
+
<xs:enumeration value="INTERNATIONAL_PRIORITY_FREIGHT"/>
|
418
|
+
<xs:enumeration value="PRIORITY_OVERNIGHT"/>
|
419
|
+
<xs:enumeration value="STANDARD_OVERNIGHT"/>
|
420
|
+
</xs:restriction>
|
421
|
+
</xs:simpleType>
|
422
|
+
<xs:complexType name="TransactionDetail">
|
423
|
+
<xs:annotation>
|
424
|
+
<xs:documentation>The descriptive data that governs data payload language/translations.</xs:documentation>
|
425
|
+
</xs:annotation>
|
426
|
+
<xs:sequence>
|
427
|
+
<xs:element name="CustomerTransactionId" type="xs:string" minOccurs="0">
|
428
|
+
<xs:annotation>
|
429
|
+
<xs:documentation>Free form text to be echoed back in the reply. Used to match requests and replies.</xs:documentation>
|
430
|
+
</xs:annotation>
|
431
|
+
</xs:element>
|
432
|
+
<xs:element name="Localization" type="ns:Localization" minOccurs="0">
|
433
|
+
<xs:annotation>
|
434
|
+
<xs:documentation>Governs data payload language/translations (contrasted with ClientDetail.localization, which governs Notification.localizedMessage language selection).</xs:documentation>
|
435
|
+
</xs:annotation>
|
436
|
+
</xs:element>
|
437
|
+
</xs:sequence>
|
438
|
+
</xs:complexType>
|
439
|
+
<xs:complexType name="WebAuthenticationDetail">
|
440
|
+
<xs:annotation>
|
441
|
+
<xs:documentation>Used in authentication of the sender's identity.</xs:documentation>
|
442
|
+
</xs:annotation>
|
443
|
+
<xs:sequence>
|
444
|
+
<xs:element name="UserCredential" type="ns:WebAuthenticationCredential" minOccurs="1">
|
445
|
+
<xs:annotation>
|
446
|
+
<xs:documentation>Credential used to authenticate a specific software application. This value is provided by FedEx after registration.</xs:documentation>
|
447
|
+
</xs:annotation>
|
448
|
+
</xs:element>
|
449
|
+
</xs:sequence>
|
450
|
+
</xs:complexType>
|
451
|
+
<xs:complexType name="WebAuthenticationCredential">
|
452
|
+
<xs:annotation>
|
453
|
+
<xs:documentation>Two part authentication string used for the sender's identity</xs:documentation>
|
454
|
+
</xs:annotation>
|
455
|
+
<xs:sequence>
|
456
|
+
<xs:element name="Key" type="xs:string" minOccurs="1">
|
457
|
+
<xs:annotation>
|
458
|
+
<xs:documentation>Identifying part of authentication credential. This value is provided by FedEx after registration</xs:documentation>
|
459
|
+
</xs:annotation>
|
460
|
+
</xs:element>
|
461
|
+
<xs:element name="Password" type="xs:string" minOccurs="1">
|
462
|
+
<xs:annotation>
|
463
|
+
<xs:documentation>Secret part of authentication key. This value is provided by FedEx after registration.</xs:documentation>
|
464
|
+
</xs:annotation>
|
465
|
+
</xs:element>
|
466
|
+
</xs:sequence>
|
467
|
+
</xs:complexType>
|
468
|
+
<xs:complexType name="VersionId">
|
469
|
+
<xs:annotation>
|
470
|
+
<xs:documentation>Identifies the version/level of a service operation expected by a caller (in each request) and performed by the callee (in each reply).</xs:documentation>
|
471
|
+
</xs:annotation>
|
472
|
+
<xs:sequence>
|
473
|
+
<xs:element name="ServiceId" type="xs:string" fixed="pmis" minOccurs="1">
|
474
|
+
<xs:annotation>
|
475
|
+
<xs:documentation>Identifies a system or sub-system which performs an operation.</xs:documentation>
|
476
|
+
</xs:annotation>
|
477
|
+
</xs:element>
|
478
|
+
<xs:element name="Major" type="xs:int" fixed="5" minOccurs="1">
|
479
|
+
<xs:annotation>
|
480
|
+
<xs:documentation>Identifies the service business level.</xs:documentation>
|
481
|
+
</xs:annotation>
|
482
|
+
</xs:element>
|
483
|
+
<xs:element name="Intermediate" type="xs:int" fixed="0" minOccurs="1">
|
484
|
+
<xs:annotation>
|
485
|
+
<xs:documentation>Identifies the service interface level.</xs:documentation>
|
486
|
+
</xs:annotation>
|
487
|
+
</xs:element>
|
488
|
+
<xs:element name="Minor" type="xs:int" fixed="0" minOccurs="1">
|
489
|
+
<xs:annotation>
|
490
|
+
<xs:documentation>Identifies the service code level.</xs:documentation>
|
491
|
+
</xs:annotation>
|
492
|
+
</xs:element>
|
493
|
+
</xs:sequence>
|
494
|
+
</xs:complexType>
|
495
|
+
</xs:schema>
|
496
|
+
</types>
|
497
|
+
<message name="ServiceAvailabilityReply">
|
498
|
+
<part name="ServiceAvailabilityReply" element="ns:ServiceAvailabilityReply"/>
|
499
|
+
</message>
|
500
|
+
<message name="ServiceAvailabilityRequest">
|
501
|
+
<part name="ServiceAvailabilityRequest" element="ns:ServiceAvailabilityRequest"/>
|
502
|
+
</message>
|
503
|
+
<message name="PostalCodeInquiryRequest">
|
504
|
+
<part name="PostalCodeInquiryRequest" element="ns:PostalCodeInquiryRequest"/>
|
505
|
+
</message>
|
506
|
+
<message name="PostalCodeInquiryReply">
|
507
|
+
<part name="PostalCodeInquiryReply" element="ns:PostalCodeInquiryReply"/>
|
508
|
+
</message>
|
509
|
+
<portType name="PackageMovementInformationPortType">
|
510
|
+
<operation name="postalCodeInquiry" parameterOrder="PostalCodeInquiryRequest">
|
511
|
+
<input message="ns:PostalCodeInquiryRequest"/>
|
512
|
+
<output message="ns:PostalCodeInquiryReply"/>
|
513
|
+
</operation>
|
514
|
+
<operation name="serviceAvailability" parameterOrder="ServiceAvailabilityRequest">
|
515
|
+
<input message="ns:ServiceAvailabilityRequest"/>
|
516
|
+
<output message="ns:ServiceAvailabilityReply"/>
|
517
|
+
</operation>
|
518
|
+
</portType>
|
519
|
+
<binding name="PackageMovementInformationServiceSoapBinding" type="ns:PackageMovementInformationPortType">
|
520
|
+
<s1:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
|
521
|
+
<operation name="postalCodeInquiry">
|
522
|
+
<s1:operation soapAction="postalCodeInquiry" style="document"/>
|
523
|
+
<input>
|
524
|
+
<s1:body use="literal"/>
|
525
|
+
</input>
|
526
|
+
<output>
|
527
|
+
<s1:body use="literal"/>
|
528
|
+
</output>
|
529
|
+
</operation>
|
530
|
+
<operation name="serviceAvailability">
|
531
|
+
<s1:operation soapAction="serviceAvailability" style="document"/>
|
532
|
+
<input>
|
533
|
+
<s1:body use="literal"/>
|
534
|
+
</input>
|
535
|
+
<output>
|
536
|
+
<s1:body use="literal"/>
|
537
|
+
</output>
|
538
|
+
</operation>
|
539
|
+
</binding>
|
540
|
+
<service name="PackageMovementInformationService">
|
541
|
+
<port name="PackageMovementInformationServicePort" binding="ns:PackageMovementInformationServiceSoapBinding">
|
542
|
+
<s1:address location="https://wsbeta.fedex.com:443/web-services"/>
|
543
|
+
</port>
|
544
|
+
</service>
|
545
|
+
</definitions>
|