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

Re: Can HTTPAPI handle a response sent to a URL



Hi Kenny,

It depends on what you mean, exactly.

When an HTTP transaction takes place, there's always a request and a response. So any tool that's able to perform HTTP can handle a "request/response". And a request/response is always sent to a specified URL.

But, it's unclear what role you're asking HTTPAPI to play. Are you asking for it to act as a client or server in the transaction? HTTPAPI is only capable of taking the client role.

And when you refer to SOAP, what sort of role do you want it to take? It's able to send a SOAP message (Which is, after all, just a sequence of bytes like anything else) and it's able to receive a SOAP response. However, it cannot automatically construct a SOAP message, or deconstruct one. (Though, there is an XML parser included to help with that.) You'd have to write the code to do that yourself, or use an add-on like Thomas Raddatz's WSDL2RPG.

HTTPAPI does not use the IBM HTTP server... (Though the IBM HTTP server may be needed to configure the SSL support in the operating system if you're looking to use SSL)

Please let me know if this answers your questions.


On 9/20/2012 12:12 PM, Kenny Keifer wrote:
    Can HTTPAPI handle the soap request response sent to a specified URL?
    I'm not running a web server on the iseries and would need the response
    in a RPG program.

    Kenny



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