> We are trying to integrate our eComm site with UPS On Line 
> tools for Address Verification.  To submit the address for 
> verification, the request we are sending needs to be 2 XML 
> documents.  I am trying to do the following:
> 
> <cfhttp url="https://ups.com/xml/AV"; method="POST" port="80" 
> resolveurl="false">
>   <cfhttpparam type="xml" name="xml1" value="#xmlObj1#">
>   <cfhttpparam type="xml" name="xml2" value="#xmlObj2#"> </cfhttp>
> 
> but we get an error saying :
>  You may only use ONE cfhttpparam of type XML or BODY.
> 
> Can someone point me in the right direction on how I can send 
> 2 XML documents?

Can you be more specific about what the remote server actually expects to
get? You can't just put two XML documents within an HTTP request body - the
parser on the receiving end wouldn't know what to do with them. I haven't
used the ups.com interface, so I don't know what it's expecting to get - two
file uploads, perhaps? If that's the case, you'd use type="file" instead of
type="xml".

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
 
Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore and Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259996
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to