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

Re: AW: question about example 2



   Thanks, Thomas.  Is EXAMPLE28 in the current HTTPAPI lib download?
   Larry Kleinman
   Kleinman Associates, Inc.
   212-949-6469
   From:        Thomas Raddatz <thomas.raddatz@xxxxxx>
   To:        "'HTTPAPI and FTPAPI Projects'"
   <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>,
   Date:        03/18/2015 02:25 AM
   Subject:        AW: question about example 2
   Sent by:        ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
     __________________________________________________________________

   Larry,
   The key is to use http_url_post_raw() or http_url_post_raw2(). A few
   days ago I put together EXAMPLE28 for someone else, to demonstrate how
   to use these procedures. Feel free to have a look at it and let us know
   if it worked for you.
   The example creates a SOAP messages and posts it to the server. The
   response is received in receiveProc() and stored into the global data
   structure 'receiveBuffer'. Afterwards the received data is converted
   from UTF-8 to EBCDIC using HTTP_xlatedyn().
   Regards,
   Thomas.
   -----Ursprüngliche Nachricht-----
   Von: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
   [[1]mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] Im Auftrag von Larry
   Kleinman
   Gesendet: Dienstag, 17. März 2015 22:38
   An: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
   Betreff: question about example 2
   Hi all - I have an older version of the HTTPAPI library (I think it is
   1.23) so forgive me if this is no longer an issue in newer versions,
   I
   want to do a POST to a webform, but I would like to get the response
   from that site as text within the program, not write it to a file in
   the IFS.
   Is there a way to do that?
   Larry Kleinman
   Kleinman Associates, Inc.
   212-949-6469
   --
   IMPORTANT NOTICE:
   This email is confidential, may be legally privileged, and is for the
   intended recipient only. Access, disclosure, copying, distribution, or
   reliance on any of it by anyone else is prohibited and may be a
   criminal offence. Please delete if obtained in error and email
   confirmation to the sender.
   [attachment "EXAMPLE28.rpgle" deleted by Larry Kleinman/KLEINMANASSOC]
   -----------------------------------------------------------------------
   This is the FTPAPI mailing list.  To unsubscribe, please go to:
   [2]http://www.scottklement.com/mailman/listinfo/ftpapi
   -----------------------------------------------------------------------

References

   1. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
   2. 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
-----------------------------------------------------------------------