1) Your test certificate file
2) the test.xml file
3) the sendPayment.xml example
Dick
On Aug 28, 2004, at 3:37 AM, phil williams wrote:
> OK I have been implementing the Secure Trading socket,
> http://www.securetrading.com , for an online store that I am
> developing for a client and have hit a snag.��The system uses a Java
> file to connect through the localhost on port 5000 to send the data to
> ST for processing in XML format.��A XML response is then
> returned.��Their example using Java to send the XML is fine but my
> ColdFusion code is getting a time out ewrror.��Here�s the code I�m
> using:
>
> <cffile action="" file="#certDirPath#\sendPayment.xml"
> variable="testxml">
> <cfhttp method="post" url="" port="5000"
> timeout="60">
> <cfhttpparam type="xml" name="xpay" value="#testxml#">
> </cfhttp>
>
> It�s simply reading the xml file and sending it with cfhttp.��Their
> Java code is like this:
> /********************************************************************
> * SECURETRADING Merchant Software
> *
> * Sample Java XPay script
> *
> * Description:
> * Reads an XML string in from a file (representing a merchant's own
> script)
> * and then open a socket, writing the XML string to the XPay API.
> * The certificate is read in and replaced in the XML string
> * To run this file ensure that test.xml resides in the same directory
> as
> * this file
> *
> * Version 2.2
> *
> * Last modified: 25/02/2002
> *
> * Copyright (C) 2002 SECURETRADING All rights reserved.
> *
> * This software is for informational purposes only.
> * SECURETRADING make no warranties, express or implied, through the
> * distribution of this example.
> *
> * SECURETRADING
> * http://www.securetrading.com
> * Tel (+44) 01248 672 050
> * Email [EMAIL PROTECTED]
> *
> * You may only modify or use this script for the purpose of
> * authorised access to the SECURETRADING Payment Gateway Network
> * in accordance with your SECURETRADING Agreement.
> *
>
> ***********************************************************************
> **/
> <image.tiff>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

