Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FedEx xml or not ?
Message
De
04/03/2003 15:36:48
 
 
À
04/03/2003 12:50:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00760667
Message ID:
00761164
Vues:
33
hello ,

well try as I might I can not get passed an error with my code, see below,
in which it tells me that I can access the getStatus method, any suggestions, thank you.

I am using the wwwipstuf libs
#INCLUDE WCONNECT.h

SET PROCEDURE TO classes/wwutils
DO PATH WITH "./classes"
DO PATH WITH "./TTsoapSample"
DO path WITH "./wwwip"


**SET PROCEDURE TO wwwip/wwUtils ADDITIVE
**SET PROCEDURE TO wwwip/wwEval ADDITIVE
**SET PROCEDURE TO wwwip/CodeBlockClass ADDITIVE
**SET CLASSLIB TO wwwip/wwIPStuff ADDITIVE
**SET CLASSLIB TO wwwip/wwXML ADDITIVE
**SET PROCEDURE TO wwwip/wwHTTP ADDITIVE   && Required by wwXML
**SET PROCEDURE TO wwwip/WWPOP3 ADDIT

*** Load wwSOAP dependencies
DO wwSOAP
oSOAP = CREATEOBJECT("wwSOAP")
oSOAP.cServerUrl = "http://services.xmethods.net:80/perl/soaplite.cgi"
** oSOAP.cServerUrl = "http://www.xmethods.net/sd/2001/FedExTrackerService.wsdl"
oSOAP.AddParameter("trackingNumber","618255833910")
lcStatus = oSOAP.CallMethod("getStatus")
IF oSOAP.lError
  MESSAGEBOX(oSOAP.cErrorMsg)
  RETURN
ENDIF

? "Order status:", lcStatus

? "Result Type: " + VARTYPE(lcStatus)
>thank you Michel, and I will post my findings here..
>
>thanks
>
>mark oliva
>
>>>I did not know they had such a thing , I will take a look
>>
>>Try this:
>>
>>http://www.xmethods.net/sd/2001/FedExTrackerService.wsdl
>>
>>What I don't understand is that I was not able to find Web Service related information from Fedex site but only third parties that provides the service on other Web site. Let us know how it works. This can also interests me as well.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform