Duncan, Ahh, I misunderstood you a bit. I thought you had meant that you were also receiving back a packet which you weren't getting. My suggestion is probably not even applicable to your situation.
*shrug* Sorry for not reading more carefully. rish > -----Original Message----- > From: Duncan [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 07, 2005 1:23 AM > To: CF-Talk > Subject: Re: cfhttp posting XML problem > > nice, I put in the utf-8 also I discovered I wasnt putting > name into the cfhttpparam. > > Then after consulting the company that owns the webservice, I > discovered they wanted the xml as a post in a form field, so > heres what I have now: > > > <CFHTTP URL="http://stage.campaigntrack.com.au:8080/CtXml/Post.aspx" > port="8080" USERAGENT="McGrath/1.0" method="post"> > <cfhttpparam name="XML" type="formfield" > value="#request.xm#"/> </cfhttp> > > Problem solved. > > Long day now over. TFFT. > > On Apr 7, 2005 4:13 PM, Guy Rish <[EMAIL PROTECTED]> wrote: > > Duncan, > > > > I ran into a similar problem a while back. Using a shareware proxy > > that Dave Watts suggested (in reference to a different problem that > > someone was having), Charles > (http://www.xk72.com/charles/), I found > > that ColdFusion was actually receiving the content back but was > > discarding it for some unknown reason. In fact, despite > what I saw in > > the proxy, cfhttp would actually report back a "Connection Failure". > > Interestingly enough this problem did *not* manifest for me on CF5. > > > > The solution I used was to specify "utf-8" in cfhttp's > charset attribute. > > I initially tried to specify it with a cfhttpparam but that didn't > > seem to work for me but the attribute worked smoothly. > > > > rish > > > > > -----Original Message----- > > > From: Duncan [mailto:[EMAIL PROTECTED] > > > Sent: Thursday, April 07, 2005 1:00 AM > > > To: CF-Talk > > > Subject: cfhttp posting XML problem > > > > > > 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:201829 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

