Apache running on Win XP.

1) I have the Apache HTTP server running and it is configured for Axis.
Added the following to Apache2\conf\httpd.conf :

#### Added By SMB for AXIS Support
# LoadModule axis_module modules/[Axis_Module]
# <Location /axis>
# SetHandler axis
# </Location>
#
# [Axis_Module] is either mod_axis.dll for apache 1.3.X or mod_axis2.dll for apache 2.X.
#

LoadModule axis_module modules/mod_axis2.dll
<Location /axis>
SetHandler axis
</Location>


2) Then set up the following environment variables:
AXIS_HOME - C:\Program Files\Apache Group\Apache2\Axis
AXISCPP_DEPLOY - C:\Program Files\Apache Group\Apache2\Axis


3) I Configured Axis,
Modified Apache2\Axis\axiscpp.conf
# The comment character is '#'
#Available directives are as follows
#(Some of these directives may not be implemented yet)
#
#WSDDFilePath:The path to the server wsdd
#LogPath:The path to the axis log
#ClientLogPath:The path to the axis client log
#ClientWSDDFilePath:The path to the client wsdd
#Transport_http:The HTTP transport library
#Transport_smtp:The SMTP transport library
#XMLParser:The xml parser library
#NodeName:Node name
#ListenPort:Listening port
#Channel_HTTP:The HTTP transport channel library
#Channel_HTTP_SSL:The HTTP transport secure channel library

LogPath:C:\Program Files\Apache Group\Apache2\Axis\log\AxisLog.txt
WSDDFilePath:C:\Program Files\Apache Group\Apache2\Axis\conf\server.wsdd
XMLParser:C:\Program Files\Apache Group\Apache2\Axis\lib\AxisXMLParser.dll
Transport_http:C:\Program Files\Apache Group\Apache2\Axis\libHTTPTransport.dll
Channel_HTTP:C:\Program Files\Apache Group\Apache2\Axis\lib\HTTPChannel.dll
Channel_HTTP_SSL:C:\Program Files\Apache Group\Apache2\Axis\lib\HTTPSSLChannel.dll


The above will allow me to get the following screen when accessing “http://localhost/axis”

Welcome to Axis C++
Deployment Descriptor Not Found


3) I tried to deploy using the following java command, but I got errors.

java -classpath C:\Apache\axis-c-1.6b-Win32-trace-bin\lib\axis\wsdl2ws.jar;C:\Apache\axis-c-1.6b-Win32-trace-bin\lib\axisjava\axis.jar;C:\Apache\axis-c-1.6b-Win32-trace-bin\lib\axisjava\commons-discovery.jar;C:\Apache\axis-c-1.6b-Win32-trace-bin\lib\axisjava\commons-logging.jar;C:\Apache\axis-c-1.6b-Win32-trace-bin\lib\axisjava\jaxrpc.jar;C:\Apache\axis-c-1.6b-Win32-trace-bin\lib\axisjava\saaj.jar;C:\Apache\axis-c-1.6b-Win32-trace-bin\lib\axisjava\wsdl4j.jar org.apache.axis.client.AdminClient -lhttp://computer.domain.net:80 deploy.wsdd

4) So I tried to config manually.
a) I copied my DLL (web service app) file to Apache2\Axis\webservices\Calculator.dll
b) Then I modified the Apache2\Axis\conf\server.wsdd
<?xml version="1.0" encoding="UTF-8"?>
<deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:C="http://xml.apache.org/axis/wsdd/providers/C" xmlns:CPP="http://xml.apache.org/axis/wsdd/providers/CPP">
<globalConfiguration>
</globalConfiguration>
<service name="Calculator" provider="CPP:RPC" description="Simple Calculator Axis C++ Service ">
<parameter name="allowedMethods" value="add sub mul div "/>
<parameter name="className" value="C:\Program Files\Apache Group\Apache2\Axis\webservices\Calculator.dll"/>
</service>
</deployment>


5) I still getting the “Deployment Descriptor Not Found”, so found the following, http://wiki.apache.org/old/Troubleshooting

Q -After installing Apache I got the welcome page with the message deployment descriptor not found

A - There are several reasons for this.

· The most frequent reason for this is that web server doesn't have write access to your log directory specified in the axiscpp.conf!!! Error message is misleading.

· Has not set the correct path to AXIS_HOME in the environment variable.For eg:-AXIS_HOME - C:\Program Files\Apache Group\Apache\Axis for Apache 1.3.x

· Has not placed Axiscpp.conf in the correct location.For eg: - Axis/axiscpp.conf

· Server.wsdd is not in the correct location.For eg:-[APACHE_HOME]\Axis\conf\server.wsdd

· Or server.wsdd contains syntax errors.


a) I made sure that “everyone” had full access of \Apache2\Axis\log\AxisLog.txt
b) Double checked AXIS_HOME - C:\Program Files\Apache Group\Apache2\Axis
c) Axiscpp.conf is in the following dir - Apache2\Axis\axiscpp.conf
d) Server.wsdd is in the following dir - Apache2\Axis\conf\server.wsdd
e) I believe that server.wsdd is correct.


Any help would be very much appreciated.
Thanks, Shawn