I had very similar problems with the BING AdCenter API which I and several others never could get working. Almost identical errors. I even sent over the raw responses from Fiddler and Microsoft technical support response to me was the same thing. "It's one of CF's downfalls". Now I'm going to have to go back try again :) Round two.
Matt -----Original Message----- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Thursday, May 09, 2013 12:58 PM To: cf-talk Subject: Re: Parsing XML response from web services with ColdFusion DeserializeJSON > Next, I do realize that I need to remove the two lines at the very top > and bottom that contain "--uuid ...") and the first three lines after > the first boundary marker which are part of the response header. The problem here is that simply using Replace() function to replace those lines with nothing isn't working. The Replace function requires that you specify a pattern. There are a couple of other ways you could do this: - replace everything before and after <s:Envelope> using simple string functions - treat the response as a list of lines and use list functions to remove the lines you don't want. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355695 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm