Yes, exactly, I am working the full fledged shipping route with UPS on a
CF 5 server.   The test file you mentioned would be so appreciated you
have no idea.

Regards,

Eric J Hoffman
DataStream Connexion
www.datastreamconnexion.com
Delivering Creative Data Solutions 

-----Original Message-----
From: Jon Hall [mailto:[EMAIL PROTECTED]] 
Sent: Saturday, August 03, 2002 9:37 PM
To: CF-Talk
Subject: Re: XML Error


You wouldn't by any chance be using cfhttp to POST your XML to UPS using
CF5 or MX would you?

If so, half your problem is to blame on a Macromedia programmer who
didn't have his head screwed on right when he decided to urlencode all
cfhttp posts, and then blame the other programmer who didn't have his
(could be a her...dunno <g/>) head on straight either when he decided it
wasn't important when raised during the MX betas. I would suggest
yelling and screaming at them...don't know if it will do any good
though. They have ignored the problem forever. They do however love to
tout the fact that UPS is using CF on their intranet in their press
releases. Ironic no? The other half is that UPS requires text/xml as the
Content-Type IIRC, another thing cfhttp can't do.

Not that it will make you feel any better, but change the post url to a
page that looks something like this to verify exactly what is getting
sent across the wire.

<cfsavecontent var="dump">
<cfdump var="#form#">
</cfsavecontent>

and write the the contents of the dump var to a file. You will see some
lovely mangled xml courtesy of cfhttp.

On a brighter note, if you wish, I can send you some example code using
MSXML that I used to do UPS tracking from CF if you are using CF5. Of
course MX hosed MSXML compatibility...so I don't know if that's such a
good idea for forward compatibility reasons. Sometimes I think it would
be easier to write a CF program to automatically print XML, and send it
through the mail...

-- 
jon
mailto:[EMAIL PROTECTED]

Saturday, August 3, 2002, 4:59:33 PM, you wrote:

EH> "The XML document is well formed but the document is not valid" 
EH> Response I get back from the UPS server...can someone place the 
EH> distinction for me?  What am I missing if it is well formed?  Cruel 
EH> jokes...just when you think its all done right....

EH> haha

EH> Regards,


______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to