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

RE: http_url_post_raw api does not think it received valid data when it really did



Sender: "Tom Carriere" <carriere@xxxxxxx>

Thanks.  The streets are correct.
The sample code I received from the interface partner
was using same code to interface to another vendor's http server.

They were checking for return code to not be 1 indicating that
this is an error.  Can you confirm
that RC=1 is good return code and what would a bad RC be?

I am using timeout to 1 second.  What do you recommend
and when does the timeout come in to play?

 
 ***  bug in api    if        rc <> 1                   
 ***                eval      msg = http_error          
 ***                dsply                   msg         
C                   if        retlen > 1                

-----Original Message-----
From: owner-ftpapi@xxxxxxxxxxxxx [mailto:owner-ftpapi@xxxxxxxxxxxxx]On
Behalf Of Scott Klement
Sent: Monday, March 01, 2004 1:06 PM
To: ftpapi@xxxxxxxxxxxxx
Subject: RE: http_url_post_raw api does not think it received valid data
when it really did


Sender: Scott Klement <klemscot@xxxxxxxxxxxx>


When I run this I get an RC=1, which is normal.  It does a bunch of DSPLY
operations with I'm not sure what...  maybe streets?  they look like 'R
Elm Dr' and 'NJ-27'.

On Mon, 1 Mar 2004, Tom Carriere wrote:
>
> Attached is a sample RPGILE that I wrote that
> gets XML data from my FleetSuite Server.  Upload to your
> AS400 and compile
>
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubsribe from the list send mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubsribe from the list send mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------