Hi Raymond, How about having two axis2.xml files in your distribution. One containing the SSL configuration and the other containing the normal sender. When a client wants to use Axis2/C with SSL they should give the client home as the one with the SSL config axis2.xml.
Supun.. On Sat, Aug 23, 2008 at 3:29 AM, Dumindu Pallewela <[EMAIL PROTECTED]>wrote: > 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 <[EMAIL PROTECTED]>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 <[EMAIL PROTECTED]>* wrote: >> >> From: Samisa Abeysinghe <[EMAIL PROTECTED]> >> 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 /<[EMAIL PROTECTED]>/* wrote: >> > >> > From: Samisa Abeysinghe <[EMAIL PROTECTED]> >> > 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: [EMAIL PROTECTED] >> > For additional commands, e-mail: [EMAIL PROTECTED] >> > >> > >> > >> > >> > 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: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> > > > -- > Dumindu Pallewela > Cinergix - "Share, Reuse, Innovate" > cinergix.com > -- Software Engineer, WSO2 Inc