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

RE: HTTPAPI 1.9 pre3



Sender: Scott Klement <klemscot@xxxxxxxxxxxx>


Tom,

I'm running the exact same source that you've attached, except for one
slight change.   My call to http_url_post_raw looks like this:

C                   eval      rc = http_url_post_raw(
C                             'http://transport.alk.com/'
C                              'Fleetsuite.asmx/GetDirFromAdrToAdr?'
C                               : %addr(data): %len(%trimr(data))
C                               : 1
C                               : %paddr('INCOMING')
C                               : HTTP_TIMEOUT
C                               : HTTP_USERAGENT
C                               : 'application/x-www-form-urlencoded
 *
C                   if        rc <> 1
C                   eval      msg = http_error
C                   dsply                   msg
c                   endif

It works perfectly for me, completes in about a second, no errors... shows
street names...  Very strange that it works perfectly for me, but not for
you.

Can you send me a debug file, I'm not sure if that'll help or not, but I
don't know what else to try...


On Thu, 4 Mar 2004, Tom Carriere wrote:
>
> I installed the 1.9 pre3 release and it does not
> solve the timeout issue or it thinks there is more
> data to read on the socket.  I have V4R4M0 installed
> and I am connecting to an MS .Net XML service.
> My sample source code is attached.
>
> -----Original Message-----
> From: owner-ftpapi@xxxxxxxxxxxxx [mailto:owner-ftpapi@xxxxxxxxxxxxx]On
> Behalf Of Scott Klement
> Sent: Tuesday, March 02, 2004 4:07 PM
> To: ftpapi@xxxxxxxxxxxxx
> Subject: HTTPAPI 1.9 pre3
>
>
> Sender: Scott Klement <sk@xxxxxxxxxxxxxxxx>
>
>
> Hello,
>
> The version of HTTPAPI that I'm currently using is 1.9pre3.  For Tom &
> others who are having problems, I'd really like you to try this out and
> see if it solves your problem.
>
> For everyone else, I'd really appreciate your help testing this code to
> ensure that it's working properly everywhere before we do an official
> release.
>
> I'm especially interested in whether or not it compiles and runs on V4R2 -
> V5R1 versions of OS/400, as I do not have any way to test it on older
> releases right now.
>
> You can download the pre-release files here:
>
> (save file format:)
> http://www.scottklement.com/httpapi/beta/httpapi.savf
>
> (XML format:)
> http://www.scottklement.com/httpapi/beta/httpapi.xml
>
> Also, it's no longer necessary to manually change CONFIG_H if you want to
> compile without SSL.  When you run the install program, it'll ask you if
> you want SSL, and it'll modify CONFIG_H accordingly.
>
> (I did it this way so that I can skip building the sample programs that
> require SSL if SSL is not included)
>
> ---
> Scott Klement  http://www.scottklement.com
> -----------------------------------------------------------------------
> 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
-----------------------------------------------------------------------