Skip to main content

Robert

Member since May 22, 2009

Recent Blog Comments By Robert

  • ColdFusion Scope Existence During Various Request Types And Events

    Posted on May 19, 2010 at 9:48 AM

    "I see" said the blind man as he picked up his hammer and saw. This is intended to be a web service that will be called by a vendor using .Net. I created the calling template for testing purposes. These revelations lead me to believe I should change my approach and temporarily store that randomID ... read more »

  • ColdFusion Scope Existence During Various Request Types And Events

    Posted on May 18, 2010 at 5:36 PM

    Ah-ha. Thanks Kevin. The calling code calls the two methods (though I didn't name the cffunctions in my code above). So... <cfinvoke webservice="http:something.cfc?wsdl" method="FirstMethod" returnvariable="returnStruct" > <cfinvokeargument name="foo" value="#foo#" /> </cfinvoke&g... read more »

  • ColdFusion Scope Existence During Various Request Types And Events

    Posted on May 18, 2010 at 12:48 PM

    Sorry, I had some trouble posting. Here is an example of the code: <cfcomponent> <cfset myRandomID = CreateUUID()> <cffunction> <cfscript> returnStruct = StructNew(); StructInsert(returnStruct, "message", "XXX"); StructInsert(returnStruct, "randomID", myRandomID); </cfsc... read more »

  • ColdFusion Scope Existence During Various Request Types And Events

    Posted on May 18, 2010 at 12:39 PM

    I am having trouble making a variable, which is part of a returned structure, available to another cffunction in the same component (in CF7). If I refer to a cfset that creates a randomID, the call gets made twice. Once in the first cffunction and again in the second so the randomIDs will never ma... read more »

  • Monitoring The ColdFusion Mail Server With GMail And A Scheduled Task

    Posted on Apr 6, 2010 at 10:15 AM

    This happens to us as well Ben. More often than not it is at 2:00am prompting a call from support with open tickets on unreceived email. I am not convinced that the <cfmail> tag will work though when the service is down. But I am going to give this a shot as well. Thanks! -Robert... read more »

  • My First ColdFusion Web Service

    Posted on Aug 17, 2009 at 10:45 AM

    @Sebastiaan, Hmm, that's beyond my expertise. However, I had some issues in my web service with some calls and decided to leave out the type parameter. If I did that, everything worked ok. I may get slapped by the professionls (of which I am not one) but that's what I did. Also, a brief look at ... read more »

  • My First ColdFusion Web Service

    Posted on Aug 17, 2009 at 10:23 AM

    @Sebastiaan, Is your client using Coldfusion?... read more »

  • My First ColdFusion Web Service

    Posted on Aug 17, 2009 at 9:46 AM

    @Sebastiaan You have to append the url with ?wsdl like http://test.com/webservice.cfc?wsdl... read more »

  • Cleaning High Ascii Values For Web Safeness In ColdFusion

    Posted on Aug 7, 2009 at 12:49 PM

    An observation for future generations. I don't think my issue is related to anything I've talked about above. Rather, it seems XmlFormat() is escaping the string twice. So what should be an ampersand is become ampersandSemicolon... read more »

  • Cleaning High Ascii Values For Web Safeness In ColdFusion

    Posted on Aug 7, 2009 at 11:20 AM

    Thanks Eric! Already, those first two tips were brand new to me. I'll start to edu-ma-cate mines self. :) Thanks again.... read more »

  • Cleaning High Ascii Values For Web Safeness In ColdFusion

    Posted on Aug 7, 2009 at 11:01 AM

    Ah, ok I get that. Thanks Eric. Is there a way to preserve it so it inserts correctly into the sql table?... read more »

  • Cleaning High Ascii Values For Web Safeness In ColdFusion

    Posted on Aug 7, 2009 at 10:46 AM

    Darn it, the examples didn't come out right above. You can see it here: http://webdev.rrdiml.com/robert/test.cfm Although, for some reason the accent changed when I set up this test page. But the general idea is illustrated.... read more »

  • Cleaning High Ascii Values For Web Safeness In ColdFusion

    Posted on Aug 7, 2009 at 10:40 AM

    I am confused about a result I am getting after experimenting with Ben's code. I am trying to insert the following into a sql db and jam it in an xml doc: S.à r.l. If I use Ben's code and <cfoutput>#CleanHighAscii( strText )#</cfoutput>, then there is no issue. The output and viewing t... read more »

  • Always Define Your ColdFusion Query Column Types

    Posted on Jun 26, 2009 at 9:57 AM

    It's amazing that when I Google an issue I always get led back here. Thanks Ben! I was tearing my hair out on this. I was getting "The value "whatever" cannot be converted to a number". I tried debugging by changing values and the error would come and go seemingly at random. So I defined the colum... read more »

  • My First ColdFusion Web Service

    Posted on Jun 22, 2009 at 12:00 PM

    Ben first web service: 2006 Robert's first web service: 2008 Thanks for this Ben. It helped me out quite a bit. I'm on my way. Baby steps, baby steps.... read more »

  • Ben Forta At The NYCFUG: ColdFusion Centaur, Bolt, And Flash Tour

    Posted on Jun 11, 2009 at 11:26 AM

    Thanks for the posting Ben. Very cool. I'm still trying to get my boss to focus and upgrade from MX7 to 8. Do you know if going from 8 to Centaur will be very painful? I remember I had to rewrite a few things to upgrade to MX.... read more »

  • Ask Ben: Collecting And Relating Sibling XML Nodes In A ColdFusion XML Document

    Posted on May 27, 2009 at 8:54 AM

    Yes, that makes complete sense. I stared at for a couple of hours late last night and I came to that same conclusion about needlessly creating another xml document. I also have to get a handle on walking the tree. I think that once I wrap my head around that things will be a bit easier as well. ... read more »

  • Ask Ben: Collecting And Relating Sibling XML Nodes In A ColdFusion XML Document

    Posted on May 26, 2009 at 3:12 PM

    Ok Ben, your Sainthood is in the works for your patience. My confusion lay in the fact that when looping over the structure, the key id output to the browser as a string. Only after viewing the source did I see that all the xml tags were part of the output as well. I think I got it though. The way ... read more »

  • Ask Ben: Collecting And Relating Sibling XML Nodes In A ColdFusion XML Document

    Posted on May 26, 2009 at 11:33 AM

    Ben, I am still having trouble. Is the resulting object treated as xml or as a structure? I can't seem to extract the data from the object to build coldfusion queries like you showed at: http://www.bennadel.com/blog/1097-Ask-Ben-Converting-XML-Data-To-ColdFusion-Queries.htm I am doing something ... read more »

  • Ask Ben: Collecting And Relating Sibling XML Nodes In A ColdFusion XML Document

    Posted on May 22, 2009 at 10:39 AM

    Thanks so much Ben! Sometimes I have a hard time visualizing the structure I need to get ColdFusion and Xml to play nice. I had to change some of the code to get it to work with CF7 (like looping over the array). But the muddy waters are starting to clear a bit. Thanks again for your help. Much ... read more »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel