[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: FedEx Tracking information web service



I do FedEx with their server using their and Scott's APIs

I don't use SOAP, they installed a server that passes shipping info to
their host every hour or so.  All labels and tracking #'s are generated
from their server.  The only problem I have is international packages.

Craig

-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Pablo Wolff
Sent: Friday, March 28, 2008 9:40 AM
To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
Subject: FedEx Tracking information web service

Hello everyone,

 

I'm really new in the world of the web services; saying I want to know
if
anyone can guide in how can I use the FedEx web services to track a
package.
I already read part of FedEx documentation but I'm still very confused.

 

Specifically, when I call the web service, what the url that I should
use:

 

SOAP =

        '<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>'

       +'<SOAP:Envelope'

       +'    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";'

       +'    xmlns:v2="http://fedex.com/ws/track/v2";>'

       +'<soapenv:Header/>'

       +'<soapenv:Body>'

       +'  <v2:TrackRequest>'

       +'     <v2:WebAuthenticationDetail>'

       +'        <v2:UserCredential>'

       +'           <v2:Key>'+ %trim(KEY) + '</v2:Key>'

       +'           <v2:Password>'+ %trim(PASSWORD) + '</v2:Password>'

       +'        </v2:UserCredential>'

       +'     </v2:WebAuthenticationDetail>'

       +'     <v2:ClientDetail>'

       +'        <v2:AccountNumber>'+ %trim(ACCOUNT) +
'</v2:AccountNumber>'

       +'        <v2:MeterNumber>'+ %trim(METER) + '</v2:MeterNumber>'

       +'        <v2:Localization>'

       +'           <v2:LanguageCode>'+ %trim(LANG) +
'</v2:LanguageCode>'

       +'        </v2:Localization>'

       +'     </v2:ClientDetail>'

       +'     <v2:Version>'

       +'        <v2:ServiceId>trck</v2:ServiceId>'

       +'        <v2:Major>2</v2:Major>'

       +'        <v2:Intermediate>0</v2:Intermediate>'

       +'        <v2:Minor>0</v2:Minor>'

       +'     </v2:Version>'

       +'     <v2:PackageIdentifier>'

       +'        <v2:Value>'+ %trim(Tracking) + '</v2:Value>'

       +'        <v2:Type>'+ %trim(PKG_IND) + '</v2:Type>'

       +'     </v2:PackageIdentifier>'

       +'  </v2:TrackRequest>'

       +'</soapenv:Body>'

       +'</soapenv:Envelope>';    

  

 

rc = http_url_post_xml(

                  'http:????? --> what should go here.

 

Thanks.

 

 

Pablo Wolff

Senior Systems Analyst

 

Optical Experts Manufacturing

(704) 504-1877 Ext. 274

Cell: (704) 975-3413

2345 Township Road

Charlotte, NC 28273

 


Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.  Unless expressly stated in this e-mail, nothing in this message or any attachment should be construed as a digital or electronic signature.
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------