Data Returned from XmlSearch()

2003-10-01 Thread Tim Haak
Hello,

I'm using XmlSearch() to query an XML document in CFMX 6.1.I want to store the resulting data in a another variable that is an XML object.I'm having some difficulty because the XmlSearch() function returns an array of the XML nodes that match the XPath search criteria.I tried using cfxml to create a new XML object from the array returned, but with no success.My last resort is to loop through the array returned and re-create a new XML object but I think there has to be an easier way.

Can anyone provide some guidance or a solution to getting the XmlSearch returned data back into an actual XML object?

Thanks in advance,


Tim Haak
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: CFHTTP with 128-bit HTTPS

2003-08-29 Thread Tim Haak
Upgrading to 6.1 did the trick.  Thanks to all for your suggestions!


Tim Haak

-Original Message-
From: Calvin Ward [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 28, 2003 7:42 PM
To: CF-Talk
Subject: Re: CFHTTP with 128-bit HTTPS


My first step would be to apply the 6.1 updater to your CFMX installation.
They reworked the CFHTTP tag and it is significantly improved in a number of
areas.

- Calvin

- Original Message - 
From: Tim Haak [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, August 28, 2003 3:27 PM
Subject: CFHTTP with 128-bit HTTPS


 Hello,

 We have an urgent matter with a CFMX application going live today.  We are
receiving the Connection Failure message when attempting to connect to a
128-bit secured server with the CFHTTP tag.  I did some reading that
previous versions of CF didn't allow encryption greater than 56-bit but
Macromedia says MX fixed that.

 I received a similar error message when connecting to a server with a
self-signed certificate but this server we are trying now has a valid
128-bit cert. on it.

 Our Enterprise CF server version is:  6,0,0,52311 and it's running on
Solaris 5.8 with an iPlanet 6.0SP4 web server.

 Has anyone encountered that problem before or come up with a work
around/fix?

 Here is the dump from cfhttp:

 struct
 Charset [empty string]
 Filecontent Connection Failure
 Header [undefined struct element]
 Mimetype Unable to determine MIME type of file.
 RawHeader [undefined struct element]
 Responseheader struct [empty]

 Statuscode Connection Failure. Status code unavailable.
 Text YES


 Thanks!

 Tim Haak



 *E-Mail Confidentiality Notice*
 This message (including any attachments) contains information intended for
a specific individual(s) and purpose that may be privileged, confidential or
otherwise protected from disclosure pursuant to applicable law.  Any
inappropriate use, distribution or copying of the message is strictly
prohibited and may subject you to criminal or civil penalty.  If you have
received this transmission in error, please reply to the sender indicating
this error and delete the transmission from your system immediately.
 

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


CFHTTP with 128-bit HTTPS

2003-08-28 Thread Tim Haak
Hello,

We have an urgent matter with a CFMX application going live today.  We are receiving 
the Connection Failure message when attempting to connect to a 128-bit secured server 
with the CFHTTP tag.  I did some reading that previous versions of CF didn't allow 
encryption greater than 56-bit but Macromedia says MX fixed that.

I received a similar error message when connecting to a server with a self-signed 
certificate but this server we are trying now has a valid 128-bit cert. on it.

Our Enterprise CF server version is:  6,0,0,52311 and it's running on Solaris 5.8 with 
an iPlanet 6.0SP4 web server.

Has anyone encountered that problem before or come up with a work around/fix?

Here is the dump from cfhttp:

struct 
Charset [empty string] 
Filecontent Connection Failure 
Header [undefined struct element] 
Mimetype Unable to determine MIME type of file. 
RawHeader [undefined struct element] 
Responseheader struct [empty] 
 
Statuscode Connection Failure. Status code unavailable. 
Text YES 


Thanks!

Tim Haak



*E-Mail Confidentiality Notice*
This message (including any attachments) contains information intended for a specific 
individual(s) and purpose that may be privileged, confidential or otherwise protected 
from disclosure pursuant to applicable law.  Any inappropriate use, distribution or 
copying of the message is strictly prohibited and may subject you to criminal or civil 
penalty.  If you have received this transmission in error, please reply to the sender 
indicating this error and delete the transmission from your system immediately. 
~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm


iPlanet CF Page Caching Problem

2003-07-15 Thread Tim Haak
Hello All,

We recently ran into a problem with ColdFusion loading the wrong CFM pages for 
different virtual servers hosted from the same machine.

The virtual servers are running on the same iPlanet 6.0 SP4 server.  All are using 
ColdFusion MX Enterprise (version 6,0,0,52311) on UNIX (Solaris 8).  We developed a 
web application which will be hosted from multiple virtual servers on the same box.  
All CFM page filenames are the same within the virtual severs and the code is 
identical (except a few changes in the Application.cfm for each).  Site #1 is located 
in:  /local/web/site1/ and site #2 is located in:  /local/web/site2/.

The index.cfm page for site #1 appears fine in the browser however when index.cfm 
for site #2 is loaded, the CF debugging information shows that all the CF pages (and 
those included from within index.cfm) were loaded from site #1's web root directory 
(instead of site #2's directory).  If I restart ColdFusion and bring up index.cfm 
for site #2, it loads fine.  Then, index.cfm on site #1 displays the CF pages for 
site #2 instead.

I think the problem is with CF's page caching but haven't been able to remedy it.  Any 
ideas you can provide would be greatly appreciated.

Thanks,


Tim Haak
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



CFCONTENT Problem with PDF Files

2002-12-09 Thread Tim Haak
Hello,

I am trying to send a PDF to the user so it loads in their browser window.  The code I 
am using is:

cfheader name=Content-type value=application/pdf
cfcontent deletefile=no file=C:/Inetpub/wwwroot/cfmxdemo/itworks.pdf 
type=application/pdf

Note:  I also tried a content-type of x-application/pdf but that didn't work either.

IE 5.5 SP2 just loads the PDF as plain text but Netscape 7.0 works fine and opens the 
Acrobat Plugin in the browser.  I also tried using CFFILE to readBinary the file from 
the server but wasn't able to output/open the file because the binary stored in the 
variable could not be converted to a string.  Here is the code I tried to get that to 
work:

cffile file=C:\Inetpub\wwwroot\cfmxdemo\itworks.pdf action=readBinary 
variable=test
cfoutput#variables.test#/cfoutput

Has anyone had any luck with CFCONTENT and PDF files, especially in IE 5.5 SP2?  My 
environment is: Windows 2000 Professional SP3, ColdFusion MX 6,0,0,48097 (Developer 
version), IIS 5.0.

Thanks in advance.


Tim Haak
[EMAIL PROTECTED]