axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Supun Kamburugamuva" <supu...@gmail.com>
Subject Re: axis2/c depending on openSSL
Date Wed, 10 Sep 2008 05:56:56 GMT
How about the solution of having two senders and two axis2.xml files that I
have mentioned above. It should work. Only problem is you need to specify
the right client home for the ssl and non-ssl clients.

Supun..

On Wed, Sep 10, 2008 at 10:16 AM, Raymond Zhou <raywang999@yahoo.com> wrote:

>
> Hi All,
>
> I am still searching solutions for this issue.
>
> Has anyone tried to dynamically load the openSSL dlls at runtime? I looked
> at the
> part of code in axis2/c handling SSL, it basically calls a bunch of openSSL
> APIs
> whose name start with SSL_, can we modify that part of code so that we use
> LoadLibrary and get function pointer to the SSL_* functions that we use?
> This way
> we don't have to have openSSL dlls in the class path for regular web
> services and
> we only need them if we need SSL communication.
>
> Thanks!
> Frank
>
>
> --- On *Fri, 8/22/08, Dumindu Pallewela <pallewela@gmail.com>* wrote:
>
> From: Dumindu Pallewela <pallewela@gmail.com>
> Subject: Re: axis2/c depending on openSSL
> To: "Apache AXIS C Developers List" <axis-c-dev@ws.apache.org>,
> raywang999@yahoo.com
> Date: Friday, August 22, 2008, 10:29 PM
>
>
>  Hi Frank,
>
> From my experience with apache, it tries to make sure that all the symbols
> can be resolved at load time. Thus I believe that there is no easy way out
> for you. But please don't take my word for it as I've never tried doing what
> you want; not at all on windows.
>
> Regards,
> Dumindu.
>
> On Sat, Aug 23, 2008 at 3:39 AM, Raymond Zhou <raywang999@yahoo.com>wrote:
>
>>   Hi Samisa,
>>
>> If I don't ship the openSSL dlls but compile axis2/c with ssl enabled,
>> then users have to manually download and add the dlls to their class path in
>> order to use the web service client feature in my product, even if they do
>> not need SSL at all, that would be inconvenient for them. My goal is to
>> have one axis2/c package in my product to support web service client call
>> without including the openSSL dlls and only those customers of mine that
>> needs SSL will have to add the openSSL dlls to the classpath by themselves
>> (without me having to re-compile the axis2/c for them). Is there a easy
>> solution for this?
>>
>> Thanks!
>> Frank
>>
>> --- On *Fri, 8/22/08, Samisa Abeysinghe <samisa@wso2.com>* wrote:
>>
>> From: Samisa Abeysinghe <samisa@wso2.com>
>> Subject: Re: axis2/c depending on openSSL
>> To: "Apache AXIS C Developers List" <axis-c-dev@ws.apache.org>
>> Date: Friday, August 22, 2008, 6:31 PM
>>
>>
>> Raymond Zhou wrote:
>> > Samisa,
>> >
>> > If I disable openSSL, then https won't work, right? I want both cases
>> > (http and https) to work, but openSSL dlls are only needed when the ws
>> > call is through https. The purpose is that I don't want to
>> > re-distribute the openSSL dlls in my product.
>> >
>>
>> You do not need to ship them, users can use their own.
>>
>> Samisa...
>>
>> >
>> > Thanks!
>> > Frank
>> >
>> > --- On *Fri, 8/22/08, Samisa Abeysinghe /<samisa@wso2.com>/* wrote:
>> >
>> >     From: Samisa Abeysinghe <samisa@wso2.com>
>> >     Subject: Re: axis2/c depending on openSSL
>> >     To: "Apache AXIS C Developers List"
>> <axis-c-dev@ws.apache.org>
>> >     Date: Friday, August 22, 2008, 12:37 PM
>> >
>> >     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?
>> >     >
>> >
>> >     Disable OpenSSL in the build config file.
>> >
>> >     Samisa...
>> >
>> >     >
>> >     > Thanks!
>> >     > Frank
>> >     >
>> >     >
>> >     > No virus found in this incoming message.
>> >     > Checked by AVG - http://www.avg.com
>> >     > Version: 8.0.138 / Virus Database: 270.6.6/1625 - Release Date:
>> 8/21/2008
>> >     6:04 AM
>> >     >
>> >
>> >
>> >     --
>> >     Samisa Abeysinghe
>> >     Director, Engineering; WSO2 Inc.
>> >
>> >     http://www.wso2.com/ - "The Open Source SOA Company"
>> >
>> >
>> >     ---------------------------------------------------------------------
>> >     To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
>> >     For additional commands, e-mail: axis-c-dev-help@ws.apache.org
>> >
>> >
>> >
>> >
>> > No virus found in this incoming message.
>> > Checked by AVG - http://www.avg.com
>> > Version: 8.0.138 / Virus Database: 270.6.6/1627 - Release Date: 8/22/2008
>> 6:48 AM
>> >
>>
>>
>> --
>> Samisa Abeysinghe
>> Director, Engineering; WSO2 Inc.
>> http://www.wso2.com/ - "The Open Source SOA Company"
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
>>
>>
>>
>
>
> --
> Dumindu Pallewela
> Cinergix - "Share, Reuse, Innovate"
> cinergix.com
>
>
>


-- 
Software Engineer, WSO2 Inc

Mime
View raw message