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

Click here to load this message in the networking platform