I usually just do a cfdump of the cfhttp variable. If you aren't getting what you expect then you've either got the wrong url or are not passing something correctly. You may need to be grabbing a cookie from an earlier landing page and passing that back as part of the cfhttp request. And depending on what type of web server the site is on that cookie may need to be appended to the url (;jsessionid=xyz).
I've been going rounds with various cfhttp calls too and am about to post my own question regarding getting pdfs... Stay tuned. :) -Matt > I'll include the whole get-go here and see if anyone sees anything > else. The server was disconnected accidentally for the last 2 hours > so I got behind on my posts. > > > Here is the URL and the result from a browser: > > http://server.somewhere. > com/websvc/util?a=doHTMLRequest&event=workgroupstat > > Result from the request: > > <HTML><HEAD><TITLE>Agents Available</TITLE></HEAD><BODY><H2>workgroup:Chat</H2> ><H2>agents_available:1</H2><H2>agents_logged_in:1</H2></BODY></HTML> > > here is the CF code: > > <cfset Mokrynski.PageName = "_"> > <cfsetting showdebugoutput="no"> > <!---cfhttp > method="get" > url="http://server.somewhere.com/websvc/util"> > <cfhttpparam name="a" type="URL" value="doHTMLRequest"> > <cfhttpparam name="event" type="URL" value="workgroupstat"> > </cfhttp---> > <cfhttp > method="get" > url="http://server.somewhere. > com/websvc/util?a=doHTMLRequest&event=workgroupstat" /> > > <cfset agentCount = (cfhttp.fileContent)> > <cfoutput>#agentCount#</cfoutput> > > <cfoutput> > <p>cfhttp.errorDetail: #cfhttp.errorDetail#</p> > <p>cfhttp.text: #cfhttp.text#</p> > <p>cfhttp.statusCode #cfhttp.statusCode#</p> > <p>cfhttp.MIMEType #cfhttp.MIMEType#</p> > <p>cfhttp.header #cfhttp.header#</p> > </cfoutput> > > here is the source code from the resultant page when I use the code > above: > ........... > about 10 blank lines............. > > <p>cfhttp.errorDetail: </p> > <p>cfhttp.text: YES</p> > <p>cfhttp.statusCode 200 OK</p> > <p>cfhttp.MIMEType Unable to determine MIME type of file. > </p> > <p>cfhttp.header HTTP/1.1 200 OK > Set-Cookie: JSESSIONID=CDE7D7C516BA85674B6859522ADC9CB4; Path=/websvc > Date: Thu, 04 Jun 2009 16:25:12 GMT > Content-Length: 0 > Server: Microsoft-IIS/6.0 > X-Powered-By: ASP.NET > </p> > > I expect to see the <HTML><HEAD>... etc. code above the cfhttp. > variables listed at the bottom. > > Thanks in advance. > Jerry ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323181 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

