Why don't you post you packet to a test template that output the packet

eg

<cfoutput>
#form.Request#
</cfoutput>

Then output the result of the cfhttp. Then you can see the actual packet
that is posted..


I think the main difference in cfhttp over the time was to accommodate SOAP

Justin

> -----Original Message-----
> From: Martin Gill [mailto:[EMAIL PROTECTED]]
> Sent: 04 September 2002 11:26
> To: [EMAIL PROTECTED]
> Subject: [ cf-dev ] URGENT: Please Help - CFHTTP differences between CF
> 4.5 and CF5
>
>
> Hi all,
>
> Does any one know of any differences between the CfhttpParam tag
> in version 4.5 and version 5 of Cold Fusion. I have the following code;
>
>       <CFHTTP URL="#Attributes.ServerName#" METHOD="POST"
> PORT="#Attributes.ServerPort#">
>       <CFHTTPPARAM TYPE="FORMFIELD" NAME="Request"
> VALUE="#Trim(XMLDataString)#">
>       </CFHTTP>
>
> When I run the code and it submits the data to Datacash, in 5, I get
>
>
> <?xml version="1.0" encoding="UTF-8"?>
> <Response>
>       <reason>Invalid XML</reason>
>       <status>60</status>
>       <information>Parse XML failed - syntax error at line 1,
> column 0, byte 0</information>
> </Response>
>
>
> Whereas In version 4.5 I get valid output.
>
>
>
>
>
>
> <?xml version="1.0" encoding="UTF-8"?>
> <Response>
>       <reason>ACCEPTED</reason>
>       <merchantreference>0409024504917</merchantreference>
>       <CardTxn>
>               <issuer>NatWest (including Ulster Bank)</issuer>
>               <country>United Kingdom</country>
>               <authcode>???????</authcode>
>               <card_scheme>Switch</card_scheme>
>       </CardTxn>
>       <status>1</status>
>       <mode>TEST</mode>
>       <datacash_reference>??????????????????</datacash_reference>
>       <time>1031134593</time>
> </Response>
>
> Any help would really be appreciated because the client is
> expecting a complete system by the end of today.
>
> Thanks.
>
>
>
>
> Martin L. Gill, MSc - Head Programmer
>
> For & on Behalf of UniTech
> (The Universal Information Technology Group Ltd)
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> URL: http://www.unitech.net
> Email: [EMAIL PROTECTED]
>
> UniTech House, 25 Bernard Street, Leith, Edinburgh, EH6 6SH
> Tel:  +(44) 0131 472 5555
> DDI: +(44) 0131 472 5560
> Fax: +(44) 0131 472 5556
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For human help, e-mail: [EMAIL PROTECTED]
>
>
>
>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]


Reply via email to