Using VFP7.
I am trying to use the Fedx tracking web service, however I keep getting an "Unknown Com Status Code" error message. We are inside of a firewall, could that cause the problem?
My code is below. However, when I type "o." in the prg, the "getstatus" method appears in intellisense. So I think my code should work unless I am missing something.
LOCAL lc_trackno AS String
lc_trackno = "myfedxtrackingno"
LOCAL o AS wfedx1
LOCAL loWS
loWS = NEWOBJECT("Wsclient",HOME()+"ffc\_webservices.vcx")
loWS.cWSName = "wfedx1"
o = loWS.SetupClient("http://www.xmethods.net/sd/2001/FedExTrackerService.wsdl", "FedExTrackerService", "FedExTrackerPort")
?o.getStatus(lc_trackno)
Any suggestions.
Thanks,
Jerryt