Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Web Services
Message
From
13/06/2003 16:59:40
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Web Services
Title:
Web Services
Miscellaneous
Thread ID:
00800018
Message ID:
00800018
Views:
56
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
Next
Reply
Map
View

Click here to load this message in the networking platform