/** * @see EPSInterface::updateBillOfLading() */ public function updateBillOfLading($sessionId, $picking) { try { $updateBillOfLadingStdObject = new stdClass(); $updateBillOfLadingStdObject->sessionId = $sessionId; $updateBillOfLadingStdObject->picking = $picking->toStdClass(); $response = parent::updateBillOfLading($updateBillOfLadingStdObject); if (isset($response->return)) { $resultBOL = new ResultBOL($response->return); } else { $resultBOL = null; } return $resultBOL; } catch (SoapFault $sf) { throw new ServerException($sf); } }