[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Using raw to post data



Anybody willing to share their RPG code for calling UPS webservice called "Time in Transit"  ?

Thanks,
Chris


-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Charles Wilt
Sent: Friday, February 27, 2015 1:00 PM
To: HTTPAPI and FTPAPI Projects
Subject: Re: Using raw to post data

Actually the debug log shows exactly what is being sent...
POST / HTTP/1.1
Host: 192.168.1.99:986
User-Agent: http-api/1.24
Content-Type: text/xml
Content-Length: 140
Connection: close


<?xml version="1.0" ?><TRANSACTION>
<TRANSACTIONTYPE>INTERACTIVECREDITAUTH</TRANSACTIONTYPE>
<CREDITAMT>1.00</CREDITAMT> </TRANSACTION>

Do you have documentation from the vendor as to what you're supposed to be sending?

Charles


On Fri, Feb 27, 2015 at 12:41 PM, Michael Ryan <michaelrtr@xxxxxxxxx> wrote:

>    I've modified an existing program to talk to a device. I know I'm
>    hitting it - I can see the device light up. But I don't get a valid
>    response - seems like it's an error. I've attached the debug log...can
>    anyone shed any light? The vendor suggested that content-length wasn't
>    being passed. I can't see the actual headers in the debug log, but the
>    log certainly indicated content-length was passed. Thanks!
>
> ----------------------------------------------------------------------
> - This is the FTPAPI mailing list.  To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> ----------------------------------------------------------------------
> -
>
>
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------