Consuming FedEx Web Services with Drupal



To use Drupal with FedEx Web Services, you\'ll first need to familiarize yourself with the FedEx Developer Resource Center at FedEx.com and also sign up for a developer\'s account. Once you have your account, you can log in to the Developer Resource Center and download specific WSDLs to use with your Drupal site integration. FedEx Web Services also provides the sample code that you can use.


If you use WSDLs with your test integration, with the SOAP Client, you\'ll need to locate the WSDL URL on the FedEx Web Service Server so that we can point to this in our SOAP server endpoint URL field. This is where we\'ll add the URL to the FedEx WSDL. You can also download the WSDL and upload it to your Drupal site/ server, and then add that URL to your SOAP Client configuration and test.


You can also get a developer test key to test your FedEx Web Service, and enter this API key\'s username and password in your SOAP Client configuration. To run your FedEx module integration in a real testing environment, you\'ll want to sign up for a FedEx Web Service Developer\'s account so that you can get the API credentials.


 


FedEx provides web services through an API that you can communicate with and consume in your Drupal site. The example here will be to get shipping quotes for the products that your customers add to their Ubercart shopping cart. When they add the products, they will be able to get accurate and up-to-date shipping quotes from the FedEx service. FedEx will act as a service provider or server here, and your Drupal site will be consuming these services.


You’re going to need to sign up for a FedEx Developer account, so you can get an API key to use with the FedEx Shipping Quotes module. The FedEx Shipping Quotes for Ubercart module is a contributed Drupal project module that allows your Drupal site to communicate with and consume web services from the FedEx Web Services API. This allows you to get shipping quotes directly from the FedEx servers. Your store customers and Drupal site visitors will be able to add a product to their cart and then select a FedEx shipping method and retrieve the shipping quote for the respective method in real time from the FedEx API server. As a store administrator, you can select which FedEx shipping methods to use in your store and what types of packaging and pickup/dropoff to use. Shoppers will be able to click on a Calculate Shipping Rate button or add the shipping rate to be returned based on their shipping address information they have entered into the Ubercart shipping address form fieldset. The module requires you to have the SOAP extension enabled in your PHP 5.x installation. 

Editor: ankita Added on: 2013-03-11 18:46:56 Total View:444







Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---