[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
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
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------