Hi, A configuration API was produced a while back, which I believe can provide this capability.
Using the class AxisCPPConfigDefaults you can specify the various properties you would find in axiscpp.conf. Having just taken a quick look, you should find this class well documented on how to use it correctly. Regards, Adrian _______________________________________ Adrian Dick ([EMAIL PROTECTED]) "Henrik Nordberg" <[EMAIL PROTECTED]> wrote on 14/09/2006 05:44:11: > I think it would quite easy and worthwhile to do. > > Cheers > - Henrik > ----- Original Message ----- > From: William D. Strathearn > To: Apache AXIS C Developers List > Sent: Wednesday, September 13, 2006 7:26 PM > Subject: Removing dependency on AXISCPP_DEPLOY and axiscpp.conf > forsimple_axis_server > > I'm just starting to hack around with Axis-C and simple_axis_server. > How difficult do you think it would be to try and eliminate the > runtime dependency on a externally defined AXISCPP_DEPLOY > environment variable and the contents of axiscpp.conf? > > Ideally, I would like to have the ability to specify all of what is > contained in axiscpp.conf in the command line arguments passed to > simple_axis_server, so that an on-disk file is not needed in order > to quickly fire the server and run a few tests. > > The dependency on $AXISCPP_DEPLOY can be faked by passing it's value > on the command line and setting it as an environment variable inside > main() using putenv(). > > I'm happy to write this patch and submit it for review, but I just > wanted to put the idea out there for criticism, in case it has > already been thought of and shot down for reasons of impracticality. > > -- > Bill --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]