Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- false
- Dhl\Client Object
- (
- [soapClient:Dhl\Client:private] => SoapClient Object
- (
- [trace] => 1
- [_exceptions] =>
- [_stream_context] => Resource id #3
- [_soap_version] => 1
- [sdl] => Resource id #4
- [httpsocket] => Resource id #5
- [_use_proxy] => 0
- [httpurl] => Resource id #7
- [__last_request_headers] => POST /webapi2/provider/service.html?ws=1 HTTP/1.1
- Host: sandbox.dhl24.com.pl
- Connection: Keep-Alive
- User-Agent: PHP-SOAP/7.0.22-0ubuntu0.16.04.1
- Content-Type: text/xml; charset=utf-8
- SOAPAction: "https://sandbox.dhl24.com.pl/webapi2/provider/service.html?ws=1#createShipments"
- Content-Length: 2439
- Cookie: SID=d07351osqkrci4a825nb8sc825296sod2pj6tnm21s639q79v8p1;
- [__last_response_headers] => HTTP/1.1 500 Internal Service Error
- Server: nginx
- Date: Mon, 04 Dec 2017 15:17:52 GMT
- Content-Type: text/xml; charset=utf-8
- Content-Length: 278
- Connection: keep-alive
- Expires: Thu, 19 Nov 1981 08:52:00 GMT
- Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
- Pragma: no-cache
- [_cookies] => Array
- (
- [SID] => Array
- (
- [0] => d07351osqkrci4a825nb8sc825296sod2pj6tnm21s639q79v8p1
- [1] => /
- [3] => 1
- [2] => sandbox.dhl24.com.pl
- )
- )
- [__last_request] =>
- MACLAW.PLfag3M9OEbTaIZoCAsfalt Records00056WarszawaKredytowa9asfaltshop@asfalt.plMaciej Maj32014BrzezieBrzezie3881662607684maclaw@maclaw.plPACKAGE1CASHSHIPPER6000000AH2017-12-04płyty / merch
- [__last_response] =>
- ExceptionWystąpił błąd
- [__soap_fault] => SoapFault Object
- (
- [message:protected] => Wystąpił błąd
- [string:Exception:private] =>
- [code:protected] => 0
- [file:protected] => /home/asfaltshop-test/apis/Dhl/Client.php
- [line:protected] => 42
- [trace:Exception:private] => Array
- (
- [0] => Array
- (
- [file] => /home/asfaltshop-test/apis/Dhl/Client.php
- [line] => 42
- [function] => __call
- [class] => SoapClient
- [type] => ->
- [args] => Array
- (
- [0] => createShipments
- [1] => Array
- (
- [0] => Array
- (
- [authData] => Array
- (
- [username] => MACLAW.PL
- [password] => fag3M9OEbTaIZoC
- )
- [shipments] => Array
- (
- [0] => Array
- (
- [shipper] => Array
- (
- [name] => Asfalt Records
- [postalCode] => 00056
- [city] => Warszawa
- [street] => Kredytowa
- [houseNumber] => 9
- [apartmentNumber] =>
- [contactPerson] =>
- [contactPhone] =>
- [contactEmail] => asfaltshop@asfalt.pl
- )
- [receiver] => Array
- (
- [name] => Maciej Maj
- [postalCode] => 32014
- [city] => Brzezie
- [street] => Brzezie
- [houseNumber] => 388
- [apartmentNumber] => 1
- [contactPerson] =>
- [contactPhone] => 662607684
- [contactEmail] => maclaw@maclaw.pl
- )
- [pieceList] => Array
- (
- [0] => Array
- (
- [type] => PACKAGE
- [width] =>
- [height] =>
- [length] =>
- [weight] =>
- [quantity] => 1
- [nonStandard] =>
- )
- )
- [payment] => Array
- (
- [paymentMethod] => CASH
- [payerType] => SHIPPER
- [accountNumber] => 6000000
- )
- [service] => Array
- (
- [product] => AH
- [deliveryEvening] =>
- [deliverySaturday] =>
- [collectOnDelivery] =>
- [collectOnDeliveryValue] =>
- [collectOnDeliveryForm] =>
- [collectOnDeliveryReference] =>
- [insurance] =>
- [insuranceValue] =>
- [returnOnDelivery] =>
- [returnOnDeliveryReference] =>
- [proofOfDelivery] =>
- [selfCollect] =>
- [predeliveryInformation] =>
- [preaviso] =>
- )
- [shipmentDate] => 2017-12-04
- [content] => płyty / merch
- [comment] =>
- [skipRestrictionCheck] =>
- )
- )
- )
- )
- )
- )
- [1] => Array
- (
- [file] => /home/asfaltshop-test/playground/dhl24.php
- [line] => 66
- [function] => createShipments
- [class] => Dhl\Client
- [type] => ->
- [args] => Array
- (
- [0] => Dhl\Structure\ShipmentFullData\Collection Object
- (
- [items:Dhl\Structure\ShipmentFullData\Collection:private] => Array
- (
- [0] => Dhl\Structure\ShipmentFullData Object
- (
- [shipmentId:Dhl\Structure\ShipmentFullData:private] =>
- [created:Dhl\Structure\ShipmentFullData:private] =>
- [shipper:Dhl\Structure\ShipmentFullData:private] => Dhl\Structure\Address Object
- (
- [name:Dhl\Structure\Address:private] => Asfalt Records
- [postalCode:Dhl\Structure\Address:private] => 00056
- [city:Dhl\Structure\Address:private] => Warszawa
- [street:Dhl\Structure\Address:private] => Kredytowa
- [houseNumber:Dhl\Structure\Address:private] => 9
- [apartmentNumber:Dhl\Structure\Address:private] =>
- [contactPerson:Dhl\Structure\Address:private] =>
- [contactPhone:Dhl\Structure\Address:private] =>
- [contactEmail:Dhl\Structure\Address:private] => asfaltshop@asfalt.pl
- )
- [receiver:Dhl\Structure\ShipmentFullData:private] => Dhl\Structure\ReceiverAddress Object
- (
- [country:Dhl\Structure\ReceiverAddress:private] => pl
- [name:Dhl\Structure\Address:private] => Maciej Maj
- [postalCode:Dhl\Structure\Address:private] => 32014
- [city:Dhl\Structure\Address:private] => Brzezie
- [street:Dhl\Structure\Address:private] => Brzezie
- [houseNumber:Dhl\Structure\Address:private] => 388
- [apartmentNumber:Dhl\Structure\Address:private] => 1
- [contactPerson:Dhl\Structure\Address:private] =>
- [contactPhone:Dhl\Structure\Address:private] => 662607684
- [contactEmail:Dhl\Structure\Address:private] => maclaw@maclaw.pl
- )
- [orderStatus:Dhl\Structure\ShipmentFullData:private] =>
- [reference:Dhl\Structure\ShipmentFullData:private] =>
- [content:Dhl\Structure\ShipmentFullData:private] => płyty / merch
- [comment:Dhl\Structure\ShipmentFullData:private] =>
- [shipmentDate:Dhl\Structure\ShipmentFullData:private] => 2017-12-04
- [service:Dhl\Structure\ShipmentFullData:private] => Dhl\Structure\ServiceDefinition Object
- (
- [product:Dhl\Structure\ServiceDefinition:private] => AH
- [deliveryEvening:Dhl\Structure\ServiceDefinition:private] =>
- [deliverySaturday:Dhl\Structure\ServiceDefinition:private] =>
- [collectOnDelivery:Dhl\Structure\ServiceDefinition:private] =>
- [collectOnDeliveryValue:Dhl\Structure\ServiceDefinition:private] =>
- [collectOnDeliveryForm:Dhl\Structure\ServiceDefinition:private] =>
- [collectOnDeliveryReference:Dhl\Structure\ServiceDefinition:private] =>
- [insurance:Dhl\Structure\ServiceDefinition:private] =>
- [insuranceValue:Dhl\Structure\ServiceDefinition:private] =>
- [returnOnDelivery:Dhl\Structure\ServiceDefinition:private] =>
- [returnOnDeliveryReference:Dhl\Structure\ServiceDefinition:private] =>
- [proofOfDelivery:Dhl\Structure\ServiceDefinition:private] =>
- [selfCollect:Dhl\Structure\ServiceDefinition:private] =>
- [predeliveryInformation:Dhl\Structure\ServiceDefinition:private] =>
- [preaviso:Dhl\Structure\ServiceDefinition:private] =>
- )
- [payment:Dhl\Structure\ShipmentFullData:private] => Dhl\Structure\PaymentData Object
- (
- [paymentMethod:Dhl\Structure\PaymentData:private] => CASH
- [payerType:Dhl\Structure\PaymentData:private] => SHIPPER
- [accountNumber:Dhl\Structure\PaymentData:private] => 6000000
- )
- [pieceList:Dhl\Structure\ShipmentFullData:private] => Array
- (
- [0] => Dhl\Structure\PieceDefinition Object
- (
- [types:Dhl\Structure\PieceDefinition:private] => Array
- (
- [0] => ENVELOPE
- [1] => PACKAGE
- [2] => PALLET
- )
- [type:Dhl\Structure\PieceDefinition:private] => PACKAGE
- [width:Dhl\Structure\PieceDefinition:private] =>
- [height:Dhl\Structure\PieceDefinition:private] =>
- [length:Dhl\Structure\PieceDefinition:private] =>
- [weight:Dhl\Structure\PieceDefinition:private] =>
- [quantity:Dhl\Structure\PieceDefinition:private] => 1
- [nonStandard:Dhl\Structure\PieceDefinition:private] =>
- )
- )
- [skipRestrictionCheck:Dhl\Structure\ShipmentFullData:private] =>
- )
- )
- )
- )
- )
- )
- [previous:Exception:private] =>
- [faultstring] => Wystąpił błąd
- [faultcode] => Exception
- )
- )
- [authData:Dhl\Client:private] => Dhl\Structure\AuthData Object
- (
- [username:Dhl\Structure\AuthData:private] => MACLAW.PL
- [password:Dhl\Structure\AuthData:private] => fag3M9OEbTaIZoC
- )
- [errorMessages:Dhl\Client:private] => Array
- (
- [0] => Wystąpił błąd
- )
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement