dhl 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,547 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://wsbuat.dhl.com:8300/gbl/glDHLExpressTrack
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:tns="http://scxgxtt.phx-dc.dhl.com/glDHLExpressTrack/providers/services/trackShipment"
10
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ins0="http://www.dhl.com"
11
+ xmlns:dhl="http://www.dhl.com"><env:Header><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><wsse:UsernameToken
12
+ wsu:Id="UsernameToken-1" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><wsse:Username>username</wsse:Username><wsse:Password
13
+ Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">password</wsse:Password></wsse:UsernameToken><wsu:Timestamp
14
+ wsu:Id="Timestamp-2" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><wsu:Created>2013-06-01T07:10:44Z</wsu:Created><wsu:Expires>2013-06-01T07:11:44Z</wsu:Expires></wsu:Timestamp></wsse:Security></env:Header><env:Body><tns:trackShipmentRequest><trackingRequest><dhl:TrackingRequest><Request><ServiceHeader><MessageTime>2013-06-01T07:10:44+00:00</MessageTime><MessageReference>1234567890123456789012345678</MessageReference></ServiceHeader></Request><AWBNumber><ArrayOfAWBNumberItem>9786162326</ArrayOfAWBNumberItem></AWBNumber><LevelOfDetails>ALL_CHECK_POINTS</LevelOfDetails><PiecesEnabled>B</PiecesEnabled></dhl:TrackingRequest></trackingRequest></tns:trackShipmentRequest></env:Body></env:Envelope>
15
+ headers:
16
+ Soapaction:
17
+ - '"glDHLExpressTrack_providers_services_trackShipment_Binder_trackShipmentRequest"'
18
+ Content-Type:
19
+ - text/xml;charset=UTF-8
20
+ Content-Length:
21
+ - '1592'
22
+ Accept-Encoding:
23
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
24
+ Accept:
25
+ - '*/*'
26
+ User-Agent:
27
+ - Ruby
28
+ response:
29
+ status:
30
+ code: 200
31
+ message: OK
32
+ headers:
33
+ Date:
34
+ - Sat, 01 Jun 2013 07:10:46 GMT
35
+ Server:
36
+ - ACE XML Gateway
37
+ Content-Type:
38
+ - text/xml
39
+ Content-Length:
40
+ - '10718'
41
+ body:
42
+ encoding: UTF-8
43
+ string: |
44
+ <?xml version="1.0" encoding="utf-8"?>
45
+ <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
46
+ <SOAP-ENV:Header xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"></SOAP-ENV:Header><SOAP-ENV:Body>
47
+ <ser-root:trackShipmentRequestResponse xmlns:ser-root="http://scxgxtt.phx-dc.dhl.com/glDHLExpressTrack/providers/services/trackShipment"><trackingResponse xmlns:ns="http://www.dhl.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
48
+ <ns:TrackingResponse>
49
+ <Response>
50
+ <ServiceHeader>
51
+ <MessageTime>2013-06-01T07:10:47Z</MessageTime>
52
+ <MessageReference>61a3ab70ca8a11e2bbff876ba95cf9cf</MessageReference>
53
+ </ServiceHeader>
54
+ </Response>
55
+ <AWBInfo>
56
+ <ArrayOfAWBInfoItem>
57
+ <AWBNumber>9786162326</AWBNumber>
58
+ <Status>
59
+ <ActionStatus>Success</ActionStatus>
60
+ </Status>
61
+ <ShipmentInfo>
62
+ <OriginServiceArea>
63
+ <ServiceAreaCode>AOI</ServiceAreaCode>
64
+ <Description>Ancona - Italy</Description>
65
+ </OriginServiceArea>
66
+ <DestinationServiceArea>
67
+ <ServiceAreaCode>MIL</ServiceAreaCode>
68
+ <Description>Milan - Italy</Description>
69
+ <FacilityCode>ENI</FacilityCode>
70
+ </DestinationServiceArea>
71
+ <ShipperName>DERNIK ELETTRONICA DI FABIO SENATOR </ShipperName>
72
+ <ConsigneeName>SST SRL </ConsigneeName>
73
+ <ShipmentDate>2013-05-06T10:20:00+02:00</ShipmentDate>
74
+ <Pieces>1</Pieces>
75
+ <Weight>1.000</Weight>
76
+ </ShipmentInfo>
77
+ <Pieces>
78
+ <PieceInfo>
79
+ <ArrayOfPieceInfoItem>
80
+ <PieceDetails>
81
+ <AWBNumber>9786162326</AWBNumber>
82
+ <LicensePlate>JD012054954860361997</LicensePlate>
83
+ <ActualDepth>27.000</ActualDepth>
84
+ <ActualWidth>22.000</ActualWidth>
85
+ <ActualHeight>22.000</ActualHeight>
86
+ <Depth>10.000</Depth>
87
+ <Width>10.000</Width>
88
+ <Height>10.000</Height>
89
+ <Weight>0.500</Weight>
90
+ <PackageType></PackageType>
91
+ <DimWeight>1.050</DimWeight>
92
+ <WeightUnit>KG</WeightUnit>
93
+ </PieceDetails>
94
+ <PieceEvent>
95
+ <ArrayOfPieceEventItem>
96
+ <Date>2013-05-07</Date>
97
+ <Time>10:25:00</Time>
98
+ <ServiceEvent>
99
+ <EventCode>OK</EventCode>
100
+ <Description>Delivery </Description>
101
+ </ServiceEvent>
102
+ <Signatory>BICCIOLI</Signatory>
103
+ <ServiceArea>
104
+ <ServiceAreaCode>MIL</ServiceAreaCode>
105
+ <Description>Milan - Italy</Description>
106
+ </ServiceArea>
107
+ <ShipperReference xsi:nil="true"></ShipperReference>
108
+ </ArrayOfPieceEventItem>
109
+ <ArrayOfPieceEventItem>
110
+ <Date>2013-05-07</Date>
111
+ <Time>08:43:00</Time>
112
+ <ServiceEvent>
113
+ <EventCode>WC</EventCode>
114
+ <Description>With Delivering Courier </Description>
115
+ </ServiceEvent>
116
+ <ServiceArea>
117
+ <ServiceAreaCode>MIL</ServiceAreaCode>
118
+ <Description>Milan - Italy</Description>
119
+ </ServiceArea>
120
+ <ShipperReference xsi:nil="true"></ShipperReference>
121
+ </ArrayOfPieceEventItem>
122
+ <ArrayOfPieceEventItem>
123
+ <Date>2013-05-07</Date>
124
+ <Time>07:17:44</Time>
125
+ <ServiceEvent>
126
+ <EventCode>AR</EventCode>
127
+ <Description>Arrival in Delivery Facility</Description>
128
+ </ServiceEvent>
129
+ <ServiceArea>
130
+ <ServiceAreaCode>MIL</ServiceAreaCode>
131
+ <Description>Milan - Italy</Description>
132
+ </ServiceArea>
133
+ <ShipperReference xsi:nil="true"></ShipperReference>
134
+ </ArrayOfPieceEventItem>
135
+ <ArrayOfPieceEventItem>
136
+ <Date>2013-05-07</Date>
137
+ <Time>07:07:28</Time>
138
+ <ServiceEvent>
139
+ <EventCode>DF</EventCode>
140
+ <Description>Depart Facility </Description>
141
+ </ServiceEvent>
142
+ <ServiceArea>
143
+ <ServiceAreaCode>MIL</ServiceAreaCode>
144
+ <Description>Milan - Italy</Description>
145
+ </ServiceArea>
146
+ <ShipperReference xsi:nil="true"></ShipperReference>
147
+ </ArrayOfPieceEventItem>
148
+ <ArrayOfPieceEventItem>
149
+ <Date>2013-05-07</Date>
150
+ <Time>06:18:30</Time>
151
+ <ServiceEvent>
152
+ <EventCode>PL</EventCode>
153
+ <Description>Processed at Location </Description>
154
+ </ServiceEvent>
155
+ <ServiceArea>
156
+ <ServiceAreaCode>MIL</ServiceAreaCode>
157
+ <Description>Milan - Italy</Description>
158
+ </ServiceArea>
159
+ <ShipperReference xsi:nil="true"></ShipperReference>
160
+ </ArrayOfPieceEventItem>
161
+ <ArrayOfPieceEventItem>
162
+ <Date>2013-05-07</Date>
163
+ <Time>04:19:07</Time>
164
+ <ServiceEvent>
165
+ <EventCode>RW</EventCode>
166
+ <Description>Weigh and Dimension </Description>
167
+ </ServiceEvent>
168
+ <ServiceArea>
169
+ <ServiceAreaCode>MIL</ServiceAreaCode>
170
+ <Description>Milan - Italy</Description>
171
+ </ServiceArea>
172
+ <ShipperReference xsi:nil="true"></ShipperReference>
173
+ </ArrayOfPieceEventItem>
174
+ <ArrayOfPieceEventItem>
175
+ <Date>2013-05-07</Date>
176
+ <Time>04:19:06</Time>
177
+ <ServiceEvent>
178
+ <EventCode>PL</EventCode>
179
+ <Description>Processed at Location </Description>
180
+ </ServiceEvent>
181
+ <ServiceArea>
182
+ <ServiceAreaCode>MIL</ServiceAreaCode>
183
+ <Description>Milan - Italy</Description>
184
+ </ServiceArea>
185
+ <ShipperReference xsi:nil="true"></ShipperReference>
186
+ </ArrayOfPieceEventItem>
187
+ <ArrayOfPieceEventItem>
188
+ <Date>2013-05-06</Date>
189
+ <Time>23:24:45</Time>
190
+ <ServiceEvent>
191
+ <EventCode>RW</EventCode>
192
+ <Description>Weigh and Dimension </Description>
193
+ </ServiceEvent>
194
+ <ServiceArea>
195
+ <ServiceAreaCode>BLQ</ServiceAreaCode>
196
+ <Description>Bologna - Italy</Description>
197
+ </ServiceArea>
198
+ <ShipperReference xsi:nil="true"></ShipperReference>
199
+ </ArrayOfPieceEventItem>
200
+ <ArrayOfPieceEventItem>
201
+ <Date>2013-05-06</Date>
202
+ <Time>23:24:41</Time>
203
+ <ServiceEvent>
204
+ <EventCode>PL</EventCode>
205
+ <Description>Processed at Location </Description>
206
+ </ServiceEvent>
207
+ <ServiceArea>
208
+ <ServiceAreaCode>BLQ</ServiceAreaCode>
209
+ <Description>Bologna - Italy</Description>
210
+ </ServiceArea>
211
+ <ShipperReference xsi:nil="true"></ShipperReference>
212
+ </ArrayOfPieceEventItem>
213
+ <ArrayOfPieceEventItem>
214
+ <Date>2013-05-06</Date>
215
+ <Time>20:02:12</Time>
216
+ <ServiceEvent>
217
+ <EventCode>DF</EventCode>
218
+ <Description>Depart Facility </Description>
219
+ </ServiceEvent>
220
+ <ServiceArea>
221
+ <ServiceAreaCode>AOI</ServiceAreaCode>
222
+ <Description>Ancona - Italy</Description>
223
+ </ServiceArea>
224
+ <ShipperReference xsi:nil="true"></ShipperReference>
225
+ </ArrayOfPieceEventItem>
226
+ <ArrayOfPieceEventItem>
227
+ <Date>2013-05-06</Date>
228
+ <Time>17:22:00</Time>
229
+ <ServiceEvent>
230
+ <EventCode>DF</EventCode>
231
+ <Description>Depart Facility </Description>
232
+ </ServiceEvent>
233
+ <ServiceArea>
234
+ <ServiceAreaCode>AOI</ServiceAreaCode>
235
+ <Description>Ancona - Italy</Description>
236
+ </ServiceArea>
237
+ <ShipperReference xsi:nil="true"></ShipperReference>
238
+ </ArrayOfPieceEventItem>
239
+ <ArrayOfPieceEventItem>
240
+ <Date>2013-05-06</Date>
241
+ <Time>17:19:14</Time>
242
+ <ServiceEvent>
243
+ <EventCode>PL</EventCode>
244
+ <Description>Processed at Location </Description>
245
+ </ServiceEvent>
246
+ <ServiceArea>
247
+ <ServiceAreaCode>AOI</ServiceAreaCode>
248
+ <Description>Ancona - Italy</Description>
249
+ </ServiceArea>
250
+ <ShipperReference xsi:nil="true"></ShipperReference>
251
+ </ArrayOfPieceEventItem>
252
+ <ArrayOfPieceEventItem>
253
+ <Date>2013-05-06</Date>
254
+ <Time>17:18:00</Time>
255
+ <ServiceEvent>
256
+ <EventCode>RW</EventCode>
257
+ <Description>Weigh and Dimension </Description>
258
+ </ServiceEvent>
259
+ <ServiceArea>
260
+ <ServiceAreaCode>AOI</ServiceAreaCode>
261
+ <Description>Ancona - Italy</Description>
262
+ </ServiceArea>
263
+ <ShipperReference xsi:nil="true"></ShipperReference>
264
+ </ArrayOfPieceEventItem>
265
+ <ArrayOfPieceEventItem>
266
+ <Date>2013-05-06</Date>
267
+ <Time>10:20:00</Time>
268
+ <ServiceEvent>
269
+ <EventCode>PU</EventCode>
270
+ <Description>Shipment Pickup </Description>
271
+ </ServiceEvent>
272
+ <ServiceArea>
273
+ <ServiceAreaCode>AOI</ServiceAreaCode>
274
+ <Description>Ancona - Italy</Description>
275
+ </ServiceArea>
276
+ <ShipperReference xsi:nil="true"></ShipperReference>
277
+ </ArrayOfPieceEventItem>
278
+ </PieceEvent>
279
+ </ArrayOfPieceInfoItem>
280
+ </PieceInfo>
281
+ </Pieces>
282
+ </ArrayOfAWBInfoItem>
283
+ </AWBInfo>
284
+ </ns:TrackingResponse></trackingResponse></ser-root:trackShipmentRequestResponse></SOAP-ENV:Body>
285
+ </SOAP-ENV:Envelope>
286
+ http_version:
287
+ recorded_at: Sat, 01 Jun 2013 07:10:48 GMT
288
+ - request:
289
+ method: get
290
+ uri: https://wsbuat.dhl.com:8300/gbl/glDHLExpressTrack?WSDL
291
+ body:
292
+ encoding: US-ASCII
293
+ string: ''
294
+ headers:
295
+ Accept-Encoding:
296
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
297
+ Accept:
298
+ - '*/*'
299
+ User-Agent:
300
+ - Ruby
301
+ response:
302
+ status:
303
+ code: 200
304
+ message: OK
305
+ headers:
306
+ Date:
307
+ - Sat, 01 Jun 2013 07:15:37 GMT
308
+ Server:
309
+ - ACE XML Gateway
310
+ Content-Type:
311
+ - text/xml
312
+ Content-Length:
313
+ - '18870'
314
+ body:
315
+ encoding: UTF-8
316
+ string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<wsdl:definitions xmlns:s0=\"http://www.dhl.com\"
317
+ xmlns:mime=\"http://schemas.xmlsoap.org/wsdl/mime/\" xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"
318
+ xmlns:http=\"http://schemas.xmlsoap.org/wsdl/http/\" xmlns:tm=\"http://microsoft.com/wsdl/mime/textMatching/\"
319
+ xmlns:tns=\"http://scxgxtt.phx-dc.dhl.com/glDHLExpressTrack/providers/services/trackShipment\"
320
+ xmlns:soap12=\"http://schemas.xmlsoap.org/wsdl/soap12/\" xmlns:soap=\"http://schemas.xmlsoap.org/wsdl/soap/\"
321
+ xmlns:s1=\"http://www.reactivity.com/xsdbundle/\" xmlns:wsdl=\"http://schemas.xmlsoap.org/wsdl/\"
322
+ xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" targetNamespace=\"http://scxgxtt.phx-dc.dhl.com/glDHLExpressTrack/providers/services/trackShipment\"><wsdl:types><xsd:schema
323
+ targetNamespace=\"http://www.dhl.com\">\n \n <xsd:import
324
+ namespace=\"http://scxgxtt.phx-dc.dhl.com/glDHLExpressTrack/providers/services/trackShipment\"/>\n
325
+ \ <xsd:element name=\"TrackingRequest\" type=\"s0:TrackingRequest\"/>\n
326
+ \ <xsd:element name=\"TrackingResponse\" type=\"s0:TrackingResponse\"/>\n
327
+ \ <xsd:complexType name=\"TrackingRequest\">\n <xsd:sequence>\n
328
+ \ <xsd:element name=\"Request\" type=\"s0:Request\"/>\n <xsd:element
329
+ minOccurs=\"0\" name=\"AWBNumber\" type=\"s0:ArrayOfAWBNumber\"/>\n <xsd:element
330
+ minOccurs=\"0\" name=\"LPNumber\" type=\"s0:ArrayOfTrackingPieceID\"/>\n <xsd:element
331
+ name=\"LevelOfDetails\" type=\"s0:LevelOfDetails\"/>\n <xsd:element
332
+ minOccurs=\"0\" name=\"PiecesEnabled\" type=\"tns:PiecesEnabled\"/>\n </xsd:sequence>\n
333
+ \ </xsd:complexType>\n <xsd:complexType name=\"Request\">\n
334
+ \ <xsd:sequence>\n <xsd:element name=\"ServiceHeader\"
335
+ type=\"s0:ServiceHeader\"/>\n </xsd:sequence>\n </xsd:complexType>\n
336
+ \ <xsd:complexType name=\"ServiceHeader\">\n <xsd:sequence>\n
337
+ \ <xsd:element name=\"MessageTime\" type=\"xsd:dateTime\"/>\n
338
+ \ <xsd:element name=\"MessageReference\" type=\"s0:MessageReference\"/>\n
339
+ \ </xsd:sequence>\n </xsd:complexType>\n <xsd:simpleType
340
+ name=\"MessageReference\">\n <xsd:restriction base=\"xsd:string\">\n
341
+ \ <xsd:whiteSpace value=\"preserve\"/>\n <xsd:minLength
342
+ value=\"28\"/>\n <xsd:maxLength value=\"32\"/>\n </xsd:restriction>\n
343
+ \ </xsd:simpleType>\n <xsd:simpleType name=\"AWBNumber\">\n
344
+ \ <xsd:restriction base=\"xsd:string\">\n <xsd:whiteSpace
345
+ value=\"preserve\"/>\n <xsd:maxLength value=\"11\"/>\n </xsd:restriction>\n
346
+ \ </xsd:simpleType>\n <xsd:complexType name=\"ArrayOfAWBNumber\">\n<xsd:sequence>\n\t\t\t<xsd:element
347
+ maxOccurs=\"unbounded\" name=\"ArrayOfAWBNumberItem\" type=\"s0:AWBNumber\"/>\n\t\t</xsd:sequence>\n\n
348
+ \ </xsd:complexType>\n <xsd:simpleType name=\"TrackingPieceID\">\n
349
+ \ <xsd:restriction base=\"xsd:string\">\n <xsd:whiteSpace
350
+ value=\"preserve\"/>\n <xsd:minLength value=\"1\"/>\n <xsd:maxLength
351
+ value=\"35\"/>\n </xsd:restriction>\n </xsd:simpleType>\n
352
+ \ <xsd:complexType name=\"ArrayOfTrackingPieceID\">\n<xsd:sequence>\n\t\t\t<xsd:element
353
+ maxOccurs=\"unbounded\" name=\"ArrayOfTrackingPieceIDItem\" type=\"s0:TrackingPieceID\"/>\n\t\t</xsd:sequence>\n\n
354
+ \ </xsd:complexType>\n <xsd:simpleType name=\"LevelOfDetails\">\n
355
+ \ <xsd:restriction base=\"xsd:string\">\n <xsd:whiteSpace
356
+ value=\"preserve\"/>\n <xsd:enumeration value=\"LAST_CHECK_POINT_ONLY\"/>\n
357
+ \ <xsd:enumeration value=\"ALL_CHECK_POINTS\"/>\n </xsd:restriction>\n
358
+ \ </xsd:simpleType>\n <xsd:complexType name=\"TrackingResponse\">\n
359
+ \ <xsd:sequence>\n <xsd:element name=\"Response\" type=\"s0:Response\"/>\n
360
+ \ <xsd:element name=\"AWBInfo\" type=\"s0:ArrayOfAWBInfo\"/>\n
361
+ \ <xsd:element minOccurs=\"0\" name=\"Fault\" type=\"s0:Fault\"/>\n
362
+ \ </xsd:sequence>\n </xsd:complexType>\n <xsd:complexType
363
+ name=\"Response\">\n <xsd:sequence>\n <xsd:element
364
+ name=\"ServiceHeader\" type=\"s0:ServiceHeader\"/>\n </xsd:sequence>\n
365
+ \ </xsd:complexType>\n <xsd:complexType name=\"AWBInfo\">\n
366
+ \ <xsd:sequence>\n <xsd:element name=\"AWBNumber\"
367
+ type=\"s0:AWBNumber\"/>\n <xsd:element name=\"Status\" type=\"s0:Status\"/>\n
368
+ \ <xsd:element minOccurs=\"0\" name=\"ShipmentInfo\" type=\"s0:ShipmentInfo\"/>\n
369
+ \ <xsd:element minOccurs=\"0\" name=\"Pieces\" type=\"s0:TrackingPieces\"/>\n
370
+ \ </xsd:sequence>\n </xsd:complexType>\n <xsd:complexType
371
+ name=\"Status\">\n <xsd:sequence>\n <xsd:element name=\"ActionStatus\"
372
+ type=\"xsd:string\"/>\n <xsd:element minOccurs=\"0\" name=\"Condition\"
373
+ type=\"s0:ArrayOfCondition\"/>\n </xsd:sequence>\n </xsd:complexType>\n
374
+ \ <xsd:complexType name=\"Condition\">\n <xsd:sequence>\n
375
+ \ <xsd:element name=\"ConditionCode\" type=\"xsd:string\"/>\n
376
+ \ <xsd:element minOccurs=\"0\" name=\"ConditionData\" type=\"xsd:string\"/>\n
377
+ \ </xsd:sequence>\n </xsd:complexType>\n <xsd:complexType
378
+ name=\"ArrayOfCondition\">\n<xsd:sequence>\n\t\t\t<xsd:element maxOccurs=\"unbounded\"
379
+ name=\"ArrayOfConditionItem\" type=\"s0:Condition\"/>\n\t\t</xsd:sequence>\n\n
380
+ \ </xsd:complexType>\n <xsd:complexType name=\"ShipmentInfo\">\n
381
+ \ <xsd:sequence>\n <xsd:element name=\"OriginServiceArea\"
382
+ type=\"s0:OriginServiceArea\"/>\n <xsd:element name=\"DestinationServiceArea\"
383
+ type=\"s0:DestinationServiceArea\"/>\n <xsd:element name=\"ShipperName\"
384
+ type=\"s0:PersonName\"/>\n <xsd:element minOccurs=\"0\" name=\"ShipperAccountNumber\"
385
+ type=\"s0:AccountNumber\"/>\n <xsd:element name=\"ConsigneeName\"
386
+ type=\"s0:PersonName\"/>\n <xsd:element name=\"ShipmentDate\"
387
+ type=\"xsd:dateTime\"/>\n <xsd:element minOccurs=\"0\" name=\"Pieces\"
388
+ type=\"xsd:string\"/>\n <xsd:element minOccurs=\"0\" name=\"Weight\"
389
+ type=\"xsd:string\"/>\n <xsd:element minOccurs=\"0\" name=\"WeightUnit\"
390
+ type=\"tns:WeightUnit\"/>\n <xsd:element minOccurs=\"0\" name=\"ShipmentEvent\"
391
+ type=\"s0:ArrayOfShipmentEvent\"/>\n <xsd:element minOccurs=\"0\"
392
+ name=\"ShipperReference\" type=\"s0:Reference\"/>\n </xsd:sequence>\n
393
+ \ </xsd:complexType>\n <xsd:complexType name=\"OriginServiceArea\">\n
394
+ \ <xsd:sequence>\n <xsd:element minOccurs=\"0\" name=\"ServiceAreaCode\"
395
+ type=\"s0:ServiceAreaCode\"/>\n <xsd:element minOccurs=\"0\"
396
+ name=\"Description\" type=\"xsd:string\"/>\n <xsd:element minOccurs=\"0\"
397
+ name=\"OutboundSortCode\" type=\"s0:OutboundSortCode\"/>\n </xsd:sequence>\n
398
+ \ </xsd:complexType>\n <xsd:simpleType name=\"ServiceAreaCode\">\n
399
+ \ <xsd:restriction base=\"xsd:string\">\n <xsd:whiteSpace
400
+ value=\"preserve\"/>\n <xsd:length value=\"3\"/>\n </xsd:restriction>\n
401
+ \ </xsd:simpleType>\n <xsd:simpleType name=\"OutboundSortCode\">\n
402
+ \ <xsd:restriction base=\"xsd:string\">\n <xsd:whiteSpace
403
+ value=\"preserve\"/>\n <xsd:length value=\"4\"/>\n </xsd:restriction>\n
404
+ \ </xsd:simpleType>\n <xsd:complexType name=\"DestinationServiceArea\">\n
405
+ \ <xsd:sequence>\n <xsd:element minOccurs=\"0\" name=\"ServiceAreaCode\"
406
+ type=\"s0:ServiceAreaCode\"/>\n <xsd:element minOccurs=\"0\"
407
+ name=\"Description\" type=\"xsd:string\"/>\n <xsd:element minOccurs=\"0\"
408
+ name=\"FacilityCode\" type=\"s0:FacilityCode\"/>\n <xsd:element
409
+ minOccurs=\"0\" name=\"InboundSortCode\" type=\"s0:InboundSortCode\"/>\n </xsd:sequence>\n
410
+ \ </xsd:complexType>\n <xsd:simpleType name=\"FacilityCode\">\n
411
+ \ <xsd:restriction base=\"xsd:string\">\n <xsd:whiteSpace
412
+ value=\"preserve\"/>\n <xsd:length value=\"3\"/>\n </xsd:restriction>\n
413
+ \ </xsd:simpleType>\n <xsd:simpleType name=\"InboundSortCode\">\n
414
+ \ <xsd:restriction base=\"xsd:string\">\n <xsd:whiteSpace
415
+ value=\"preserve\"/>\n <xsd:length value=\"4\"/>\n </xsd:restriction>\n
416
+ \ </xsd:simpleType>\n <xsd:simpleType name=\"PersonName\">\n
417
+ \ <xsd:restriction base=\"xsd:string\">\n <xsd:whiteSpace
418
+ value=\"preserve\"/>\n <xsd:maxLength value=\"35\"/>\n </xsd:restriction>\n
419
+ \ </xsd:simpleType>\n <xsd:simpleType name=\"AccountNumber\">\n
420
+ \ <xsd:restriction base=\"xsd:positiveInteger\">\n <xsd:minInclusive
421
+ value=\"100000000\"/>\n <xsd:maxInclusive value=\"9999999999\"/>\n
422
+ \ </xsd:restriction>\n </xsd:simpleType>\n <xsd:complexType
423
+ name=\"ShipmentEvent\">\n <xsd:sequence>\n <xsd:element
424
+ name=\"Date\" type=\"xsd:date\"/>\n <xsd:element name=\"Time\"
425
+ type=\"xsd:time\"/>\n <xsd:element name=\"ServiceEvent\" type=\"s0:ServiceEvent\"/>\n
426
+ \ <xsd:element minOccurs=\"0\" name=\"Signatory\" type=\"tns:Signatory\"/>\n
427
+ \ <xsd:element name=\"ServiceArea\" type=\"s0:ServiceArea\"/>\n
428
+ \ </xsd:sequence>\n </xsd:complexType>\n <xsd:complexType
429
+ name=\"ServiceEvent\">\n <xsd:sequence>\n <xsd:element
430
+ name=\"EventCode\" type=\"tns:EventCode\"/>\n <xsd:element minOccurs=\"0\"
431
+ name=\"Description\" type=\"xsd:string\"/>\n </xsd:sequence>\n
432
+ \ </xsd:complexType>\n <xsd:complexType name=\"ServiceArea\">\n
433
+ \ <xsd:sequence>\n <xsd:element minOccurs=\"0\" name=\"ServiceAreaCode\"
434
+ type=\"s0:ServiceAreaCode\"/>\n <xsd:element minOccurs=\"0\"
435
+ name=\"Description\" type=\"xsd:string\"/>\n </xsd:sequence>\n
436
+ \ </xsd:complexType>\n <xsd:complexType name=\"ArrayOfShipmentEvent\">\n<xsd:sequence>\n\t\t\t<xsd:element
437
+ maxOccurs=\"unbounded\" name=\"ArrayOfShipmentEventItem\" type=\"s0:ShipmentEvent\"/>\n\t\t</xsd:sequence>\n\n
438
+ \ </xsd:complexType>\n <xsd:complexType name=\"Reference\">\n
439
+ \ <xsd:sequence>\n <xsd:element name=\"ReferenceID\"
440
+ type=\"s0:ReferenceID\"/>\n <xsd:element minOccurs=\"0\" name=\"ReferenceType\"
441
+ type=\"s0:ReferenceType\"/>\n </xsd:sequence>\n </xsd:complexType>\n
442
+ \ <xsd:simpleType name=\"ReferenceID\">\n <xsd:restriction
443
+ base=\"xsd:string\">\n <xsd:whiteSpace value=\"preserve\"/>\n
444
+ \ <xsd:maxLength value=\"35\"/>\n </xsd:restriction>\n
445
+ \ </xsd:simpleType>\n <xsd:simpleType name=\"ReferenceType\">\n
446
+ \ <xsd:restriction base=\"xsd:string\">\n <xsd:whiteSpace
447
+ value=\"preserve\"/>\n <xsd:length value=\"2\"/>\n </xsd:restriction>\n
448
+ \ </xsd:simpleType>\n <xsd:complexType name=\"TrackingPieces\">\n
449
+ \ <xsd:sequence>\n <xsd:element name=\"PieceInfo\"
450
+ type=\"s0:ArrayOfPieceInfo\"/>\n </xsd:sequence>\n </xsd:complexType>\n
451
+ \ <xsd:complexType name=\"PieceInfo\">\n <xsd:sequence>\n
452
+ \ <xsd:element name=\"PieceDetails\" type=\"s0:PieceDetails\"/>\n
453
+ \ <xsd:element name=\"PieceEvent\" type=\"s0:ArrayOfPieceEvent\"/>\n
454
+ \ </xsd:sequence>\n </xsd:complexType>\n <xsd:complexType
455
+ name=\"PieceDetails\">\n <xsd:sequence>\n <xsd:element
456
+ name=\"AWBNumber\" type=\"xsd:string\"/>\n <xsd:element name=\"LicensePlate\"
457
+ type=\"s0:TrackingPieceID\"/>\n <xsd:element minOccurs=\"0\"
458
+ name=\"PieceNumber\" type=\"xsd:string\"/>\n <xsd:element minOccurs=\"0\"
459
+ name=\"ActualDepth\" type=\"xsd:string\"/>\n <xsd:element minOccurs=\"0\"
460
+ name=\"ActualWidth\" type=\"xsd:string\"/>\n <xsd:element minOccurs=\"0\"
461
+ name=\"ActualHeight\" type=\"xsd:string\"/>\n <xsd:element minOccurs=\"0\"
462
+ name=\"ActualWeight\" type=\"xsd:string\"/>\n <xsd:element minOccurs=\"0\"
463
+ name=\"Depth\" type=\"xsd:string\"/>\n <xsd:element minOccurs=\"0\"
464
+ name=\"Width\" type=\"xsd:string\"/>\n <xsd:element minOccurs=\"0\"
465
+ name=\"Height\" type=\"xsd:string\"/>\n <xsd:element minOccurs=\"0\"
466
+ name=\"Weight\" type=\"xsd:string\"/>\n <xsd:element minOccurs=\"0\"
467
+ name=\"PackageType\" type=\"s0:PackageType\"/>\n <xsd:element
468
+ minOccurs=\"0\" name=\"DimWeight\" type=\"xsd:string\"/>\n <xsd:element
469
+ minOccurs=\"0\" name=\"WeightUnit\" type=\"xsd:string\"/>\n <xsd:element
470
+ minOccurs=\"0\" name=\"PieceContents\" type=\"xsd:string\"/>\n </xsd:sequence>\n
471
+ \ </xsd:complexType>\n <xsd:simpleType name=\"PackageType\">\n
472
+ \ <xsd:restriction base=\"xsd:string\">\n <xsd:whiteSpace
473
+ value=\"preserve\"/>\n <xsd:maxLength value=\"2\"/>\n </xsd:restriction>\n
474
+ \ </xsd:simpleType>\n <xsd:complexType name=\"PieceEvent\">\n
475
+ \ <xsd:sequence>\n <xsd:element name=\"Date\" type=\"xsd:date\"/>\n
476
+ \ <xsd:element name=\"Time\" type=\"xsd:time\"/>\n <xsd:element
477
+ name=\"ServiceEvent\" type=\"s0:ServiceEvent\"/>\n <xsd:element
478
+ minOccurs=\"0\" name=\"Signatory\" type=\"tns:Signatory2\"/>\n <xsd:element
479
+ name=\"ServiceArea\" type=\"s0:ServiceArea\"/>\n <xsd:element
480
+ name=\"ShipperReference\" nillable=\"true\" type=\"tns:ShipperReference\"/>\n
481
+ \ </xsd:sequence>\n </xsd:complexType>\n <xsd:complexType
482
+ name=\"ArrayOfPieceEvent\">\n<xsd:sequence>\n\t\t\t<xsd:element maxOccurs=\"unbounded\"
483
+ name=\"ArrayOfPieceEventItem\" type=\"s0:PieceEvent\"/>\n\t\t</xsd:sequence>\n\n
484
+ \ </xsd:complexType>\n <xsd:complexType name=\"ArrayOfPieceInfo\">\n<xsd:sequence>\n\t\t\t<xsd:element
485
+ maxOccurs=\"unbounded\" name=\"ArrayOfPieceInfoItem\" type=\"s0:PieceInfo\"/>\n\t\t</xsd:sequence>\n\n
486
+ \ </xsd:complexType>\n <xsd:complexType name=\"ArrayOfAWBInfo\">\n<xsd:sequence>\n\t\t\t<xsd:element
487
+ maxOccurs=\"unbounded\" name=\"ArrayOfAWBInfoItem\" type=\"s0:AWBInfo\"/>\n\t\t</xsd:sequence>\n\n
488
+ \ </xsd:complexType>\n <xsd:complexType name=\"Fault\">\n
489
+ \ <xsd:sequence>\n <xsd:element name=\"PieceFault\"
490
+ type=\"s0:ArrayOfPieceFault\"/>\n </xsd:sequence>\n </xsd:complexType>\n
491
+ \ <xsd:complexType name=\"PieceFault\">\n <xsd:sequence>\n
492
+ \ <xsd:element name=\"PieceID\" type=\"s0:TrackingPieceID\"/>\n
493
+ \ <xsd:element name=\"ConditionCode\" type=\"xsd:string\"/>\n
494
+ \ <xsd:element name=\"ConditionData\" type=\"xsd:string\"/>\n
495
+ \ </xsd:sequence>\n </xsd:complexType>\n <xsd:complexType
496
+ name=\"ArrayOfPieceFault\">\n<xsd:sequence>\n\t\t\t<xsd:element maxOccurs=\"unbounded\"
497
+ name=\"ArrayOfPieceFaultItem\" type=\"s0:PieceFault\"/>\n\t\t</xsd:sequence>\n\n
498
+ \ </xsd:complexType>\n \t</xsd:schema><xsd:schema targetNamespace=\"http://scxgxtt.phx-dc.dhl.com/glDHLExpressTrack/providers/services/trackShipment\">\n
499
+ \ <xsd:import namespace=\"http://www.dhl.com\"/>\n <xsd:complexType
500
+ name=\"trackShipmentRequest\">\n <xsd:sequence>\n <xsd:element
501
+ name=\"trackingRequest\" nillable=\"true\" type=\"tns:pubTrackingRequest\"/>\n
502
+ \ </xsd:sequence>\n </xsd:complexType>\n <xsd:complexType
503
+ name=\"pubTrackingRequest\">\n <xsd:sequence>\n <xsd:element
504
+ ref=\"s0:TrackingRequest\"/>\n </xsd:sequence>\n </xsd:complexType>\n
505
+ \ <xsd:simpleType name=\"PiecesEnabled\">\n <xsd:restriction
506
+ base=\"xsd:string\">\n <xsd:whiteSpace value=\"preserve\"/>\n
507
+ \ <xsd:enumeration value=\"S\"/>\n <xsd:enumeration
508
+ value=\"B\"/>\n <xsd:enumeration value=\"P\"/>\n </xsd:restriction>\n
509
+ \ </xsd:simpleType>\n <xsd:complexType name=\"trackShipmentRequestResponse\">\n
510
+ \ <xsd:sequence>\n <xsd:element name=\"trackingResponse\"
511
+ nillable=\"true\" type=\"tns:pubTrackingResponse\"/>\n </xsd:sequence>\n
512
+ \ </xsd:complexType>\n <xsd:complexType name=\"pubTrackingResponse\">\n
513
+ \ <xsd:sequence>\n <xsd:element ref=\"s0:TrackingResponse\"/>\n
514
+ \ </xsd:sequence>\n </xsd:complexType>\n <xsd:simpleType
515
+ name=\"WeightUnit\">\n <xsd:restriction base=\"xsd:string\">\n
516
+ \ <xsd:whiteSpace value=\"preserve\"/>\n <xsd:enumeration
517
+ value=\"L\"/>\n <xsd:enumeration value=\"K\"/>\n <xsd:enumeration
518
+ value=\"G\"/>\n </xsd:restriction>\n </xsd:simpleType>\n
519
+ \ <xsd:simpleType name=\"EventCode\">\n <xsd:restriction
520
+ base=\"xsd:string\">\n <xsd:whiteSpace value=\"preserve\"/>\n
521
+ \ <xsd:length value=\"2\"/>\n </xsd:restriction>\n
522
+ \ </xsd:simpleType>\n <xsd:simpleType name=\"Signatory\">\n
523
+ \ <xsd:restriction base=\"xsd:string\">\n <xsd:whiteSpace
524
+ value=\"preserve\"/>\n </xsd:restriction>\n </xsd:simpleType>\n
525
+ \ <xsd:simpleType name=\"Signatory2\">\n <xsd:restriction
526
+ base=\"xsd:string\">\n <xsd:whiteSpace value=\"preserve\"/>\n
527
+ \ </xsd:restriction>\n </xsd:simpleType>\n <xsd:complexType
528
+ name=\"ShipperReference\">\n <xsd:sequence>\n <xsd:element
529
+ name=\"ReferenceID\" nillable=\"true\" type=\"xsd:string\"/>\n <xsd:element
530
+ minOccurs=\"0\" name=\"ReferenceType\" nillable=\"true\" type=\"xsd:string\"/>\n
531
+ \ </xsd:sequence>\n </xsd:complexType>\n \t\t\t<xsd:element
532
+ name=\"trackShipmentRequest\" type=\"tns:trackShipmentRequest\"/>\n\t\t\t<xsd:element
533
+ name=\"trackShipmentRequestResponse\" type=\"tns:trackShipmentRequestResponse\"/>\n\t</xsd:schema></wsdl:types><wsdl:message
534
+ name=\"trackShipmentRequestIn\"><wsdl:part name=\"parameters\" element=\"tns:trackShipmentRequest\"/></wsdl:message><wsdl:message
535
+ name=\"trackShipmentRequestOut\"><wsdl:part name=\"parameters\" element=\"tns:trackShipmentRequestResponse\"/></wsdl:message><wsdl:portType
536
+ name=\"gblDHLExpressTrack\"><wsdl:operation name=\"trackShipmentRequest\"><wsdl:input
537
+ message=\"tns:trackShipmentRequestIn\"/><wsdl:output message=\"tns:trackShipmentRequestOut\"/></wsdl:operation></wsdl:portType><wsdl:binding
538
+ name=\"gblDHLExpressTrack\" type=\"tns:gblDHLExpressTrack\"><soap:binding
539
+ style=\"document\" transport=\"http://schemas.xmlsoap.org/soap/http\"/><wsdl:operation
540
+ name=\"trackShipmentRequest\"><soap:operation soapAction=\"glDHLExpressTrack_providers_services_trackShipment_Binder_trackShipmentRequest\"
541
+ style=\"document\"/><wsdl:input><soap:body use=\"literal\" parts=\"parameters\"/></wsdl:input><wsdl:output><soap:body
542
+ use=\"literal\" parts=\"parameters\"/></wsdl:output></wsdl:operation></wsdl:binding><wsdl:service
543
+ name=\"gblDHLExpressTrack\"><wsdl:port name=\"gblDHLExpressTrack\" binding=\"tns:gblDHLExpressTrack\"><soap:address
544
+ location=\"https://wsbuat.dhl.com:8300/gbl/glDHLExpressTrack\"/></wsdl:port></wsdl:service></wsdl:definitions>"
545
+ http_version:
546
+ recorded_at: Sat, 01 Jun 2013 07:15:38 GMT
547
+ recorded_with: VCR 2.5.0