XML-RPC and https issues |
[eluser]cgeisel[/eluser]
Using the example code from the User Guide, I made an XMLRPC client and server, uploaded them to my CI (v1.7.1) install on my client's https server, and when I run the client code, I get the following error message and debug output: Code: ---DATA--- Here is the client code: Code: <?php and here is the server code: Code: <?php What I don't understand is why the server thinks I'm not using the "https" scheme. If I echo the value of Code: $server_url
[eluser]cgeisel[/eluser]
Some additional information: if I set $server_url manually, the behavior is the same. Also, if I set $server_url and use "http" as the scheme, the behavior is the same. This suggests that regardless of which scheme I specify, the XML-RPC library is using http.
[eluser]cgeisel[/eluser]
I discovered elsewhere that the library in question doesn't support SSL at this time. And also decided that XML-RPC has too much overhead to make it worthwhile for my project. I ended up going with a REST server, written by Phil Sturgeon for CI. Link to tutorial: http://net.tutsplus.com/tutorials/php/wo...igniter-2/ A link to download the server/libraries is in the tutorial. Good luck! |
Welcome Guest, Not a member yet? Register Sign In |