Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Real time weather on a form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01211915
Message ID:
01232068
Vues:
19
Hi Timothy, on the task pane, once you click on the "ValidateZip",
you get a window that looks like a Form with a Grid, the Grid has three
colmns "Parameter", "Type" and "Value", that is what I'm refering to.
Under "Parameter" you have the word "ZipCode", under "Type" you have
"String", which means the parameter should be of Type Strings, under
"Value" you have a blank space, click on that blank space and type
the Zip Code then click on "Ok", you should get your results after that.
Try it and let me know.

I'll email you the pricture of the process.





>I've returned, sorry for delay. I tried this project again, running your small prg code but I do not know quite what you mean when you refer to column "value". Is this in the task panel? I get error message like :OLE IDispatch exception code from client... blah blah sending soap message failed no response received" I have regestered USZip w/no errors.
>
>
>
>>Timothy, Great!!, that is because it needs the "value" of the one "string" parameter, just click on the column "value", just after the word "string" and replace it with your 5 digits zip code, hit ok and you should see a window with the xml values, i.e. if you enter 33029 you should get:
>>
>>
>>
>> result code="200"
>> item zip="33029" state="FL" latitude="26.00637" longitude="-80.40212"
>> result
>>
>>
>>and if you click "Data view" you should get a table with the values from
>>the xml.
>>
>>And of course you can now implement the previous code we were playing with.
>>
>>Good luck.
>>
>>
>>>Luis, UPDATE, I got the task panel to work and I registered the USzip that you gave me. When I click VALIDATEZip in the task panel dropdown and TEST THIS SERVICE, I get a "zipcode=(string) message then I click OK and this comes up
>>>
>>>Error: 1429 - OLE IDispatch exception code 0 from Client: Client:An unanticipated error occurred during the processing of this request. HRESULT=0x800A13BE - Client:Sending the Soap message failed or no recognizable response was received HRESULT=0x800A13BE - Client:Unspecified client error. HRESULT=0x800A13BE..
>>>Client:An unanticipated error occurred during the processing of this request. HRESULT=0x800A13BE - Client:Sending the Soap message failed or no recognizable response was received HRESULT=0x800A13BE - Client:Unspecified client error. HRESULT=0x800A13BE
>>
>>
>>>
>>>>Hi Timothy, Yes it is suppose to work as it is, I copy the code from this message in my computer running VFP8 and it ran without a problem, see
>>>>if in the code when you type "loNotification." opens the intellisense, it should. What version of Fox are you using?, What version of the SOAP client?
>>>> Let me know.
>>>
>>>>>>LOCAL loNotification AS "MSSOAP.SoapClient30"
>>>>>>* Do not remove or alter following line. It is used to support IntelliSense for your XML Web service.
>>>>>>*__VFPWSDef__: lonotification = http://www.webservicemart.com/uszip.asmx?wsdl notification , notificationSoap
>>>>>>
>>>>>>lcZip = "33029"
>>>>>>loNotification = CREATEOBJECT("MSSOAP.SoapClient30")
>>>>>>
>>>>>>leRtnVal = loNotification.MSSoapInit("http://www.webservicemart.com/uszip.asmx?wsdl")
>>>>>>
>>>>>>
>>>>>>leResult = loNotification.ValidateZip(lcZip)
>>>>>>
>>>>>>XMLTOCURSOR(leResult,'ZIP')
>>>>>>
>>>>>>SELECT ZIP
>>>>>>BROWSE
Luis Guzman, MCP
"The only glory most of us have to hope for
is the glory of being normal." Katherine Fulleton Gerould
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform