function _commerce_fedex_soap_wsdl_file in Commerce FedEx 7
Internal function to return an array of wsdl files keyed by their metho
Parameters
string $method: The FedEx API method being called.
Return value
string The file name that corresponds with the method being called.
1 call to _commerce_fedex_soap_wsdl_file()
- commerce_fedex_submit_soap_request in includes/
commerce_fedex_soap_client.inc - Submits a SOAP request to FedEx and returns the response object.
File
- includes/
commerce_fedex_soap_client.inc, line 202 - Handles the SOAP request/response to FedEx Web Services servers.
Code
function _commerce_fedex_soap_wsdl_file($method) {
// Build an array of wsdl file names that is keyed by FedEx API methods.
$files = array(
'getRates' => 'RateService_v13.wsdl',
);
if (!empty($files[$method])) {
return $files[$method];
}
return FALSE;
}