axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Supun Kamburugamuva" <>
Subject Re: axis2/c depending on openSSL
Date Fri, 22 Aug 2008 05:15:18 GMT
Hi Raymond,

This may work, but I'm not sure. But it is worth trying. Try to build two
axis2_http_sender libraries. One with OpenSSL and other without OpenSSL.
Then in the axis2.xml add two tranpsort senders. You should have different
names for the axis2_http_sender library in both cases. i.e axis2_http_sender
and axis2_ssl_http_sender.

    <transportSender name="http" class="axis2_http_sender">
        <parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter>
        <parameter name="xml-declaration" insert="false"/>
        <!--parameter name="Transfer-Encoding">chunked</parameter-->
        <!--parameter name="HTTP-Authentication" username="" password=""
        <!--parameter name="PROXY" proxy_host="" proxy_port="8080"
proxy_username="" proxy_password="" locked="true"/-->

    <!-- Uncomment the following with appropriate parameters to enable the
SSL transport sender.
         Also make sure that the appropriate transport receiver is enabled
    <transportSender name="https" class="axis2_ssl_http_sender">
        <parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter>
        <parameter name="xml-declaration" insert="false"/>
    <parameter name="SERVER_CERT">/path/to/ca/certificate</parameter>
    <parameter name="SSL_PASSPHRASE">passphrase</parameter>


On Fri, Aug 22, 2008 at 5:18 AM, Raymond Zhou <> wrote:

> Hi All,
> I noticed that if I compile (in wondows) axis2/c with ssl-support enabled,
> the openSSL dlls (ssleay23.dll and libssl32.dll) have to be in class path in
> order for a web service client call to be executed properly, enen if the
> call is not using https/SSL. If the dlls are not in the path, I will get a
> error something like engine not loaded. IS THERE a way to compile the
> axis2/c differently so that the openSSL dlls are only needed when the ws
> client call uses https/SSL?
> Thanks!
> Frank

Software Engineer, WSO2 Inc

View raw message