Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I make my web service accept a parameter?
Message
 
À
14/08/2005 20:12:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01040463
Message ID:
01040884
Vues:
16
I see...
Very Interesting...

Usually I will use third-part free web services with weather publishing (if they exists :) on a client's computer...

But, can we return to the IE. Did you try something like this in your web service:

*
* Grab money from Internet
*
* 24/06/2005
*
PRIVATE lcmoneyweb && web site where we can find exchange rates...
m.lcaliastmp=ALIAS()
m.lcmoneyweb='http://mwprices.ft.com/custom/ft-com/html-currency-summary.asp?view=currency-convert&symbols=FOREXR:GBPUS+FOREXR:USDUS+GBP|USD|225'

ox=CREATEOBJECT("Shell.Explorer")

CREATE CURSOR xtemp (mtemp m)
APPEND BLANK
REPLACE mtemp WITH ReadURL( m.lcmoneyweb)
ox=NULL

in mtemp will be your web page in HTML format and after you can parce it...



>well i don't really require IE, all i am trying to do in the Web Service is to load a web page over the internet. so for example, i am trying to create a test web service that returns the weather for a particular postal code. my colleague calls my web service and passes a postal code. my web service goes out to www.weather.com and gets the weather for that postal code and then returns in.
>
>don't know how else i can do this without using IE from within the web service.
>
>thanks.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform