I have a problem - I am creating an XML doc and using cfhttp post to
send it to a server.

Problem is that the server is responding as if I havent sent any XML
at all. I have tried all combinations of port and timeouts, but I cant
seem to get the right output. It should be responding with XML Success
in the return body and a status code of 200..

Can someone cast fresh eyes over this please:

<cfxml variable="request.xm">
<cfoutput>
<?xml version="1.0" encoding="UTF-8"?>
<OFI>
  <PropertyID>23722</PropertyID>
  <UserID>mplusm00308</UserID>
  <Password>k34bsd7ts2</Password>
  <OFIs>
        <OFI Date="02/09/2004" EndTime="13:45" StartTime="13:00"/>
        <OFI Date="02/09/2004" EndTime="18:45" StartTime="18:00"/>
  </OFIs>
</OFI>
</cfoutput>
</cfxml>

<cfset request.xm = Trim(request.xm)>

<CFHTTP URL="http://stage.campaigntrack.com.au:8080/CtXml/Post.aspx";
port="8080" USERAGENT="McGrath/1.0" method="post">
        <cfhttpparam type="xml" value="#request.xm#"/>
</cfhttp>

-- 
Duncan I Loxton
www.sixfive.co.uk
[EMAIL PROTECTED]

"I can only please one person per day. Today is not looking good. 
Tomorrow  isn't looking much better." Dilbert

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201822
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to