Flaschenzug

Results 20 comments of Flaschenzug

Sure. But actually there is no output :-/ ``` $request = new \ChristophSchaeffer\Dhl\BusinessShipping\Request\Tracking\getPieceDetail(); $request->pieceCode = '00340431161094027318'; try { $response = $clientDhl->getPieceDetail($request); } catch(\Exception $e) { echo "exception: ".$e->getXmlRequest()." !exception end";...

> What PHP Version are you using? And what version of this library? PHP 8.0.20 Library: 3.3.2 (the newest, updated via composer 2 days ago)

> Another way to get the xml request beforehand is doing this: > > use ChristophSchaeffer\Dhl\BusinessShipping\Utility\XmlParser; > XmlParser::buildXmlRequest($request); ``` $test_request = new \ChristophSchaeffer\Dhl\BusinessShipping\Request\Tracking\getPieceDetail(); $test_request->pieceCode = '00340434492098429045'; use ChristophSchaeffer\Dhl\BusinessShipping\Utility\XmlParser; print_r(XmlParser::buildXmlRequest($test_request)); //...

``` public function getPieceDetail($request) { $request = $this->sanitizeRequest($request); var_dump($request); // returns -> object(ChristophSchaeffer\Dhl\BusinessShipping\Request\Tracking\getPieceDetail)#16 (1) { ["pieceCode"]=> string(20) "00340434492098429045" } X1 $request = $this->fillRequestData($request); var_dump($request); // returns -> object(ChristophSchaeffer\Dhl\BusinessShipping\Request\Tracking\getPieceDetail)#16 (5) {...

Sorry, I just realized: The exception is not empty - just plain html code and hidden: ``` $request = new \ChristophSchaeffer\Dhl\BusinessShipping\Request\Tracking\getPieceDetail(); $request->pieceCode = '00340431161094027318'; try { $response = $clientDhl->getPieceDetail($request); }...

Does the result of the exception change anything? ``` $request = new \ChristophSchaeffer\Dhl\BusinessShipping\Request\Tracking\getPieceDetail(); $request->pieceCode = '00340431161094027318'; try { $response = $clientDhl->getPieceDetail($request); } catch(\Exception $e) { echo "exception:".$e->getXmlRequest()."!exception end"; } exception:...

I created a Ticket on entwickler.dhl.de , I'll keep you updated. I also installed SoapUI and imported the demo files of DHL. After adding my username and password, the demo...

To set a new password they ask for "mindestens eine Ziffer (0-9) und ein Sonderzeichen (z.B. +, $, /, !, ?)" The support confirmed: The problem was one of the...

Everything works fine now. Thanks for your incredible help Christoph! If you ever need to set up an account, prevent special chars (even if the DHL asks for them). !...

I had the same problem in SoapUI too. So not your lib but a DHL thing.