Hi Jerry,
If you go to the address in the browser, do you get the expected result?

Francois Levesque
http://blog.critical-web.com/


On Wed, Jun 3, 2009 at 1:25 PM, Gerald Weir <malleth...@att.net> wrote:

>
> Hello,
>
> Running CF8 on Win2003/IIS.  I have the following simple code to check a
> value from another server:
>
> <cfhttp method="get"
>    URL=
> "
> http://server.somewhere.com/websvc/util?a=doHTMLRequest&event=workgroupstat
> "
>        throwonerror="yes">
> <cfset theContent = "#cfhttp.FileContent#">
> <cfoutput>
>   #theContent#
> </cfoutput>
>
> If I change the URL to http://www.google.com or whatever I get the proper
> result.  The URL that is shown above returns nothing. The URL works fine.
> It's a simple HTML file with the following code from which I need to pull
> the agents_available data:
>
> <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>
>
> I cannot understand why I can call any other page from the internet and put
> it into my theContent variable but I can't call the one I need.  Could it be
> something in the structure of the URL??
>
> Any ideas are appreciate.  Regards, 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:323119
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