Dave and Brad,
Thanks a bunch for your attention to this matter.
I finally got to speak with the author of the web service and he told me that
the web service is expecting a web connection with cookie and session ID on
the client side.
I see Brad noted that a cookie could be part of the
I'm not sure about the sessionID but I'll try to figure something out. I
guess that when CF
calls the page from CFHTTP the cookie and session ID are not established
(provided)
whereas when viewed through a browser it is.
Those things aren't provided by default when you use CFHTTP. It's
Gerald Weir wrote:
I'm not sure about the sessionID but I'll try to figure something out. I
guess that when CF calls the page from CFHTTP the cookie and session ID are
not established (provided) whereas when viewed through a browser it is.
The cookie is provided when CF calls the page
Hello all,
I've tried using cfhttpparam and it hasn't helped. The only thing that I can
think of at this moment is that CF's CFHTTP doesn't properly format the request
if a doc-type suffix is not present. So, since I have the following:
I've tried using cfhttpparam and it hasn't helped. The only thing that I can
think of at
this moment is that CF's CFHTTP doesn't properly format the request if a
doc-type
suffix is not present. So, since I have the following:
Hello Dave,
It's been a long time since I've received your advice, glad to see you're still
at it and helping out.
Unfortunately, it clearly doesn't work. I can - and have - repeatedly called
the page using that URL from a browser and it works. It's a pretty simple
request and returns very
Unfortunately, it clearly doesn't work. I can - and have - repeatedly called
the page
using that URL from a browser and it works. It's a pretty simple request and
returns
very simple HTML code. I've made a copy of the request response and saved it
as a
simple HTML file on the same
Gerald,
What do you mean when you say it doesn't work? Does the remote server
respond? What HTTP status code comes back? What is in the body of the
response?
I would recommend installing a packet sniffer like wireshark. Install it on
your CF server and run your browser tests from there.
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=doHTMLRequestevent=workgroupstat
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
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:
That's not the whole get-go. Where are the HTTP request and response
Dave,
Is this what you need? I'm beginning to think that it is a security setting on
the web service itself. Like an access setting in a cffunction. I'm not sure
how the web service is constructed - it's not CFM.
-
-Multiple-ColdFusion-CFHttp-Requests.htm
The web service provider should have documented information as what the
web service requires to be consumed including whether cookies need to be
accepted and returned.
~Brad
Original Message
Subject: Re: CFHTTP Problem - is file type
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=doHTMLRequestevent=workgroupstat;
throwonerror=yes
cfset theContent = #cfhttp.FileContent#
cfoutput
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
Francois,
I guess it's not clear that the code I included beginning with HTMLHEAD
is the correct response using the URL using a browser.
I'm thinking now that possibly because the other server is not a CF server I
may need to use cfhttpparam. I do not use this on several cfhttp-based
I am trying to extract data from a textfile database, using CFHTTP. The
problem I am running into is that there are null fields in the textfile
database and CFHTTP is then counting two fields as one (tab seperated). For
example, in my textfile there will be something like this:
field1 field2
No suggestions on this one?
I am trying to extract data from a textfile database, using CFHTTP.
The problem I am running into is that there are null fields in the
textfile database and CFHTTP is then counting two fields as one (tab
seperated). For example, in my textfile there will be
I don't think you'll be able to fetch it directly into a query with
cfhttp unless you can put a value in those columns. The alternative
would be fetch the content into the usual text string returned in the
cfhttp content variable and parse the content once you have it down.
No suggestions on
with whatever you
wanted
Then put it in a query structure
Messy? Yes. Huge lists usually are. The best thing to do would be to fix it
before it is read in.
-Original Message-
From: David Critchley [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 05, 2005 4:42 PM
To: CF-Talk
Subject: CFHTTP
Hi All.
I'm having a problem getting access to a service via HTTP. The problem
I'm having is that the Post Header the service requires starts:
POST /DCDS/AvailSearch.exe HTTP/1.1
and at the moment I'm using a CFHTTP with method=Post and getting:
POST HTTP/1.1
Any ideas how I get the other bit
Ignore me... I was being thick... The /DCDS/AvailSearch.exe is simply
the path the file I need to post the data to.
Andrew.
On Mon, 8 Nov 2004 11:45:39 +, Andrew Dixon [EMAIL PROTECTED] wrote:
Hi All.
I'm having a problem getting access to a service via HTTP. The problem
I'm having is
I've been using PayPal's IPN system for automated purchasing for a while
now. It's been working like a champ for a couple of months, and then
suddenly stopped working without change to the code or server config.
After searching high and low, I discovered that PayPal recently changed
their IPN
: CFHTTP problem, SSL, and PayPal IPN
I've been using PayPal's IPN system for automated purchasing for a while
now. It's been working like a champ for a couple of months, and then
suddenly stopped working without change to the code or server config.
After searching high and low, I discovered
Anyone have any ideas for a possible CFHTTP replacement that
DOES do 128bit SSL correctly?
The IO JSP custom tag from the Jakarta project should work:
http://jakarta.apache.org/taglibs/doc/io-doc/index.html
But as others have said, you should probably look to migrate to CFMX 6.1,
which fixes
The following code works in cf5 but not in mx running on port 8500. Am I missing
something here?
cfhttp
url=http://stg1.experian.com/lookupServlet1?lookupServiceName=AccessPointlookupServiceVersion=1.0serviceName=NetConnectDemoserviceVersion=2.0responseType=text/plain;
method=GET
does your proxy server that you are running through have any issues
with the 8500 port number?
tw
-Original Message-
From: Houk, Gary [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 29, 2002 2:45 PM
To: CF-Talk
Subject: CFHTTP problem with cfmx
The following code works in cf5
Under CF4 and 5 the following block of code returned a query result set as
it should.
cfhttp url=https://www.domain.com/file.csv;
username=user
password=pass
method=GET
name=FetchCSV
columns=Domain,Reg,Renewal
delimiter=,
textqualifier=
What's the error its throwing?
-Original Message-
From: James Smith [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 13, 2002 4:32 AM
To: CF-Talk
Subject: CFHTTP Problem in MX (not 4 or 5)
Under CF4 and 5 the following block of code returned a query result set as
it should.
cfhttp
...
- Original Message -
From: Stacy Young [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, August 13, 2002 12:57 PM
Subject: RE: CFHTTP Problem in MX (not 4 or 5)
What's the error its throwing?
-Original Message-
From: James Smith [mailto:[EMAIL PROTECTED]]
Sent: Tuesday
]
Sent: Tuesday, August 13, 2002 12:57 PM
Subject: RE: CFHTTP Problem in MX (not 4 or 5)
What's the error its throwing?
-Original Message-
From: James Smith [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 13, 2002 4:32 AM
To: CF-Talk
Subject: CFHTTP Problem in MX (not 4
Message -
From: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, August 13, 2002 4:20 PM
Subject: Re: CFHTTP Problem in MX (not 4 or 5)
Sounds like you're going to have to retrieve it via CFHTTP and parse it
manually via variable blob instead of taking the CFHTTP attributes
I am attempting to use cfhttp to automate my login to another site.
The login action page is checklogin.asp. If I cfhttp to that page using
port 443 and method of post
with appropriate form fields as cfhttpparam I get a connection error
cfhttp
I've got a strange problem going on here with using cfhttp tag.
Environment is NT4.0 IIS4 CF4.51 (Allow anon users disabled -
Windows Challenge/Response) I've also tried on Win2k IIS5 with
same problem arising.
I keep getting an Access denied message (cfhttp.filecontent)
and was
if you know the login/password, can't you use:
http://{login}:{password}@{URL}
in the URL attribute?
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 12, 2001 8:55 PM
To: CF-Talk
Subject: RE: Strange CFHTTP Problem
I've got a strange
if you know the login/password, can't you use:
http://{login}:{password}@{URL}
in the URL attribute?
That won't work using CFHTTP against a URL secured with NTLM Authentication.
CFHTTP only supports Basic Authentication in CF 4.5.1 and higher. Older
versions of CFHTTP on Windows
It applears that CFHTTP is not retrieving javascript from a page, i.e., code
between the curly brackets {} is mysteriously missing. The source with and
without CFHTTP is shown below:
I am using CFHTTP (CF5) to grab a page but receive the following script
error:
pMicrosoft JScript runtime
It applears that CFHTTP is not retrieving javascript from a
page, i.e., code between the curly brackets {} is mysteriously
missing. The source with and without CFHTTP is shown below:
I am using CFHTTP (CF5) to grab a page but receive the
following script error:
...
I am able
Hi all,
I've got a strange problem going on here with using cfhttp tag.
Environment is NT4.0 IIS4 CF4.51 (Allow anon users disabled - Windows
Challenge/Response) I've also tried on Win2k IIS5 with same problem
arising.
I keep getting an "Access denied" message (cfhttp.filecontent) and was
A thousand apologies. I was not, in fact, 4.5.1 SP2. Service pack
installed--problem solved.
Aaron C. Redalen, MSLS
Computer Specialist
National Institute of Standards and Technology
[EMAIL PROTECTED]
~~
Structure your ColdFusion code with
I run a chatspace chat server on my website. I want to put a notice on
all of the cold fusion pages on the site when someone is in the chat room.
The chatspace server has a built in webserver on port 8000 which will let
you run a page that says how many people are in the chatroom.
For
'm getting the same error
message.
If you solved this could you let me know how.
Would be eternally gratefull.
-Original Message-
From: Philip Arnold - ASP [mailto:[EMAIL PROTECTED]]
Sent: 10 March 2001 20:49
To: CF-Talk
Subject: RE: CFHTTP Problem
On our production server and dev server (bo
On 3/13/01, John McCosker penned:
I'm experiencing exactly the same problem, I'm getting the same error
message.
If you solved this could you let me know how.
Would be eternally gratefull.
Like Philip said, I thought this was something that was fixed in one
of the service packs. Although I
Maybe you guys can help me out.
On our production server and dev server (both running Apache and CF 4.5.1
SP2)I
call an application on an external server via CFHTTP with POST as the method
and one
form variable that contains XML. I get the results back and take
care of them accordingly. No
On our production server and dev server (both running Apache and CF 4.5.1
SP2) I call an application on an external server via CFHTTP with POST as
the method and one form variable that contains XML. I get the results
back and take care of them accordingly. No problems.
Here is the problem:
Hi all,
I have encountered some severe strangeness with CFHTTP. I have a site
spilt over two servers - a secure server (our own) and a non-secure server
(the clients). The secure server communicated to a password protected
area on the insecure site via CFHTTP, to do some database setup
ED]
Reply-To: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Subject: Re: Web cam and CFHTTP problem
Date: Mon, 04 Dec 2000 14:04:26 +0700
Yes, the axis cam has a built in web server (and assigned ip number as
10.10.10.8)
We could call the live video using this URL parameter in our br
and cfinclude to capture the video URL page, but it
didn't work.
Any help will be highly appreciated,
Karenina
- Original Message -
From: Nick McClure
To: CF-Talk
Sent: Monday, December 04, 2000 11:16 AM
Subject: Re: Web cam and CFHTTP problem
I think you are right, but If I am
Sorry, don't forget the http://
At 10:25 PM 12/3/2000 -0500, you wrote:
I would just use a good old image tag
img src="10.10.10.8/img.jpg"
At 10:14 AM 12/4/2000 +0700, you wrote:
Hi,
We have a so called "company intranet portal" (server : 10.10.10.1).
Recently my company bought
#cfhttp.filecontent# isn't it? not #cfhttp.content#
- Original Message -
From: "Nick McClure" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Sunday, December 03, 2000 7:32 PM
Subject: Re: Web cam and CFHTTP problem
Sorry, don't forget the http://
At 10:2
it? not #cfhttp.content#
- Original Message -
From: "Nick McClure" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Sunday, December 03, 2000 7:32 PM
Subject: Re: Web cam and CFHTTP problem
Sorry, don't forget the http://
At 10:25 PM 12/3/2000 -0500, you wrote
appreciated,
Karenina
- Original Message -
From: Nick McClure
To: CF-Talk
Sent: Monday, December 04, 2000 11:16 AM
Subject: Re: Web cam and CFHTTP problem
I think you are right, but If I am not mistaken this camera is giving
images.
The axis cam has a built in web server that will send
Hello, I am unable to use cfhttp. For a while, I was getting a "Connection
Failure" error and so I read that if I added a / to the end it might work.
Now I am getting the ie "This page cannot be displayed" when I run it
locally, when I put it on our cf server it would just run and run so I
Hi Everyone,
I am having trouble with cfhttp. I am trying to execute a page and the page
just hangs for about 2 minutes then displays 'connection failure'. Maybe its
my set up here that is the problem but it does not make any sense to me.
Here is the code:
cfhttp method="get"
54 matches
Mail list logo