Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Web Services
Message
 
 
À
13/06/2003 16:59:40
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Titre:
Divers
Thread ID:
00800018
Message ID:
00800172
Vues:
25
Hi Jim,

I got the same error running your code. I think it's a problem with web service itself not with your code.

>Hello,
>
> I am trying to use a web service for getting directions and am having a problem. I get the following error message "OLE IDispatch exception code 0 from SOAP-ENV:Server: List index out of bounds(10).."
>
>The code I am running is below.
>
>
>   LOCAL oDirections as Directions
>   LOCAL loWS
>   loWS = NEWOBJECT("Wsclient",HOME()+"ffc\_webservices.vcx")
>   loWS.cWSName = "Directions"
>   oDirections = loWS.SetupClient  ;
("http://ww6.borland.com/webservices/MapQuest/MapQuest.exe/wsdl/IMapQuest", ;
"IMapQuestservice", "IMapQuestPort")
>   lcFromAddress = "11 douglas Ave"
>   lcFromCity = "Elgin"
>   lcFromState = "IL"
>   lcFromCountry = "USA"
>   lcFromAddress2 = "4344 Oak Park Ave"
>   lcFromCity2 = "Stickney"
>   lcFromState2 = "IL"
>   lcFromCountry2 = "USA"
>   lcDirections = oDirections.GetDirections  ;
 (lcFromAddress,lcFromCity,lcFromstate,lcFromCountry, ;
lcFromAddress2,lcFromCity   2,lcFromstate2,lcFromCountry2)
>   this.edit1.Value = lcdirections
>
>
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform