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

Re: Socket Tutorial and HTTPAPI



   The program is for paying with credit card, it send the user to the
   Bancard (credit card procesor) giving only a transaction number and
   store number.  Bancard sends a request to our iSeries and expects a
   record with the amount and other data that a RPG provides.  Fields are
   separated by semicolons.
   Donald Leong wrote:

Hi Raul,
Thank you for the suggestion. I know that HTTPAPI can receive data
without problem. My main concern is to have a service waiting on the
HTTP server accepting request and then subsequently processing it. Does
your implementation provide service (i.e. SOAP XML) to other caller via
HTTP?

Thanks,
 
Donald Leong
Phone# (562) 989-5165

-----Original Message-----
From: [1]ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[[2]mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Raul A.
Jager W.
Sent: Tuesday, April 01, 2008 5:35 AM
To: HTTPAPI and FTPAPI Projects
Subject: Re: Socket Tutorial and HTTPAPI

I use HTTAPI to receive data and the Apache to send it (via CGIDEV2)
Works fine, I feel something similar will solve your needs, easier than
sockets.

Donald Leong wrote:



  Hi Scott,

  I am working on a SOA project and came across this wealth of
  information. I downloaded both the Socket Tutorial and HTTPAPI from
  your site and am playing with those codes. My aim is to make my i5


to


  participate in the companywide SOA bandwagon. My thinking is to


build


  a "listener that spawns multiple programs" based on the samples from
  the socket tutorial. Once client requests are processed, the result
  will be encased in a SOAP-based XML for sending back to client using
  HTTPAPI.


  Based on this assumption I have a couple of questions:
   1. Is this the right approach? Or can HTTPAPI do both inbound and
      outbound traffic (I see most of the examples on HTTPAPI are i5


as


      a consumer but not as a provider)?
   2. Is the function RDLINE in the SOCKUTIL_H copy book to accept an
      XML document by manipulating the length from peLine?



  Thanks,

  Donald Leong



-----------------------------------------------------------------------


-


-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
[3]http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------




-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
[4]http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------

References

   1. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
   2. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
   3. http://www.scottklement.com/mailman/listinfo/ftpapi
   4. 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
-----------------------------------------------------------------------