I've written an application to communicate with eBay via their (relatively
new) API. I make an http call to eBay and get back XML using the SOXML
tag. What's the difference between that an a web service exactly?

<!--- Instantiate object and make request --->
<cfobject type="COM" action="Create" name="objServerXMLHttp"
class="msxml2.ServerXMLHTTP.4.0">
<cfset objServerXMLHttp.open("#Method#", "#URL#", False)>
<cfset objServerXMLHttp.send("#XMLRequest#")>
<!--- Set response --->
<CFSET objDOM = objServerXMLHttp.responseXML>
<!--- Transform XML response to CF structure --->
<cf_SOXML action="XML2CF" encoding="iso-8859-1" input="#objDOM.xml#"
output="eBayResponse">

> SOXML is a very good tag, they parse XML very similar to CF5. It even makes
> a dump like cfxml. www.siteobjects.com
>
> Robert Everland III
> Web Developer Extraordinaire
> Dixon Ticonderoga Company
> http://www.dixonusa.com
>
> -----Original Message-----
> From: Ben Forta [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 11, 2002 12:06 AM
> To: CF-Talk
> Subject: RE: Web Services and CF5
>
>
> CF5 has no built in support for Web Services. Best you'll be able to do is
> use <CFHTTP> to make a request and you'll get XML data back. Then you'll
> need to use a third party XML parser (sorry, <CFXML> tag is CFMX
> only) to manipulate the data. Bottom line, use CFMX.
>
> --- Ben
>
>
>
> -----Original Message-----
> From: Jim Vosika [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 10, 2002 11:47 PM
> To: CF-Talk
> Subject: Web Services and CF5
>
>
> I have never used Web Services before and I thought I should figure them out
> during my free time before I actually need to. I tried searching on google
> for topics about web services and cold fusion and could not find anything
> related to CF5 which is all I get to deal with. I am trying to integrate
> with google's api and I found a code snippet on their website for use with
> cold fusion mx that used this tag below to use the web service. Seems pretty
> simple but I can't seem to figure out the Cold Fusion 5 equivalent tag(s) to
> use web services, could someone please point me in the right direction? Here
> is the code for cfmx:
>
>             <cfinvoke
>
> webservice="http://api.google.com/GoogleSearch.wsdl";
>                          method="doGoogleSearch"
>                          key="--- PUT YOUR KEY HERE ---"
>                          q="#searchterm#"
>                          start="0"
>                          maxResults="10"
>                          filter="true"
>                          restrict=""
>                          safeSearch="false"
>                          lr=""
>                          ie="latin1"
>                          oe="latin1"
>                          returnVariable="resultset"
>                         >
>
>
> Thanks,
> Jim Vosika
> http://tinyclick.com <http://tinyclick.com/>  <http://tinyclick.com/>
> Free URL Shortening!
>
>
>
>
>
> 
______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to