cfhttp in Coldfusion return "Connection Failed"

I have a cfhttp tag that consistently returns "Connection Failed".  Here is the code:

<cfhttp url="http://freecite.library.brown.edu/citations/create" method="post" charset="utf-8">
      <cfhttpparam type="header" name="Accept" value="text/xml">
      <cfhttpparam type="formfield" name="citation[string]" value="A. Bookstein and S. T. Klein,  Detecting content-bearing words by serial clustering,  Proceedings of the Nineteenth Annual International ACM SIGIR Conference on Research and Development in Information Retrieval, pp. 319327,   1995.">
</cfhttp>

This form works, however:

<form action="http://freecite.library.brown.edu/citations/create" method="post" >
<textarea cols="80" id="citation_string" name="citation[string]" rows="10">
Udvarhelyi, I.S., Gatsonis, C.A., Epstein, A.M., Pashos, C.L., Newhouse, J.P. and McNeil, B.J. Acute Myocardial Infarction in the Medicare population: process of care and clinical outcomes. Journal of the American Medical Association, 1992; 18:2530-2536.
</textarea>
<input name="commit" type="submit" value="Parse!" />
</form>

I tried adding in resolveurl and redirect in the cfhttp tag and I also tried using the compression header values in case the response was compressed.  Nothing works so far.  On the freecite website, this ruby code is supposed to work, if this helps:

require 'net/http'

Net::HTTP.start('localhost', 3000) do |http|
  response = http.post('/citations/create',
    'citation=A. Bookstein and S. T. Klein,  \
    Detecting content-bearing words by serial clustering,  \
    Proceedings of the Nineteenth Annual International ACM SIGIR Conference \
    on Research and Development in Information Retrieval,   \
    pp. 319327,   1995.',
    'Accept' => 'text/xml')

  puts "Code: #{response.code}"
  puts "Message: #{response.message}"
  puts "Body:\n #{response.body}"
end

Any help appreciated in getting the cfhttp call working.  Thanks.
ARL-AROAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

_agx_Commented:
<cfhttpparam type="formfield" name="citation[string]"

I think the field name is just "citation"

<cfhttp url="http://freecite.library.brown.edu/citations/create" method="post" charset="utf-8">
      <cfhttpparam type="header" name="Accept" value="text/xml">
      <cfhttpparam type="formfield" name="citation" value="A. Bookstein and S. T. Klein,  Detecting content-bearing words by serial clustering,  Proceedings of the Nineteenth Annual International ACM SIGIR Conference on Research and Development in Information Retrieval, pp. 319327,   1995.">
</cfhttp>

Open in new window

0
Brijesh ChauhanStaff IT EngineerCommented:
Make sure you are NOT behind a proxy, if you are then use the proxyserver and proxyport along with the CFHTTP tag..
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
_agx_Commented:
There could be multiple problems. One of them is the field name. With the corrected named: "citation" the code succeeds. "citation[string]" fails with a 500 error.
0
ARL-AROAuthor Commented:
As it turns out, it was blocked at our firewall, duh!  The comment about the proxy put me on the right track.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Servers

From novice to tech pro — start learning today.