Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Web Services
Message
De
13/06/2003 16:59:40
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Titre:
Web Services
Divers
Thread ID:
00800018
Message ID:
00800018
Vues:
58
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
Thanks

Jim
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform