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:&nbsp;&nbsp;#cfhttp.errorDetail#</p>
<p>cfhttp.text:&nbsp;&nbsp;#cfhttp.text#</p>
<p>cfhttp.statusCode&nbsp;&nbsp;#cfhttp.statusCode#</p>
<p>cfhttp.MIMEType&nbsp;&nbsp;#cfhttp.MIMEType#</p>
<p>cfhttp.header&nbsp;&nbsp;#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:&nbsp;&nbsp;</p>
<p>cfhttp.text:&nbsp;&nbsp;YES</p>
<p>cfhttp.statusCode&nbsp;&nbsp;200 OK</p>
<p>cfhttp.MIMEType&nbsp;&nbsp;Unable to determine MIME type of file.</p>
<p>cfhttp.header&nbsp;&nbsp;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:323177
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to