Advertisement
Guest User

Untitled

a guest
Dec 4th, 2017
1,043
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.51 KB | None | 0 0
  1. false
  2. Dhl\Client Object
  3. (
  4. [soapClient:Dhl\Client:private] => SoapClient Object
  5. (
  6. [trace] => 1
  7. [_exceptions] =>
  8. [_stream_context] => Resource id #3
  9. [_soap_version] => 1
  10. [sdl] => Resource id #4
  11. [httpsocket] => Resource id #5
  12. [_use_proxy] => 0
  13. [httpurl] => Resource id #7
  14. [__last_request_headers] => POST /webapi2/provider/service.html?ws=1 HTTP/1.1
  15. Host: sandbox.dhl24.com.pl
  16. Connection: Keep-Alive
  17. User-Agent: PHP-SOAP/7.0.22-0ubuntu0.16.04.1
  18. Content-Type: text/xml; charset=utf-8
  19. SOAPAction: "https://sandbox.dhl24.com.pl/webapi2/provider/service.html?ws=1#createShipments"
  20. Content-Length: 2439
  21. Cookie: SID=d07351osqkrci4a825nb8sc825296sod2pj6tnm21s639q79v8p1;
  22.  
  23.  
  24. [__last_response_headers] => HTTP/1.1 500 Internal Service Error
  25. Server: nginx
  26. Date: Mon, 04 Dec 2017 15:17:52 GMT
  27. Content-Type: text/xml; charset=utf-8
  28. Content-Length: 278
  29. Connection: keep-alive
  30. Expires: Thu, 19 Nov 1981 08:52:00 GMT
  31. Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
  32. Pragma: no-cache
  33.  
  34. [_cookies] => Array
  35. (
  36. [SID] => Array
  37. (
  38. [0] => d07351osqkrci4a825nb8sc825296sod2pj6tnm21s639q79v8p1
  39. [1] => /
  40. [3] => 1
  41. [2] => sandbox.dhl24.com.pl
  42. )
  43.  
  44. )
  45.  
  46. [__last_request] =>
  47. MACLAW.PLfag3M9OEbTaIZoCAsfalt Records00056WarszawaKredytowa9asfaltshop@asfalt.plMaciej Maj32014BrzezieBrzezie3881662607684maclaw@maclaw.plPACKAGE1CASHSHIPPER6000000AH2017-12-04płyty / merch
  48.  
  49. [__last_response] =>
  50. ExceptionWystąpił błąd
  51.  
  52. [__soap_fault] => SoapFault Object
  53. (
  54. [message:protected] => Wystąpił błąd
  55. [string:Exception:private] =>
  56. [code:protected] => 0
  57. [file:protected] => /home/asfaltshop-test/apis/Dhl/Client.php
  58. [line:protected] => 42
  59. [trace:Exception:private] => Array
  60. (
  61. [0] => Array
  62. (
  63. [file] => /home/asfaltshop-test/apis/Dhl/Client.php
  64. [line] => 42
  65. [function] => __call
  66. [class] => SoapClient
  67. [type] => ->
  68. [args] => Array
  69. (
  70. [0] => createShipments
  71. [1] => Array
  72. (
  73. [0] => Array
  74. (
  75. [authData] => Array
  76. (
  77. [username] => MACLAW.PL
  78. [password] => fag3M9OEbTaIZoC
  79. )
  80.  
  81. [shipments] => Array
  82. (
  83. [0] => Array
  84. (
  85. [shipper] => Array
  86. (
  87. [name] => Asfalt Records
  88. [postalCode] => 00056
  89. [city] => Warszawa
  90. [street] => Kredytowa
  91. [houseNumber] => 9
  92. [apartmentNumber] =>
  93. [contactPerson] =>
  94. [contactPhone] =>
  95. [contactEmail] => asfaltshop@asfalt.pl
  96. )
  97.  
  98. [receiver] => Array
  99. (
  100. [name] => Maciej Maj
  101. [postalCode] => 32014
  102. [city] => Brzezie
  103. [street] => Brzezie
  104. [houseNumber] => 388
  105. [apartmentNumber] => 1
  106. [contactPerson] =>
  107. [contactPhone] => 662607684
  108. [contactEmail] => maclaw@maclaw.pl
  109. )
  110.  
  111. [pieceList] => Array
  112. (
  113. [0] => Array
  114. (
  115. [type] => PACKAGE
  116. [width] =>
  117. [height] =>
  118. [length] =>
  119. [weight] =>
  120. [quantity] => 1
  121. [nonStandard] =>
  122. )
  123.  
  124. )
  125.  
  126. [payment] => Array
  127. (
  128. [paymentMethod] => CASH
  129. [payerType] => SHIPPER
  130. [accountNumber] => 6000000
  131. )
  132.  
  133. [service] => Array
  134. (
  135. [product] => AH
  136. [deliveryEvening] =>
  137. [deliverySaturday] =>
  138. [collectOnDelivery] =>
  139. [collectOnDeliveryValue] =>
  140. [collectOnDeliveryForm] =>
  141. [collectOnDeliveryReference] =>
  142. [insurance] =>
  143. [insuranceValue] =>
  144. [returnOnDelivery] =>
  145. [returnOnDeliveryReference] =>
  146. [proofOfDelivery] =>
  147. [selfCollect] =>
  148. [predeliveryInformation] =>
  149. [preaviso] =>
  150. )
  151.  
  152. [shipmentDate] => 2017-12-04
  153. [content] => płyty / merch
  154. [comment] =>
  155. [skipRestrictionCheck] =>
  156. )
  157.  
  158. )
  159.  
  160. )
  161.  
  162. )
  163.  
  164. )
  165.  
  166. )
  167.  
  168. [1] => Array
  169. (
  170. [file] => /home/asfaltshop-test/playground/dhl24.php
  171. [line] => 66
  172. [function] => createShipments
  173. [class] => Dhl\Client
  174. [type] => ->
  175. [args] => Array
  176. (
  177. [0] => Dhl\Structure\ShipmentFullData\Collection Object
  178. (
  179. [items:Dhl\Structure\ShipmentFullData\Collection:private] => Array
  180. (
  181. [0] => Dhl\Structure\ShipmentFullData Object
  182. (
  183. [shipmentId:Dhl\Structure\ShipmentFullData:private] =>
  184. [created:Dhl\Structure\ShipmentFullData:private] =>
  185. [shipper:Dhl\Structure\ShipmentFullData:private] => Dhl\Structure\Address Object
  186. (
  187. [name:Dhl\Structure\Address:private] => Asfalt Records
  188. [postalCode:Dhl\Structure\Address:private] => 00056
  189. [city:Dhl\Structure\Address:private] => Warszawa
  190. [street:Dhl\Structure\Address:private] => Kredytowa
  191. [houseNumber:Dhl\Structure\Address:private] => 9
  192. [apartmentNumber:Dhl\Structure\Address:private] =>
  193. [contactPerson:Dhl\Structure\Address:private] =>
  194. [contactPhone:Dhl\Structure\Address:private] =>
  195. [contactEmail:Dhl\Structure\Address:private] => asfaltshop@asfalt.pl
  196. )
  197.  
  198. [receiver:Dhl\Structure\ShipmentFullData:private] => Dhl\Structure\ReceiverAddress Object
  199. (
  200. [country:Dhl\Structure\ReceiverAddress:private] => pl
  201. [name:Dhl\Structure\Address:private] => Maciej Maj
  202. [postalCode:Dhl\Structure\Address:private] => 32014
  203. [city:Dhl\Structure\Address:private] => Brzezie
  204. [street:Dhl\Structure\Address:private] => Brzezie
  205. [houseNumber:Dhl\Structure\Address:private] => 388
  206. [apartmentNumber:Dhl\Structure\Address:private] => 1
  207. [contactPerson:Dhl\Structure\Address:private] =>
  208. [contactPhone:Dhl\Structure\Address:private] => 662607684
  209. [contactEmail:Dhl\Structure\Address:private] => maclaw@maclaw.pl
  210. )
  211.  
  212. [orderStatus:Dhl\Structure\ShipmentFullData:private] =>
  213. [reference:Dhl\Structure\ShipmentFullData:private] =>
  214. [content:Dhl\Structure\ShipmentFullData:private] => płyty / merch
  215. [comment:Dhl\Structure\ShipmentFullData:private] =>
  216. [shipmentDate:Dhl\Structure\ShipmentFullData:private] => 2017-12-04
  217. [service:Dhl\Structure\ShipmentFullData:private] => Dhl\Structure\ServiceDefinition Object
  218. (
  219. [product:Dhl\Structure\ServiceDefinition:private] => AH
  220. [deliveryEvening:Dhl\Structure\ServiceDefinition:private] =>
  221. [deliverySaturday:Dhl\Structure\ServiceDefinition:private] =>
  222. [collectOnDelivery:Dhl\Structure\ServiceDefinition:private] =>
  223. [collectOnDeliveryValue:Dhl\Structure\ServiceDefinition:private] =>
  224. [collectOnDeliveryForm:Dhl\Structure\ServiceDefinition:private] =>
  225. [collectOnDeliveryReference:Dhl\Structure\ServiceDefinition:private] =>
  226. [insurance:Dhl\Structure\ServiceDefinition:private] =>
  227. [insuranceValue:Dhl\Structure\ServiceDefinition:private] =>
  228. [returnOnDelivery:Dhl\Structure\ServiceDefinition:private] =>
  229. [returnOnDeliveryReference:Dhl\Structure\ServiceDefinition:private] =>
  230. [proofOfDelivery:Dhl\Structure\ServiceDefinition:private] =>
  231. [selfCollect:Dhl\Structure\ServiceDefinition:private] =>
  232. [predeliveryInformation:Dhl\Structure\ServiceDefinition:private] =>
  233. [preaviso:Dhl\Structure\ServiceDefinition:private] =>
  234. )
  235.  
  236. [payment:Dhl\Structure\ShipmentFullData:private] => Dhl\Structure\PaymentData Object
  237. (
  238. [paymentMethod:Dhl\Structure\PaymentData:private] => CASH
  239. [payerType:Dhl\Structure\PaymentData:private] => SHIPPER
  240. [accountNumber:Dhl\Structure\PaymentData:private] => 6000000
  241. )
  242.  
  243. [pieceList:Dhl\Structure\ShipmentFullData:private] => Array
  244. (
  245. [0] => Dhl\Structure\PieceDefinition Object
  246. (
  247. [types:Dhl\Structure\PieceDefinition:private] => Array
  248. (
  249. [0] => ENVELOPE
  250. [1] => PACKAGE
  251. [2] => PALLET
  252. )
  253.  
  254. [type:Dhl\Structure\PieceDefinition:private] => PACKAGE
  255. [width:Dhl\Structure\PieceDefinition:private] =>
  256. [height:Dhl\Structure\PieceDefinition:private] =>
  257. [length:Dhl\Structure\PieceDefinition:private] =>
  258. [weight:Dhl\Structure\PieceDefinition:private] =>
  259. [quantity:Dhl\Structure\PieceDefinition:private] => 1
  260. [nonStandard:Dhl\Structure\PieceDefinition:private] =>
  261. )
  262.  
  263. )
  264.  
  265. [skipRestrictionCheck:Dhl\Structure\ShipmentFullData:private] =>
  266. )
  267.  
  268. )
  269.  
  270. )
  271.  
  272. )
  273.  
  274. )
  275.  
  276. )
  277.  
  278. [previous:Exception:private] =>
  279. [faultstring] => Wystąpił błąd
  280. [faultcode] => Exception
  281. )
  282.  
  283. )
  284.  
  285. [authData:Dhl\Client:private] => Dhl\Structure\AuthData Object
  286. (
  287. [username:Dhl\Structure\AuthData:private] => MACLAW.PL
  288. [password:Dhl\Structure\AuthData:private] => fag3M9OEbTaIZoC
  289. )
  290.  
  291. [errorMessages:Dhl\Client:private] => Array
  292. (
  293. [0] => Wystąpił błąd
  294. )
  295.  
  296. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement