[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
HTTPAPI only the http protocol is available
Hi,
I am trying to call a REST API which is over https, specifically
Twilio, using http_get and I receive the `only the http protocol is
available!' error. Researching this error it looks as if the
installation of HTTPAPI was not set to allow the usage of SSL. But I
have been able to get a call to a webservice over SSL to work after
adding axiscStubSetSecure (see below) to the code generated by
WSDL2RPG. So I am assuming HTTPAPI was configured to allow SSL. I
tried adding axisStubSetSecure to this program but I keep getting
axiscStubSetSecure prototype for the call is not defined on the
CRTBNDRPG. Can someone please tell me what path I should head down or
what it is I am missing? Thanks.
axiscStubSetSecure(stub,
"/qibm/UserData/ICSS/Cert/Server/DEFAULT.KDB",""
,"mycert","NONE",05,"NONE");
Kristen Prather
MOSERS
[1]kristenp@xxxxxxxxxx
(573) 632-6174
__________________________________________________________________
CONFIDENTIAL TRANSMISSION: This electronic communication is from the
Missouri State Employees' Retirement System (MOSERS). This e-mail and
any files transmitted with it are private and confidential and are
solely for the use of the intended recipient. This message may contain
material which is privileged or is otherwise protected by law. If you
are not the intended recipient or the person responsible for delivering
it to the addressee, you are requested to immediately delete the
message and notify the sender or contact MOSERS by calling (573)
632-6100. Please be advised that if you have received this e-mail in
error, any use, retention, disclosure, transmission, or copying of it
is strictly prohibited.
References
1. mailto:kristenp@xxxxxxxxxx
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------