Thanks for the response.
> Wouldn't CURL have fit the bill here ? For the C++ version I wanted to keep
> code
> and dependencies down to a minimum, while also be able to use SSL, that's > > why I
> wrote a basic HTTP class.
My first attempt was CURL indeed, but it was failing in my machine.
I was able to connect to the script but I couldn't correctly send a Hessian call using POST. I was unable to connect via SSL also, PHP complains that SSL is not supported in this platform. Perhaps I need to recompile the CURL module with OpenSSL in Windows and I rather avoid that step.
Alter a few attempts I gave up and coded a simple HTTP Wrapper around
sockets. I thought this was somehow convenient because it doesn't create the CURL extension dependency and keeps the codebase simple, for now.
In the next revision, I think I will use a CURL wrapper, and if CURL it's not available, it will fall back to simple sockets. I am still thinking in the SSL problem though.
I still have the question about licencing. The C++ library is under GPL but the Python code uses Apache-style licence. How did you choose your type of licence? Can you explain it some more?
Regards
Manolo Gómez Placencia, MCP
Investigación y Desarrollo de Software
Dirección de Informática - PUCE
Telf: (593) 2 2991700 ext. 1336
-----Mensaje original-----
De: Radu-Adrian Popescu [mailto:radu.popescu@xxx.com]
Enviado el: Jueves, 16 de Diciembre de 2004 5:16
Para: hessian-interest@xxx.com
Asunto: Re: Hessian PHP implementation
GOMEZ PLACENCIA MANUEL VLADIMIR wrote:
> I have created both a client and a service implementation of Hessian in
> PHP, borrowing some ideas from existing imlementations and after some
> testing, I think the program is pretty much ready with the following features:
>
> - Hessian protocol implementation
> - very basic HTTP library class
Wouldn't CURL have fit the bill here ? For the C++ version I wanted to keep code
and dependencies down to a minimum, while also be able to use SSL, that's why I
wrote a basic HTTP class.
> - Client Proxy
> - Service class that can publish PHP objects as Hessian web services
> - Almost all Hessian types supported
> - Faults
>
> So far, classes have been tested in Windows XP SP2 using Apache 2.0.49/PHP
> 4.3.8 against PHP services and Java under Resin. There is a PHP 5 only version
> in work.
Cool, with PHP5's features that should look pretty smooth.
> I have read the message "Hessian C++ library" from Radu-Adrian Popescu in this
> mail list and I basically have the same questions for caucho.
> I would like to have the code peer reviewed and I am setting up a
> sourceforge.net project for that matter. Also, I think I will publish the
> library under an OS licence and I am thinking in an Apache-style licence.
> What do you think?
>
> And, if things go well, is there a chance to have the library published in
> caucho's Hessian page along side the other platform implementations?
>
> Well that's all, I expect your thoughts.
>
> Regards.
>
> Manolo Gómez, MCP
> Research and Development
> Dirección de Informática
> Pontificia Universidad Católica del Ecuador
> 593-22991700 ext. 1336
> mvgomez@xxx.edu.ec
Congratulations and regards,
-- Radu-Adrian Popescu CSA, DBA, Developer Aldrapay MD Aldratech Ltd. +40213212243Received on Thu 16 Dec 2004 12:00:46 -0800
This archive was generated by hypermail 2.1.8 : Thu Sep 28 2006 - 20:16:40 PDT