Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
kaypro4 #1
Error Consuming geocoder.us web service
Any ideas? Seems really simple. Thanks for any help.
Here is the error:
[url]http://www.geocoder.us/help/[/url]
<cfinvoke
webservice="http://geocoder.us/dist/eg/clients/GeoCoder.wsdl"
method="GeocoderResult"
returnvariable="returned">
<cfinvokeargument name="geocode" value="1600 Pennsylvania Av, Washington, DC"/>
</cfinvoke>
<cfoutput>
out: #returned#
</cfoutput>
kaypro4 Guest
-
Consuming Web Service Error
Hello, I know there's several similar posts, but I thought I'd give this a shot: I'm trying to consume a CFC as a webservice. The CFC can be... -
Error consuming web service
Hi I am trying to access a web method which is on my local server from a vb.net client which is also on the same server. In client I am using the... -
consuming web service
hi there, I'm new on web services... I've already created a webservice and created the proxy class using wsdl. How can I create a .asp page... -
Consuming a web service from VB 6
Hi, I have written a web service use ASP.NET I can access i from VB 6 via XMLHTTP and everything works fine until I try to pass parameters to... -
Error in consuming .Net Web Service through an ASP client
maybe try a different newsgroup: microsoft.public.msdn.soaptoolkit "Sriram Mallajyosula" <kooldoode2002@yahoo.com> wrote in message... -
PaulH #2
Re: Error Consuming geocoder.us web service
i've always used REST w/those guys.
<cfhttp
url="http://rpc.geocoder.us/service/rest?address=#urlencodedFormat(address)#"
method="GET" charset="utf-8"/>
i might have something SOAP though i kind of vaguely recall it not working.
let me dig into my archives.
PaulH Guest
-
PaulH #3
Re: Error Consuming geocoder.us web service
you're in luck (though i don't know why we used REST rather than the SOAP):
<cfscript>
geocoder=createObject("webservice","http://geocoder.us/dist/eg/clients/GeoCoder
..wsdl");
geocoder.setUsername(userName);
geocoder.setPassword(password);
geocodeResults=geocoder.geocode_address("1600 Pennsylvania Av, Washington,
DC");
</cfscript>
<cfoutput>
<cfloop index="i" from="1" to="#arrayLen(geocodeResults)#">
#geocodeResults[i].getLat()#, #geocodeResults[i].get_Long()# <br>
</cfloop>
</cfoutput>
PaulH Guest



Reply With Quote

