TerrenceRyan.com

I'm a 35 year old redhead geek from Philly.
I'm currently a Developer Evangelist for Adobe.
Also the author of Driving Technical Change

CFC's, WSDL, and Whitespace

No Comments

I ran into an odd issue this week, and figured I share. I was getting errors when trying to access a CFC as a webservice from another machine. When I actually browsed to the url of the cfc with the wsdl switch I got an error message that the XML was malformed. I examined the source of the wsdl I found a bunch of whitespace.

This cfc actually exists on all of my ColdFusion servers (15) half of which were the same version and patch level, and one that was cloned two weeks ago from the same source as the server having a problem (also cloned two weeks ago.) I checked the copy on all of them and no error, and no whitespace. I checked the " Enable Whitespace Management" setting, which was enabled on all of the machines, and the malfunctioning server. So no joy.

I added <cfprocessingdirective supresswhitespace="TRUE">... Still no joy. Finally I added a <cfsilent> which did the trick. Very strange. Odd that it only effected one server.

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Leave a Comment









Categories

Monthly Archives

Tag Cloud

coldfusion web development flex coldfusion builder appearances squidhead coldfusion builder extensions higher ed html5 flash builder air mobile android driving technical change adobe apptacular running a coldfusion shop adobemax06 movable type flash catalyst flash css blackberry adobemax07 adobemax08 hero finicky adobemax09 holy crap i’m a mobile developer centaur phonegap basecamp cfc whichelement unfuddle motorola metablog irrational characters ios git evangelism edge devices code reviews ant wharton subversion security rhino philly philadelphia multidevice knowledge@wharton jobs javascript java browserlab adobemax10 adobe tv unfuddlecfc svnauth.cfc semantic html semantic html responsive web design qnx nlb linux jquery mobile it github flexorg fireworks eclipse dreamweaver apps apple adobemax11