diff --git a/src/FedEx/DGDSService/Request.php b/src/FedEx/DGDSService/Request.php
index 6bd0bf04..0f320e85 100644
--- a/src/FedEx/DGDSService/Request.php
+++ b/src/FedEx/DGDSService/Request.php
@@ -1,6 +1,6 @@
populateFromStdClass($response);
return $addDangerousGoodsHandlingUnitReply;
}
-
+
/**
* Sends the ModifyDangerousGoodsShipmentRequest and returns the response
*
@@ -49,12 +49,12 @@ public function getModifyDangerousGoodsShipmentReply(ComplexType\ModifyDangerous
if ($returnStdClass) {
return $response;
}
-
+
$modifyDangerousGoodsShipmentReply = new ComplexType\ModifyDangerousGoodsShipmentReply;
$modifyDangerousGoodsShipmentReply->populateFromStdClass($response);
return $modifyDangerousGoodsShipmentReply;
}
-
+
/**
* Sends the UploadDangerousGoodsRequest and returns the response
*
@@ -68,12 +68,12 @@ public function getUploadDangerousGoodsReply(ComplexType\UploadDangerousGoodsReq
if ($returnStdClass) {
return $response;
}
-
+
$uploadDangerousGoodsReply = new ComplexType\UploadDangerousGoodsReply;
$uploadDangerousGoodsReply->populateFromStdClass($response);
return $uploadDangerousGoodsReply;
}
-
+
/**
* Sends the ModifyDangerousGoodsHandlingUnitRequest and returns the response
*
@@ -87,12 +87,12 @@ public function getModifyDangerousGoodsHandlingUnitReply(ComplexType\ModifyDange
if ($returnStdClass) {
return $response;
}
-
+
$modifyDangerousGoodsHandlingUnitReply = new ComplexType\ModifyDangerousGoodsHandlingUnitReply;
$modifyDangerousGoodsHandlingUnitReply->populateFromStdClass($response);
return $modifyDangerousGoodsHandlingUnitReply;
}
-
+
/**
* Sends the DeleteDangerousGoodsHandlingUnitRequest and returns the response
*
@@ -106,12 +106,12 @@ public function getDeleteDangerousGoodsHandlingUnitReply(ComplexType\DeleteDange
if ($returnStdClass) {
return $response;
}
-
+
$deleteDangerousGoodsHandlingUnitReply = new ComplexType\DeleteDangerousGoodsHandlingUnitReply;
$deleteDangerousGoodsHandlingUnitReply->populateFromStdClass($response);
return $deleteDangerousGoodsHandlingUnitReply;
}
-
+
/**
* Sends the DeleteDangerousGoodsRequest and returns the response
*
@@ -125,12 +125,12 @@ public function getDeleteDangerousGoodsReply(ComplexType\DeleteDangerousGoodsReq
if ($returnStdClass) {
return $response;
}
-
+
$deleteDangerousGoodsReply = new ComplexType\DeleteDangerousGoodsReply;
$deleteDangerousGoodsReply->populateFromStdClass($response);
return $deleteDangerousGoodsReply;
}
-
+
/**
* Sends the RetrieveDangerousGoodsRequest and returns the response
*
@@ -144,26 +144,26 @@ public function getRetrieveDangerousGoodsReply(ComplexType\RetrieveDangerousGood
if ($returnStdClass) {
return $response;
}
-
+
$retrieveDangerousGoodsReply = new ComplexType\RetrieveDangerousGoodsReply;
$retrieveDangerousGoodsReply->populateFromStdClass($response);
return $retrieveDangerousGoodsReply;
}
-
+
/**
- * Sends the alidateDangerousGoods and returns the response
+ * Sends the ValidateDangerousGoodsRequest and returns the response
*
- * @param ComplexType\alidateDangerousGoods $alidateDangerousGoods
+ * @param ComplexType\ValidateDangerousGoodsRequest $validateDangerousGoodsRequest
* @param bool $returnStdClass Return the $stdClass response directly from \SoapClient
* @return ComplexType\ValidateDangerousGoodsReply|stdClass
*/
- public function getReply(ComplexType\alidateDangerousGoods $alidateDangerousGoods, $returnStdClass = false)
+ public function getValidateDangerousGoodsReply(ComplexType\ValidateDangerousGoodsRequest $validateDangerousGoodsRequest, $returnStdClass = false)
{
- $response = $this->getSoapClient()->$alidateDangerousGoods->toArray();
+ $response = $this->getSoapClient()->validateDangerousGoods($validateDangerousGoodsRequest->toArray());
if ($returnStdClass) {
return $response;
}
-
+
$validateDangerousGoodsReply = new ComplexType\ValidateDangerousGoodsReply;
$validateDangerousGoodsReply->populateFromStdClass($response);
return $validateDangerousGoodsReply;
diff --git a/src/FedEx/_wsdl/DGDS_v3.wsdl b/src/FedEx/_wsdl/DGDS_v3.wsdl
index 357c89f4..b903ca03 100755
--- a/src/FedEx/_wsdl/DGDS_v3.wsdl
+++ b/src/FedEx/_wsdl/DGDS_v3.wsdl
@@ -1179,7 +1179,7 @@
-
+
@@ -1249,8 +1249,8 @@
-
-
+
+
diff --git a/util/Cli/GenerateCode/Command/GenerateCode.php b/util/Cli/GenerateCode/Command/GenerateCode.php
index a54f1907..abd25010 100644
--- a/util/Cli/GenerateCode/Command/GenerateCode.php
+++ b/util/Cli/GenerateCode/Command/GenerateCode.php
@@ -36,6 +36,8 @@ protected function configure()
*/
protected function execute(InputInterface $input, OutputInterface $output)
{
+ ini_set("soap.wsdl_cache_enabled", 0);
+
if (!isset($_SERVER['PWD'])) {
throw new \Exception('Cannot determin current working directory. Make sure you run this script from command line.');
}