Yup, we've used CFHTTP to achieve the same kind of thing, and it works a
treat.

Cheers

Will 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Barnaby Relph
Sent: 06 May 2004 08:57
To: [EMAIL PROTECTED]
Subject: Re: [CFCDev] XML transfer using 'curl'-like function?

Hi Ken,
    In my last job we used CFHTTP to send XML documents and recieve XML
responses just as you describe with great success and very few problems.
E-Procurement protocols often use this approach too. I believe you're right
about https securing the transfer.

cXML (used by Ariba) specifies this method for transferring XML
(http://xml.cxml.org/current/cXMLUsersGuide.pdf - Chapter 2)

Barny

----- Original Message -----
From: "Ken Dunnington" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 05, 2004 7:23 PM
Subject: [CFCDev] XML transfer using 'curl'-like function?


> I have to make a secure transfer of an XML file from my server to a
> processing server, and the documentation I've been given suggests using
> 'curl' (for php code) to do the transfer. I need to send the XML data,
> and then receive an XML response, which I will use for post-processing.
> The first thing that came to mind was to use CFHTTP to do the job, as I
> basically just need to POST the XML to the CGI script. Is this the
> right solution? Will CFHTTP transfer the data securely as long as I am
> sending to an https:// address? I don't think I can use a Web Service,
> as this is just a CGI script I'm posting to. I'm using a CFC to handle
> everything.
>
> Thanks!
>
> ----------------------------------------------------------
> You are subscribed to cfcdev. To unsubscribe, send an email
> to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev'
> in the message of the email.
>
> CFCDev is run by CFCZone (www.cfczone.org) and supported
> by Mindtool, Corporation (www.mindtool.com).
>
> An archive of the CFCDev list is available at
www.mail-archive.com/[EMAIL PROTECTED]
>

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at
www.mail-archive.com/[EMAIL PROTECTED]

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to