Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unknown Com Status Code
Message
From
05/11/2001 13:11:23
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
02/11/2001 10:24:01
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Web Services
Miscellaneous
Thread ID:
00576701
Message ID:
00577477
Views:
22
>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

Jerry,
I just tried this one and worked (if 45 F is true for Redmond WA - I had zipcode from there) :

lcZipCode='98052'
oWS = CREATEOBJECT("MSSOAP.SoapClient")
oWS.MSSoapInit("http://www.xmethods.net/sd/TemperatureService.wsdl", "TemperatureService", "TemperaturePort")
?oWS.getTemp(lCZipCode)

Unknown COM status code sounds like a parameter is missing or incorrect ?
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform