[KCFusion] cfhttp vs soap

2003-01-17 Thread Adaryl Wakefield
Title: Message



OK so what would be the difference if any if I used 
SOAP to get at information on another serveror just using cfhttpand 
ascripting language on the remote server to do the processing. Speed im 
guessing but anything else?
A.


Re: [KCFusion] cfhttp vs soap

2003-01-17 Thread Bradley Miller
At 09:56 AM 1/17/03 -0600, you wrote: 

OK so what would be the difference if any if I used SOAP to get at information on another server or just using cfhttp and a scripting language on the remote server to do the processing. Speed im guessing but anything else?
A. 




The ColdFusion remoting server offers more than that -- it acts as a proxy server also.  There are quite a few sites you can find with more information.  




__ The KCFusion.org list and website is hosted by Humankind Systems, Inc. List Archives http://www.mail-archive.com/cf-list@kcfusion.org Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED] To Subscribe mailto:[EMAIL PROTECTED] To Unsubscribe mailto:[EMAIL PROTECTED]


[KCFusion] CFHTTP-uploading comma delimited format to adatabase,(16,000+Records)

2002-03-25 Thread Richard Morrison

Ok, heres the problem i'm having, I made a custom tag to convert an excel 
spreedsheet to comma delimited format, works perfect, then i'm trying to 
make another custom tag using CFHTTP GET to upload the contents of this 
file to a query, for some reason I can't get it to work, also would the 
size of the text file be a problem?
I've been working on this for a day know, hope someone can help?



 
 
__
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives http://www.mail-archive.com/cf-list@kcfusion.org
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe mailto:[EMAIL PROTECTED]
To Unsubscribe mailto:[EMAIL PROTECTED]
 



RE: [KCFusion] CFHTTP-uploading comma delimited format to a database,(16,000+Records)

2002-03-25 Thread Misty Woodward

What exactly is the error you are getting when you say it isn't working? Do
you have any sample code we could see?

Misty

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Richard Morrison
Sent: Monday, March 25, 2002 11:43 PM
To: [EMAIL PROTECTED]
Subject: [KCFusion] CFHTTP-uploading comma delimited format to a
database,(16,000+Records)


Ok, heres the problem i'm having, I made a custom tag to convert an excel
spreedsheet to comma delimited format, works perfect, then i'm trying to
make another custom tag using CFHTTP GET to upload the contents of this
file to a query, for some reason I can't get it to work, also would the
size of the text file be a problem?
I've been working on this for a day know, hope someone can help?





__
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives http://www.mail-archive.com/cf-list@kcfusion.org
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe mailto:[EMAIL PROTECTED]
To Unsubscribe mailto:[EMAIL PROTECTED]



 
 
__
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives http://www.mail-archive.com/cf-list@kcfusion.org
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe mailto:[EMAIL PROTECTED]
To Unsubscribe mailto:[EMAIL PROTECTED]
 



[KCFusion] CFHTTP

2002-02-04 Thread Daryl Banttari

Is anyone on the list using CFHTTP extensively?  I'm going to be doing some
QA work on that tag for Neo, and I want to hear about anyone's negative
experiences with CFHTTP.

Please contact me off-list, so we don't clutter everyone's inbox.

--Daryl


 
 
__
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives http://www.mail-archive.com/cf-list@kcfusion.org
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe mailto:[EMAIL PROTECTED]
To Unsubscribe mailto:[EMAIL PROTECTED]
 



RE: [KCFusion] CFHTTP hopeless with proxy?

2002-01-14 Thread Keith Purtell

I installed this item as described and ran the code. I'm enclosing the error
message because I'm not familiar with Java ...

Diagnostics: Unhandled System exception !  java.lang.ClassNotFoundException:
ClassFormatError for class  HTTPClient.HTTPConnection. Java exception
occurred in call to method. The error occurred while processing an element
with a general identifier of (CFOBJECT), occupying document position (90:1)
to (95:2).

Keith Purtell, Web/Network Administrator
VantageMed Operations (Kansas City)
Email:  [EMAIL PROTECTED]

CONFIDENTIALITY NOTICE: This email message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply email and destroy all copies of the original
message.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Daryl Banttari
Sent: Friday, January 11, 2002 10:28 AM
To: [EMAIL PROTECTED]
Subject: Re: [KCFusion] CFHTTP hopeless with proxy?


I once got a Java http client working from within CF.

Here's what I did to get it working:
1.  Download the HTTPClient class files (.zip) from
http://www.innovation.ch/java/HTTPClient/
2.  Extract to C:\jdk1.3\jre\lib\HTTPClient
3.  Add C:\jdk1.3\jre\lib\ as Class Path in CF Admin
4.  Run following CF code:

cfobject action = Create type = Java
class = HTTPClient.HTTPConnection name = httpConn
cfscript
httpConn.init(www.windsorcs.com);
response=httpConn.Get(/);
content=response.getText();
/cfscript
cfoutput
#content#
/cfoutput

Voila!

(I wonder why the method is called Get(), instead of get()...)


- Original Message -
From: Keith Purtell [EMAIL PROTECTED]
To: KCFusion (E-mail) [EMAIL PROTECTED]
Sent: Friday, January 11, 2002 9:31 AM
Subject: [KCFusion] CFHTTP hopeless with proxy?


Before I give up on CFHTTP, I'll offer this description of my problem and
hope for a solution. We run CF5 on NT4 SP6a. It's a private server hosting
our intranet. I built a simple template that would use CFHTTP to go out
through our proxy server and test one of our public sites to make sure it
was up and running. If not, it notifies me. Then I scheduled the template to
run once an hour in the CF Admin. The template works fine if I use my
browser to access it. However, called my the Scheduler, this template always
fails to get past the proxy server, and instead returns 407 Proxy
Authentication Required. I have established a user account on the proxy
server and made sure to use the same username and password as I put in the
tag. I have also checked the username/password used inside the Scheduler,
and the username/password used by CF. The process only fails when the
Scheduler tries to call the template, and CFHTTP tries to get past the
proxy. There are a number of related threads on this in the Allaire forums.
But the only solutions people have found were to either write their own CFX,
or purchase the $150 Mabry HTTP/X and a related $50 custom tag. I can't do
either right now. I approached someone in the forum who had written their
own solution, but they didn't want to send me a copy. Just as frustrating, I
can't find any record of these failures in the proxy log! This particular
template is not mission critical, but if I can't make CFHTTP get past the
proxy, then I can't use it elsewhere. Comments?

CFHTTP
URL=http://www.domain.com/index.html;
METHOD=GET
RESOLVEURL=No
PROXYSERVER=ip.address.here
PROXYPORT=8080
USERNAME=username
PASSWORD=password
THROWONERROR=No
TIMEOUT=120

Keith Purtell, Web/Network Administrator
VantageMed Operations (Kansas City)
Email:  [EMAIL PROTECTED]

CONFIDENTIALITY NOTICE: This email message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply email and destroy all copies of the original
message.


 
 
__
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives http://www.mail-archive.com/cf-list@kcfusion.org
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe mailto:[EMAIL PROTECTED]
To Unsubscribe mailto:[EMAIL PROTECTED]
 



RE: [KCFusion] CFHTTP hopeless with proxy?

2002-01-14 Thread Keith Purtell

I unzipped as required, then went into CF Admin JVM and Java Settings and
used the Browse Server button next to Class Path to arrive at
C:\jdk1.3.1_01\jre\lib\HTTPClient, then I clicked the Submit Changes
button at the bottom of the page. I have also tried stopping and restarting
the CF service. Perhaps I need to add this as a system variable not just in
CF?

Keith Purtell, Web/Network Administrator
VantageMed Operations (Kansas City)
Email:  [EMAIL PROTECTED]

CONFIDENTIALITY NOTICE: This email message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply email and destroy all copies of the original
message.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Daryl Banttari
Sent: Monday, January 14, 2002 9:30 AM
To: [EMAIL PROTECTED]
Subject: Re: [KCFusion] CFHTTP hopeless with proxy?


java.lang.ClassNotFoundException means that CF couldn't find the class
files...

One of two things have gone wrong:

1.  You didn't add the jre/lib path to the CFAdmin (make sure it's valid!)
2.  You didn't extract the .zip file into jre/lib/HTTPClient

Double-check these things.

--Daryl
- Original Message -
From: Keith Purtell [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 14, 2002 9:14 AM
Subject: RE: [KCFusion] CFHTTP hopeless with proxy?


I installed this item as described and ran the code. I'm enclosing the error
message because I'm not familiar with Java ...

Diagnostics: Unhandled System exception !  java.lang.ClassNotFoundException:
ClassFormatError for class  HTTPClient.HTTPConnection. Java exception
occurred in call to method. The error occurred while processing an element
with a general identifier of (CFOBJECT), occupying document position (90:1)
to (95:2).

Keith Purtell, Web/Network Administrator
VantageMed Operations (Kansas City)
Email:  [EMAIL PROTECTED]

CONFIDENTIALITY NOTICE: This email message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply email and destroy all copies of the original
message.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Daryl Banttari
Sent: Friday, January 11, 2002 10:28 AM
To: [EMAIL PROTECTED]
Subject: Re: [KCFusion] CFHTTP hopeless with proxy?


I once got a Java http client working from within CF.

Here's what I did to get it working:
1.  Download the HTTPClient class files (.zip) from
http://www.innovation.ch/java/HTTPClient/
2.  Extract to C:\jdk1.3\jre\lib\HTTPClient
3.  Add C:\jdk1.3\jre\lib\ as Class Path in CF Admin
4.  Run following CF code:

cfobject action = Create type = Java
class = HTTPClient.HTTPConnection name = httpConn
cfscript
httpConn.init(www.windsorcs.com);
response=httpConn.Get(/);
content=response.getText();
/cfscript
cfoutput
#content#
/cfoutput

Voila!

(I wonder why the method is called Get(), instead of get()...)


- Original Message -
From: Keith Purtell [EMAIL PROTECTED]
To: KCFusion (E-mail) [EMAIL PROTECTED]
Sent: Friday, January 11, 2002 9:31 AM
Subject: [KCFusion] CFHTTP hopeless with proxy?


Before I give up on CFHTTP, I'll offer this description of my problem and
hope for a solution. We run CF5 on NT4 SP6a. It's a private server hosting
our intranet. I built a simple template that would use CFHTTP to go out
through our proxy server and test one of our public sites to make sure it
was up and running. If not, it notifies me. Then I scheduled the template to
run once an hour in the CF Admin. The template works fine if I use my
browser to access it. However, called my the Scheduler, this template always
fails to get past the proxy server, and instead returns 407 Proxy
Authentication Required. I have established a user account on the proxy
server and made sure to use the same username and password as I put in the
tag. I have also checked the username/password used inside the Scheduler,
and the username/password used by CF. The process only fails when the
Scheduler tries to call the template, and CFHTTP tries to get past the
proxy. There are a number of related threads on this in the Allaire forums.
But the only solutions people have found were to either write their own CFX,
or purchase the $150 Mabry HTTP/X and a related $50 custom tag. I can't do
either right now. I approached someone in the forum who had written their
own solution, but they didn't want to send me a copy. Just as frustrating, I
can't find any record of these failures in the proxy log! This particular
template is not mission critical, but if I can't make CFHTTP get past the
proxy, then I can't use it elsewhere

Re: [KCFusion] CFHTTP hopeless with proxy?

2002-01-14 Thread Daryl Banttari

Drop HTTPClient from the end of the lib path.

When you specify
class=HTTPClient.HTTPClient
the part before the period becomes a directory.

--Daryl

- Original Message -
From: Keith Purtell [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 14, 2002 9:42 AM
Subject: RE: [KCFusion] CFHTTP hopeless with proxy?


I unzipped as required, then went into CF Admin JVM and Java Settings and
used the Browse Server button next to Class Path to arrive at
C:\jdk1.3.1_01\jre\lib\HTTPClient, then I clicked the Submit Changes
button at the bottom of the page. I have also tried stopping and restarting
the CF service. Perhaps I need to add this as a system variable not just in
CF?

Keith Purtell, Web/Network Administrator
VantageMed Operations (Kansas City)
Email:  [EMAIL PROTECTED]

CONFIDENTIALITY NOTICE: This email message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply email and destroy all copies of the original
message.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Daryl Banttari
Sent: Monday, January 14, 2002 9:30 AM
To: [EMAIL PROTECTED]
Subject: Re: [KCFusion] CFHTTP hopeless with proxy?


java.lang.ClassNotFoundException means that CF couldn't find the class
files...

One of two things have gone wrong:

1.  You didn't add the jre/lib path to the CFAdmin (make sure it's valid!)
2.  You didn't extract the .zip file into jre/lib/HTTPClient

Double-check these things.

--Daryl
- Original Message -
From: Keith Purtell [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 14, 2002 9:14 AM
Subject: RE: [KCFusion] CFHTTP hopeless with proxy?


I installed this item as described and ran the code. I'm enclosing the error
message because I'm not familiar with Java ...

Diagnostics: Unhandled System exception !  java.lang.ClassNotFoundException:
ClassFormatError for class  HTTPClient.HTTPConnection. Java exception
occurred in call to method. The error occurred while processing an element
with a general identifier of (CFOBJECT), occupying document position (90:1)
to (95:2).

Keith Purtell, Web/Network Administrator
VantageMed Operations (Kansas City)
Email:  [EMAIL PROTECTED]

CONFIDENTIALITY NOTICE: This email message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply email and destroy all copies of the original
message.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Daryl Banttari
Sent: Friday, January 11, 2002 10:28 AM
To: [EMAIL PROTECTED]
Subject: Re: [KCFusion] CFHTTP hopeless with proxy?


I once got a Java http client working from within CF.

Here's what I did to get it working:
1.  Download the HTTPClient class files (.zip) from
http://www.innovation.ch/java/HTTPClient/
2.  Extract to C:\jdk1.3\jre\lib\HTTPClient
3.  Add C:\jdk1.3\jre\lib\ as Class Path in CF Admin
4.  Run following CF code:

cfobject action = Create type = Java
class = HTTPClient.HTTPConnection name = httpConn
cfscript
httpConn.init(www.windsorcs.com);
response=httpConn.Get(/);
content=response.getText();
/cfscript
cfoutput
#content#
/cfoutput

Voila!

(I wonder why the method is called Get(), instead of get()...)


- Original Message -
From: Keith Purtell [EMAIL PROTECTED]
To: KCFusion (E-mail) [EMAIL PROTECTED]
Sent: Friday, January 11, 2002 9:31 AM
Subject: [KCFusion] CFHTTP hopeless with proxy?


Before I give up on CFHTTP, I'll offer this description of my problem and
hope for a solution. We run CF5 on NT4 SP6a. It's a private server hosting
our intranet. I built a simple template that would use CFHTTP to go out
through our proxy server and test one of our public sites to make sure it
was up and running. If not, it notifies me. Then I scheduled the template to
run once an hour in the CF Admin. The template works fine if I use my
browser to access it. However, called my the Scheduler, this template always
fails to get past the proxy server, and instead returns 407 Proxy
Authentication Required. I have established a user account on the proxy
server and made sure to use the same username and password as I put in the
tag. I have also checked the username/password used inside the Scheduler,
and the username/password used by CF. The process only fails when the
Scheduler tries to call the template, and CFHTTP tries to get past the
proxy. There are a number of related threads on this in the Allaire forums.
But the only solutions people have found were to either write their own CFX,
or purchase the $150 Mabry HTTP/X and a related $50 custom tag. I can't do
either

RE: [KCFusion] CFHTTP hopeless with proxy?

2002-01-14 Thread Keith Purtell

Well that didn't do it, so I went ahead and added the class path at the
system level. Now the CFOBJECT runs without error. But instead of returning
the external Web page that is called in the contents, I get our generic
firewall message for people whose browsers are not properly configured. It's
not getting past our proxy. Is there some way to pass a username and
password in CFSCRIPT?

Keith Purtell, Web/Network Administrator
VantageMed Operations (Kansas City)
Email:  [EMAIL PROTECTED]

CONFIDENTIALITY NOTICE: This email message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply email and destroy all copies of the original
message.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Daryl Banttari
Sent: Monday, January 14, 2002 9:48 AM
To: [EMAIL PROTECTED]
Subject: Re: [KCFusion] CFHTTP hopeless with proxy?


Drop HTTPClient from the end of the lib path.

When you specify
class=HTTPClient.HTTPClient
the part before the period becomes a directory.

--Daryl

- Original Message -
From: Keith Purtell [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 14, 2002 9:42 AM
Subject: RE: [KCFusion] CFHTTP hopeless with proxy?


I unzipped as required, then went into CF Admin JVM and Java Settings and
used the Browse Server button next to Class Path to arrive at
C:\jdk1.3.1_01\jre\lib\HTTPClient, then I clicked the Submit Changes
button at the bottom of the page. I have also tried stopping and restarting
the CF service. Perhaps I need to add this as a system variable not just in
CF?

Keith Purtell, Web/Network Administrator
VantageMed Operations (Kansas City)
Email:  [EMAIL PROTECTED]

CONFIDENTIALITY NOTICE: This email message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply email and destroy all copies of the original
message.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Daryl Banttari
Sent: Monday, January 14, 2002 9:30 AM
To: [EMAIL PROTECTED]
Subject: Re: [KCFusion] CFHTTP hopeless with proxy?


java.lang.ClassNotFoundException means that CF couldn't find the class
files...

One of two things have gone wrong:

1.  You didn't add the jre/lib path to the CFAdmin (make sure it's valid!)
2.  You didn't extract the .zip file into jre/lib/HTTPClient

Double-check these things.

--Daryl
- Original Message -
From: Keith Purtell [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 14, 2002 9:14 AM
Subject: RE: [KCFusion] CFHTTP hopeless with proxy?


I installed this item as described and ran the code. I'm enclosing the error
message because I'm not familiar with Java ...

Diagnostics: Unhandled System exception !  java.lang.ClassNotFoundException:
ClassFormatError for class  HTTPClient.HTTPConnection. Java exception
occurred in call to method. The error occurred while processing an element
with a general identifier of (CFOBJECT), occupying document position (90:1)
to (95:2).

Keith Purtell, Web/Network Administrator
VantageMed Operations (Kansas City)
Email:  [EMAIL PROTECTED]

CONFIDENTIALITY NOTICE: This email message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply email and destroy all copies of the original
message.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Daryl Banttari
Sent: Friday, January 11, 2002 10:28 AM
To: [EMAIL PROTECTED]
Subject: Re: [KCFusion] CFHTTP hopeless with proxy?


I once got a Java http client working from within CF.

Here's what I did to get it working:
1.  Download the HTTPClient class files (.zip) from
http://www.innovation.ch/java/HTTPClient/
2.  Extract to C:\jdk1.3\jre\lib\HTTPClient
3.  Add C:\jdk1.3\jre\lib\ as Class Path in CF Admin
4.  Run following CF code:

cfobject action = Create type = Java
class = HTTPClient.HTTPConnection name = httpConn
cfscript
httpConn.init(www.windsorcs.com);
response=httpConn.Get(/);
content=response.getText();
/cfscript
cfoutput
#content#
/cfoutput

Voila!

(I wonder why the method is called Get(), instead of get()...)


- Original Message -
From: Keith Purtell [EMAIL PROTECTED]
To: KCFusion (E-mail) [EMAIL PROTECTED]
Sent: Friday, January 11, 2002 9:31 AM
Subject: [KCFusion] CFHTTP hopeless with proxy?


Before I give up on CFHTTP, I'll offer this description of my problem and
hope

Re: [KCFusion] CFHTTP hopeless with proxy?

2002-01-14 Thread Daryl Banttari

The full docs are at
http://www.innovation.ch/java/HTTPClient/api/HTTPClient/HTTPConnection.html

Look into the setProxyServer() and addBasicAuthorization methods...

--Daryl

- Original Message -
From: Keith Purtell [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 14, 2002 10:12 AM
Subject: RE: [KCFusion] CFHTTP hopeless with proxy?


Well that didn't do it, so I went ahead and added the class path at the
system level. Now the CFOBJECT runs without error. But instead of returning
the external Web page that is called in the contents, I get our generic
firewall message for people whose browsers are not properly configured. It's
not getting past our proxy. Is there some way to pass a username and
password in CFSCRIPT?

Keith Purtell, Web/Network Administrator
VantageMed Operations (Kansas City)
Email:  [EMAIL PROTECTED]

CONFIDENTIALITY NOTICE: This email message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply email and destroy all copies of the original
message.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Daryl Banttari
Sent: Monday, January 14, 2002 9:48 AM
To: [EMAIL PROTECTED]
Subject: Re: [KCFusion] CFHTTP hopeless with proxy?


Drop HTTPClient from the end of the lib path.

When you specify
class=HTTPClient.HTTPClient
the part before the period becomes a directory.

--Daryl

- Original Message -
From: Keith Purtell [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 14, 2002 9:42 AM
Subject: RE: [KCFusion] CFHTTP hopeless with proxy?


I unzipped as required, then went into CF Admin JVM and Java Settings and
used the Browse Server button next to Class Path to arrive at
C:\jdk1.3.1_01\jre\lib\HTTPClient, then I clicked the Submit Changes
button at the bottom of the page. I have also tried stopping and restarting
the CF service. Perhaps I need to add this as a system variable not just in
CF?

Keith Purtell, Web/Network Administrator
VantageMed Operations (Kansas City)
Email:  [EMAIL PROTECTED]

CONFIDENTIALITY NOTICE: This email message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply email and destroy all copies of the original
message.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Daryl Banttari
Sent: Monday, January 14, 2002 9:30 AM
To: [EMAIL PROTECTED]
Subject: Re: [KCFusion] CFHTTP hopeless with proxy?


java.lang.ClassNotFoundException means that CF couldn't find the class
files...

One of two things have gone wrong:

1.  You didn't add the jre/lib path to the CFAdmin (make sure it's valid!)
2.  You didn't extract the .zip file into jre/lib/HTTPClient

Double-check these things.

--Daryl
- Original Message -
From: Keith Purtell [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 14, 2002 9:14 AM
Subject: RE: [KCFusion] CFHTTP hopeless with proxy?


I installed this item as described and ran the code. I'm enclosing the error
message because I'm not familiar with Java ...

Diagnostics: Unhandled System exception !  java.lang.ClassNotFoundException:
ClassFormatError for class  HTTPClient.HTTPConnection. Java exception
occurred in call to method. The error occurred while processing an element
with a general identifier of (CFOBJECT), occupying document position (90:1)
to (95:2).

Keith Purtell, Web/Network Administrator
VantageMed Operations (Kansas City)
Email:  [EMAIL PROTECTED]

CONFIDENTIALITY NOTICE: This email message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply email and destroy all copies of the original
message.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Daryl Banttari
Sent: Friday, January 11, 2002 10:28 AM
To: [EMAIL PROTECTED]
Subject: Re: [KCFusion] CFHTTP hopeless with proxy?


I once got a Java http client working from within CF.

Here's what I did to get it working:
1.  Download the HTTPClient class files (.zip) from
http://www.innovation.ch/java/HTTPClient/
2.  Extract to C:\jdk1.3\jre\lib\HTTPClient
3.  Add C:\jdk1.3\jre\lib\ as Class Path in CF Admin
4.  Run following CF code:

cfobject action = Create type = Java
class = HTTPClient.HTTPConnection name = httpConn
cfscript
httpConn.init(www.windsorcs.com);
response=httpConn.Get(/);
content=response.getText();
/cfscript
cfoutput
#content#
/cfoutput

Re: [KCFusion] CFHTTP hopeless with proxy?

2002-01-14 Thread Girish_Kshirsagar


Keith,

Is this a http connection or https?  If https then you may need addtional
steps - such as security policy set up etc.

In general, firewall issues can be complex - in some cases you must work
with the ISP, and they are typically reluctant to divulge any information
that may breach security.

If you can divulge the URL, I may be able to do some remote tests myself.

Girish

 
 
__
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives http://www.mail-archive.com/cf-list@kcfusion.org
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe mailto:[EMAIL PROTECTED]
To Unsubscribe mailto:[EMAIL PROTECTED]
 



RE: [KCFusion] CFHTTP hopeless with proxy?

2002-01-14 Thread Keith Purtell

It's an HTTP connection, and I'm the administering the firewall, so I've got
a lot of control. I've done more testing using
HTTPConnection.setProxyServer, as recommended in the docs. But CF server
doesn't like that, and tells me it can't determine the value of the
parameter. A little bizarre, since it correctly processed the CFOBJECT and
then went on to correctly process the httpConn.init insided CFSCRIPT. Like I
said, I know nothing about Java, so it's likely I'm making a basic mistake.

Keith Purtell, Web/Network Administrator
VantageMed Operations (Kansas City)
Email:  [EMAIL PROTECTED]
Voice: (816) 801-5200
Fax:   (816) 880-4776
   (800) 525-1101

CONFIDENTIALITY NOTICE: This email message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply email and destroy all copies of the original
message.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of [EMAIL PROTECTED]
Sent: Monday, January 14, 2002 2:07 PM
To: [EMAIL PROTECTED]
Subject: Re: [KCFusion] CFHTTP hopeless with proxy?



Keith,

Is this a http connection or https?  If https then you may need addtional
steps - such as security policy set up etc.

In general, firewall issues can be complex - in some cases you must work
with the ISP, and they are typically reluctant to divulge any information
that may breach security.

If you can divulge the URL, I may be able to do some remote tests myself.

Girish



 
 
__
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives http://www.mail-archive.com/cf-list@kcfusion.org
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe mailto:[EMAIL PROTECTED]
To Unsubscribe mailto:[EMAIL PROTECTED]
 



[KCFusion] CFHTTP hopeless with proxy?

2002-01-11 Thread Keith Purtell

Before I give up on CFHTTP, I'll offer this description of my problem and
hope for a solution. We run CF5 on NT4 SP6a. It's a private server hosting
our intranet. I built a simple template that would use CFHTTP to go out
through our proxy server and test one of our public sites to make sure it
was up and running. If not, it notifies me. Then I scheduled the template to
run once an hour in the CF Admin. The template works fine if I use my
browser to access it. However, called my the Scheduler, this template always
fails to get past the proxy server, and instead returns 407 Proxy
Authentication Required. I have established a user account on the proxy
server and made sure to use the same username and password as I put in the
tag. I have also checked the username/password used inside the Scheduler,
and the username/password used by CF. The process only fails when the
Scheduler tries to call the template, and CFHTTP tries to get past the
proxy. There are a number of related threads on this in the Allaire forums.
But the only solutions people have found were to either write their own CFX,
or purchase the $150 Mabry HTTP/X and a related $50 custom tag. I can't do
either right now. I approached someone in the forum who had written their
own solution, but they didn't want to send me a copy. Just as frustrating, I
can't find any record of these failures in the proxy log! This particular
template is not mission critical, but if I can't make CFHTTP get past the
proxy, then I can't use it elsewhere. Comments?

CFHTTP
URL=http://www.domain.com/index.html;
METHOD=GET
RESOLVEURL=No
PROXYSERVER=ip.address.here
PROXYPORT=8080
USERNAME=username
PASSWORD=password
THROWONERROR=No
TIMEOUT=120

Keith Purtell, Web/Network Administrator
VantageMed Operations (Kansas City)
Email:  [EMAIL PROTECTED]

CONFIDENTIALITY NOTICE: This email message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply email and destroy all copies of the original
message.

 
 
__
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives http://www.mail-archive.com/cf-list@kcfusion.org
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe mailto:[EMAIL PROTECTED]
To Unsubscribe mailto:[EMAIL PROTECTED]
 



Re: [KCFusion] CFHTTP hopeless with proxy?

2002-01-11 Thread Daryl Banttari

I once got a Java http client working from within CF.

Here's what I did to get it working:
1.  Download the HTTPClient class files (.zip) from
http://www.innovation.ch/java/HTTPClient/
2.  Extract to C:\jdk1.3\jre\lib\HTTPClient
3.  Add C:\jdk1.3\jre\lib\ as Class Path in CF Admin
4.  Run following CF code:

cfobject action = Create type = Java
class = HTTPClient.HTTPConnection name = httpConn
cfscript
httpConn.init(www.windsorcs.com);
response=httpConn.Get(/);
content=response.getText();
/cfscript
cfoutput
#content#
/cfoutput

Voila!

(I wonder why the method is called Get(), instead of get()...)


- Original Message -
From: Keith Purtell [EMAIL PROTECTED]
To: KCFusion (E-mail) [EMAIL PROTECTED]
Sent: Friday, January 11, 2002 9:31 AM
Subject: [KCFusion] CFHTTP hopeless with proxy?


Before I give up on CFHTTP, I'll offer this description of my problem and
hope for a solution. We run CF5 on NT4 SP6a. It's a private server hosting
our intranet. I built a simple template that would use CFHTTP to go out
through our proxy server and test one of our public sites to make sure it
was up and running. If not, it notifies me. Then I scheduled the template to
run once an hour in the CF Admin. The template works fine if I use my
browser to access it. However, called my the Scheduler, this template always
fails to get past the proxy server, and instead returns 407 Proxy
Authentication Required. I have established a user account on the proxy
server and made sure to use the same username and password as I put in the
tag. I have also checked the username/password used inside the Scheduler,
and the username/password used by CF. The process only fails when the
Scheduler tries to call the template, and CFHTTP tries to get past the
proxy. There are a number of related threads on this in the Allaire forums.
But the only solutions people have found were to either write their own CFX,
or purchase the $150 Mabry HTTP/X and a related $50 custom tag. I can't do
either right now. I approached someone in the forum who had written their
own solution, but they didn't want to send me a copy. Just as frustrating, I
can't find any record of these failures in the proxy log! This particular
template is not mission critical, but if I can't make CFHTTP get past the
proxy, then I can't use it elsewhere. Comments?

CFHTTP
URL=http://www.domain.com/index.html;
METHOD=GET
RESOLVEURL=No
PROXYSERVER=ip.address.here
PROXYPORT=8080
USERNAME=username
PASSWORD=password
THROWONERROR=No
TIMEOUT=120

Keith Purtell, Web/Network Administrator
VantageMed Operations (Kansas City)
Email:  [EMAIL PROTECTED]

CONFIDENTIALITY NOTICE: This email message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply email and destroy all copies of the original
message.



__
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives http://www.mail-archive.com/cf-list@kcfusion.org
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe mailto:[EMAIL PROTECTED]
To Unsubscribe mailto:[EMAIL PROTECTED]



 
 
__
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives http://www.mail-archive.com/cf-list@kcfusion.org
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe mailto:[EMAIL PROTECTED]
To Unsubscribe mailto:[EMAIL PROTECTED]
 



RE: [KCFusion] CFHTTP hopeless with proxy?

2002-01-11 Thread Keith Purtell

I'll check that out, and let you know. Thanks!

Keith Purtell, Web/Network Administrator
VantageMed Operations (Kansas City)
Email:  [EMAIL PROTECTED]

CONFIDENTIALITY NOTICE: This email message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply email and destroy all copies of the original
message.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Daryl Banttari
Sent: Friday, January 11, 2002 10:28 AM
To: [EMAIL PROTECTED]
Subject: Re: [KCFusion] CFHTTP hopeless with proxy?


I once got a Java http client working from within CF.

Here's what I did to get it working:
1.  Download the HTTPClient class files (.zip) from
http://www.innovation.ch/java/HTTPClient/
2.  Extract to C:\jdk1.3\jre\lib\HTTPClient
3.  Add C:\jdk1.3\jre\lib\ as Class Path in CF Admin
4.  Run following CF code:

cfobject action = Create type = Java
class = HTTPClient.HTTPConnection name = httpConn
cfscript
httpConn.init(www.windsorcs.com);
response=httpConn.Get(/);
content=response.getText();
/cfscript
cfoutput
#content#
/cfoutput

Voila!

(I wonder why the method is called Get(), instead of get()...)


- Original Message -
From: Keith Purtell [EMAIL PROTECTED]
To: KCFusion (E-mail) [EMAIL PROTECTED]
Sent: Friday, January 11, 2002 9:31 AM
Subject: [KCFusion] CFHTTP hopeless with proxy?


Before I give up on CFHTTP, I'll offer this description of my problem and
hope for a solution. We run CF5 on NT4 SP6a. It's a private server hosting
our intranet. I built a simple template that would use CFHTTP to go out
through our proxy server and test one of our public sites to make sure it
was up and running. If not, it notifies me. Then I scheduled the template to
run once an hour in the CF Admin. The template works fine if I use my
browser to access it. However, called my the Scheduler, this template always
fails to get past the proxy server, and instead returns 407 Proxy
Authentication Required. I have established a user account on the proxy
server and made sure to use the same username and password as I put in the
tag. I have also checked the username/password used inside the Scheduler,
and the username/password used by CF. The process only fails when the
Scheduler tries to call the template, and CFHTTP tries to get past the
proxy. There are a number of related threads on this in the Allaire forums.
But the only solutions people have found were to either write their own CFX,
or purchase the $150 Mabry HTTP/X and a related $50 custom tag. I can't do
either right now. I approached someone in the forum who had written their
own solution, but they didn't want to send me a copy. Just as frustrating, I
can't find any record of these failures in the proxy log! This particular
template is not mission critical, but if I can't make CFHTTP get past the
proxy, then I can't use it elsewhere. Comments?

CFHTTP
URL=http://www.domain.com/index.html;
METHOD=GET
RESOLVEURL=No
PROXYSERVER=ip.address.here
PROXYPORT=8080
USERNAME=username
PASSWORD=password
THROWONERROR=No
TIMEOUT=120

Keith Purtell, Web/Network Administrator
VantageMed Operations (Kansas City)
Email:  [EMAIL PROTECTED]

CONFIDENTIALITY NOTICE: This email message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply email and destroy all copies of the original
message.



__
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives http://www.mail-archive.com/cf-list@kcfusion.org
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe mailto:[EMAIL PROTECTED]
To Unsubscribe mailto:[EMAIL PROTECTED]





__
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives http://www.mail-archive.com/cf-list@kcfusion.org
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe mailto:[EMAIL PROTECTED]
To Unsubscribe mailto:[EMAIL PROTECTED]



 
 
__
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives http://www.mail-archive.com/cf-list@kcfusion.org
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe mailto:[EMAIL PROTECTED]
To Unsubscribe mailto:[EMAIL PROTECTED]
 



RE: [KCFusion] CFHTTP

2001-12-17 Thread Ryan Hartwich
Title: Message



I was 
rewriting the standard 404 type errors MS IIS issues a few months back and 
wondered about the 502 error also. I assume it is for bad gateway/proxy 
systems. When you setup your network tcp/ip configuration, you specify a 
gateway to the internet. This functions as the proxy server/firewall in 
most companies I believe.

You 
might have the numbers missing or incorrect on your server, or don't have the 
correct security permissions.

Wait a 
few minutes, Robin will probably pop in with the correct answer versus my 
guess.

Ryan


RE: [KCFusion] CFHTTP problems under CF5

2001-08-16 Thread Keith Purtell

A partial response to my own post. I changed the URL to a Web page on the
same server as this CF template, and it was successful. That tells me the
original problem is one of getting through the proxy server. Still don't
know why it worked on CF 4 and is broken under CF 5, or what to do about it.
Searching through various archives has revealed that other people
dissatisfied with CFHTTP have devised complex solutions using CFFILE or
CFOBJECT. Don't want to go there just to see if a single Web page is up.

Keith Purtell, Web/Network Administrator
VantageMed Operations (Kansas City)
Email:  [EMAIL PROTECTED]

CONFIDENTIALITY NOTICE: This email message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply email and destroy all copies of the original
message.

-Original Message-
Sent: Wednesday, August 15, 2001 5:05 PM
Subject: [KCFusion] CFHTTP problems under CF5

My problems with CFHTTP continue. It's been broken since I upgraded to CF5.
I was getting proxy authorization errors, now suddenly it's saying unknown
mime type. Eh? I've tried a lot of variations on my attribute values without
luck. Also surveyed CF Admin for relevant settings. Here's the tag
(asterisks replaced by real code on our server) ...

CFHTTP
URL=http://www.vantagemed.com/index.htm;
METHOD=GET
RESOLVEURL=YES
PROXYSERVER=192.168.***.***
PORT=8080
USERNAME=**
PASSWORD=**
THROWONERROR=No
TIMEOUT=120



 
 
__
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives http://www.mail-archive.com/cf-list@kcfusion.org
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe mailto:[EMAIL PROTECTED]
To Unsubscribe mailto:[EMAIL PROTECTED]
 



[KCFusion] CFHTTP problems under CF5

2001-08-15 Thread Keith Purtell

My problems with CFHTTP continue. It's been broken since I upgraded to CF5.
I was getting proxy authorization errors, now suddenly it's saying unknown
mime type. Eh? I've tried a lot of variations on my attribute values without
luck. Also surveyed CF Admin for relevant settings. Here's the tag
(asterisks replaced by real code on our server) ...

CFHTTP
URL=http://www.vantagemed.com/index.htm;
METHOD=GET
RESOLVEURL=YES
PROXYSERVER=192.168.***.***
PORT=8080
USERNAME=**
PASSWORD=**
THROWONERROR=No
TIMEOUT=120

Keith Purtell, Web/Network Administrator
VantageMed Operations (Kansas City)
Email:  [EMAIL PROTECTED]
Voice: (816) 880-0243 x214
Fax:   (816) 880-4776
   (800) 525-1101
http://www.vmdc.net/

CONFIDENTIALITY NOTICE: This email message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply email and destroy all copies of the original
message.

 
 
__
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives http://www.mail-archive.com/cf-list@kcfusion.org
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe mailto:[EMAIL PROTECTED]
To Unsubscribe mailto:[EMAIL PROTECTED]
 



RE: [KCFusion] CFHTTP failure

2000-11-16 Thread ron

 We are having severe problems making a CFHTTP call back to a site on the
 same server. (CF 4.5.1 SP1) This error will come up:

 unknown exception condition unknown error while executing a tag.
 snip
 These errors have just started last weekend even though nothing
 has changed.
 Any ideas would be helpful!

Jason,

CFHTTP uses the (crappy) WinInet API to make the http connections. WinInet
is quite limited (like only 4 simultaneous connections to one server -- see
http://support.microsoft.com/support/kb/articles/Q183/1/10.ASP), so CFHTTP
inherits those limitations.

We're using CFX_HTTP, which I *believe* uses the WinSock API, a more robust
implementation. It's a free tag at
http://devex.allaire.com/developer/gallery/SearchResults.cfm?keywords=cfx_ht
tp. We haven't had trouble with it, but then again we haven't pushed it
hard.

The model of robustness is the ASPHTTP component ($49) by
http://www.serverobjects.com, but I don't know how well it would work with
CF.

Hope this helps,
Ron



 
 
__
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives http://www.mail-archive.com/cf-list@kcfusion.org
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe mailto:[EMAIL PROTECTED]
To Unsubscribe mailto:[EMAIL PROTECTED]
 



RE: [KCFusion] CFHTTP failure

2000-11-16 Thread ron

 No dice on CFX_HTTP:

 From their site:
 CFX_HTTP is basically a wrapper around Microsoft's WinInet code.

Bummer. You might look at ASPHTTP, then, which you could call with
cfobject.

-ron



 
 
__
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives http://www.mail-archive.com/cf-list@kcfusion.org
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe mailto:[EMAIL PROTECTED]
To Unsubscribe mailto:[EMAIL PROTECTED]