Call of a soap webservice passing headers

2013-02-22 Thread Stephane Vantroyen
Hello, usually I have no problem consuming webservices, but this time I don't understand what I do wrongly; before being able to call any method, I should login, passing username and password in the soap headers; and there comes the pain : I try to call it via createboject, cfinvoke or even

Re: Clear out webservices?

2012-11-20 Thread Stephane Vantroyen
Post is rather old but i think it still works : http://www.bpurcell.org/blog/index.cfm?entry=965mode=entry Is there any way to automatically clear out the webservices listed in the CF Admin every time the instance restarts? [circle]http://www.suny.edu/ Alex DeMarco Manager of

Re: Force logout a user

2012-07-11 Thread Stephane Vantroyen
Hi Uday, the CFID/CFTOKEN (or JSESSIONID) should indeed do the trick : when a user logs in to your site, you update a certain field in DB with CFID/CFTOKEN, and store it into a session user structure (that you certainly already have for the userid, name or something equivalent). When the

Re: The Symbol you provided is not a function

2011-09-06 Thread Stephane Vantroyen
Did you try calling it cfset LOCAL.invCheck = checkCustomerListing(... instead of cfset LOCAL.invCheck = Super.checkCustomerListing(... ? Because if your cfc extends the parent (FeedDAO thus), it don't need to call the function with 'super', it just knows the functions enclosed in the

Re: CFLOCK QUESTION

2011-08-22 Thread Stephane Vantroyen
It's correct, but you don't need to make it that long : timeout=20 is too long for me, timeout=5 would be really long enough (if not too long already). Something I don't get though : why do you make your application last the same value as the session scope? Do you really need your application

Re: Stupid Question

2011-06-30 Thread Stephane Vantroyen
Maybe a stupid question too, but why is it better to use structkeyexists() than isdefined() ? Both will check if the given variable exists right? I don't get it, is it bound to performance or so? I thought of that, but then wasn't sure how that would behave if capability_detail was a query.

Re: SQL Query Problem

2011-06-21 Thread Stephane Vantroyen
I would do it this way : select b.* from b where b.id not in (select a.id from a) How about: select b.* from b left outer join a on b.id = a.id where a.id is null Carl On 6/21/2011 10:37 AM, Jenny Gavin-Wear wrote: ~|

Re: Homesite 5.5

2011-06-11 Thread Stephane Vantroyen
Something weird I've noticed while reading these posts : I've not read about CFBuilder, did I (or maybe I'm wrong), but people are talking about Homesite, dreamweaver, eclipse and related free ides, but not about the one made by (sold by) Adobe, which is now the main contact point for what CF

prompt for download form cfc in ajax?

2011-03-26 Thread Stephane Vantroyen
Hello guys, I'm looking for a solution to following problem : I display a dialog bow with details (legal info) on a page and would like to give the user the possibility to print it out. I've tried to this in ajax via jquery, calling a cfc and letting do the following : cfheader

Re: prompt for download form cfc in ajax?

2011-03-26 Thread Stephane Vantroyen
Thanks, it works indeed, I would never have thought of doing it that way. Thanks again off the top of my head, you could use an IFRAME which will allow you to invoke the PRINT command via JS and only print the content you need. On Sat, Mar 26, 2011 at 10:28 PM, Stephane Vantroyen s

Re: Jquery ajax and CFC ioutside webroot

2011-03-12 Thread Stephane Vantroyen
Hello, in your jquery ajax call, just give the full http address of your cfc, like so : $.ajax({ url: 'http://www.yoursite.com/cfc/yourCFC.cfc?yourmethodyourargumentsIfAny', type: POST, dataType:json}); Cheers Hi All - Can I use jquery ajax to call a cfc that is located outside the

Re: Jquery ajax and CFC ioutside webroot

2011-03-12 Thread Stephane Vantroyen
Hi, I don't think I fully understand it : isn't your cfc reachable via a dns or ip? Then I don't know if it's feasible. Are you able to read it within a browser? I mean, to see it's wsdl structure? Hello, in your jquery ajax call, just give the full http address of HI, The cfc is located

local dev and isapi rewrite

2011-02-10 Thread Stephane Vantroyen
Hi all, I have a local dev cf9 install on macbookpro (built-in webserver), and would like to try isapi rewrite (lite, for dev) for my devs. I think I need to install apache to be able to use isapi, so I've installed xamp too, but don't know how to 'link' apache to jrun to be able to use cf via

Re: why is cf_builder so expensive?

2011-01-26 Thread Stephane Vantroyen
My 50 cents : I've been working with CFBuilder for about 6 months now (coming from homesite++, hard to let this one go...) and I will honestly say that it is a very good product, with some lacks or some problems (from time to time), but with great functionalities as well. It helps me to work

CF 'e-commerce' product catalogue

2010-10-25 Thread Stephane Vantroyen
Hi, I know this question has certainly been asked many times before, but does anyone know a good free CF 'e-commerce' product catalogue? I've searched on riaforge but didn't find anything alike? Thanks, Stephan ~| Order

Re: Preventing use of remote method by other sites

2010-08-13 Thread Stephane Vantroyen
Hi, I would instantiate a session variable on begin of calling page, add it to the parameters when calling the function, and then just check in the remote function if the one given via parameter matches the one from session scope. Regards, Stephan I have a method that I'm exposing

Re: Move CF website to non CF host

2010-08-13 Thread Stephane Vantroyen
Hi, if your site (mean the viewed pages of the site) aren't cfm pages anymore and all are html pages (or something alike), yes you sure can. But if some called pages have cfml extension, you still need CF application server to be served to the web server. Stephane Hi, newbie here so I

Re: JSON object error

2010-03-12 Thread Stephane Vantroyen
Hello, you should return it as 'plain', and not as json (it 'double jsonencode' it then) When I use http://127.0.0.1:8500/prototype/getData. cfc?method=rptDataidval=04 in URL, I get following displayed in browser- {\COLUMNS\:[\REPORT_NAME\],\DATA\:[[\AAA\],[\BBB\]]} Looks like

Re: coldfusion autosuggest

2010-02-24 Thread Stephane Vantroyen
I don't know where it is, but you may overwrite it with e.g. style .autosuggestcontainer li {color:navy;background-color:white;} /style Does anyone know where the css that controls the autosuggest feature of an input box. I need to adjust the layout of the results returned.

Re: CF, IE6 Ext JS Oh My!

2009-10-30 Thread Stephane Vantroyen
Hi, I'm not aware of such a book, but have you tried something like : function refreshActiveTab(){ try{ var mySelectedTab = cfoutput'#url.selectedTab#'/cfoutput ColdFusion.Layout.selectTab(myTabs, mySelectedTab); return; }

Coldfusion Builder caracter encoding

2009-10-29 Thread Stephane Vantroyen
Hi guys, I've always been using Homesite to create/edit my cfm pages, and got motivated to try CF Builder on SOTR session this week, in Brussels. My problem/question is : encoding ('spelling') used by Homesite (its default, I guess) is ANSI, and if I open a Homesite created file in CF

Re: stop cursor typing past 500 characters

2009-09-11 Thread Stephane Vantroyen
Hi, to do you can use javascript, like here : http://javascript.internet.com/forms/limit-textarea.html Regards, Stephane Hi I’ve a text box on my form, and in the database it is set to allow 500 characters to be entered, however i can write any amount of characters above 500, I do

hardaware question for cf local server

2009-08-23 Thread Stephane Vantroyen
Hi guys, a stupid question for some (maybe) but i'd like to know if a small pc (like MSI Wind NetTop 110-026 or ASRock NetTop ION 330, with an Intel Atom 230 processor) is enough to run windows server 2003 and Coldfusion, for local server use only. I don't know the processor and its

Re: hardaware question for cf local server

2009-08-23 Thread Stephane Vantroyen
Well, I meant, i don't know what it is capable of; the processor is a Intel Atom Dual Core 330 2 Go (1,6 GHz, DDR2 800 - PC2-6400). I'd say it will suit, but wanted to be sure of it before buying it (really cheap, not the problem, but not interessant if doesn't work at all with windows server

Re: hardaware question for cf local server

2009-08-23 Thread Stephane Vantroyen
. They also offer coupons every other week to cut 10-25% off of the purchase price. Here's the one I used to find those prices I listed: http://www.xpbargains.com/index.php/send_deal/116189 Good luck. On Sun, Aug 23, 2009 at 10:25 AM, Stephane Vantroyen s...@emakina.comwrote

Re: hardaware question for cf local server

2009-08-23 Thread Stephane Vantroyen
Thanks for the answer; I will follow your advise and David's and will go for another kind of config like a 'regular' desktop (Dell or alike) machine, takes more space (and a bit more $, but not that much, in their outlet section) but it'll handle it pretty well, without having to modify

Re: SQL Help

2009-06-30 Thread Stephane Vantroyen
it's not good practice in ColdFusion to do this. I don't agree with that : sometimes you have to do multiple updates, inserts or else at the same time, depending on your process and some conditions; instead of doing multiple cfquery (and thus multiple db connections), it is sometimes cool

Re: question on jquery..need answer pretty quickly if possible

2009-05-28 Thread Stephane Vantroyen
I would suggest doing this way : cfquery name=myQueryyour query here/cfquery cfset myList = [ ListQualify(ValueList(myQuery.NameofField),'',',','all') ] So you have a list in the same format as your example here below; Then you just replace the list (with [ and ]) by

Re: question on jquery..need answer pretty quickly if possible

2009-05-28 Thread Stephane Vantroyen
Have you tried to dump the value of the list to see if it matches the format of the list in the jquery script? You also may wanna try to put the list in a script var and use it : script type=text/javascript var scriptList = cfoutput'#myCFgeneratedlist#'/cfoutput;

Re: question on jquery..need answer pretty quickly if possible

2009-05-28 Thread Stephane Vantroyen
Yes, i guess... if still not working try displaying an alert of the var in the script, to see what's wrong with it Would it look like this? cfoutput script type=text/javascript var scriptList = '#myList#';

Re: CFAjax problem - cant see why this doesn't work

2008-11-09 Thread Stephane Vantroyen
Hi, you have to convert your query before returning it to the grid, with queryConvertForGrid : your cfreturn should look like : cfreturn QueryConvertForGrid(QGetCountries, page, pageSize) Regards, Stéphane Is the cfcs.utilities.utilitieslibrary mapping correct? Adrian Building a database

Re: Best way to create an .xls file from a page

2008-10-28 Thread Stephane Vantroyen
Hi, another possibility is to use the POI Utility you can find on Ben Nadel's page : http://www.bennadel.com/blog/865-POIUtility-cfc-Examples-For-Reading-And-Writing-Excel-Files-In-ColdFusion.htm Greets Stéphane I wouldn't say it is the *best* way but this will maintain table layouts:

Re: CF8 HTML CFGRID with checkbox possible with binding?

2008-10-20 Thread Stephane Vantroyen
Hi guys and gals, has anybody already had the following question (and its answer of course) : is there a solution (soft, CF, ... whatever) to convert a pdf into html content? Thanks in advance ~| Adobe® ColdFusion® 8 software

PDF into HTML?

2008-10-20 Thread Stephane Vantroyen
Sorry guys I think I've posted this item first in the wrong section... So the question : has anybody already had to do the following : convert pdf docs into html content? Thanks in advance, ~| Adobe® ColdFusion® 8 software 8

variable session is undefined

2008-08-13 Thread Stephane Vantroyen
Hi guys, i think some of you already encoutered the same problem : when using j2ee session variables, I sometimes get the message variable session is undefined... what I tried to solve by checking the existence in application.cfc (on requeststart, cfif not isdefined('session')), but that

Re: variable session is undefined

2008-08-13 Thread Stephane Vantroyen
CF8, patch 8.0.1 ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive:

Re: Interesting results with setting variables - cfset vs. using a cfscript block

2008-07-02 Thread Stephane Vantroyen
You should read this, quite interesting (CF8 vs CF7 etc) : http://neilmiddleton.com/2007/07/01/cf-8-and-performance-comparisons/ Regards, Stephane ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release

CFFile append with a source file?

2008-04-21 Thread Stephane Vantroyen
Hi, i'm looking for a custom tag (cfx or anything else) that would allow me to use cffile action=append with a source file: the purpose here is to merge several documents (xml files) into another one without having to read them in a variable (too large amount of data for the server's RAM).