This content has been marked as final. Show 4 replies
<!--- NOTE: test data below -- not my real data --->
Some xml parsers can be very sensitive to any extra anything, even white
space, preceding the xml root tag.
You may want to try this.
I tried it -- thanks, but no luck. Doesn't the Trim() around the string take care of that though?
Looking deeper into your original post.
You say this...
"I know the XML itself is correct, as I can submit it directly through
the URL string in the browser and it works OK."
That would say to me you are using get URL parameters not post form
parameters. Also you don't put the name of the url parameter in the url
string, unless you put the value there. If you use the
<cfhttpparam....> tag, it should contain the name. Finally you seem to
be missing some pound signs.
Give this, or something like it, a try.
<cfhttpparam type="url" name="xmldata" value="#trim(strXML)#">