You will need to change the code for this.
In mod_axis2.cpp --- there is a hardcoded check for /axis in the function
axis_handler_helper(). Change this to myservice. You may like to change
#define AXIS_URI_EXTENSION "/axis" as well in Apache2Transport.cpp.
Finally, set up the Apache configuration file httpd.conf as
......
<Location /yourservicename>
SetHandler yourservicename
......
This applied to 1.6b - I did not verify 1.4, but I suspect it would be the
same.
- Cheers,
Chinmoy
On 11/29/06, Tarun Maheshwari <[EMAIL PROTECTED]> wrote:
Hello,
I am using axis c++ 1.4 version with apache http server
2.0.59.. I have a query and any help is very much appreciated.
This is a snippet of my sample wsdl
<wsdl:service
name="MD5Service">
<wsdl:port
binding="local:MD5SoapBinding" name="MD5Service">
<wsdlsoap:address
location="http://localhost/axis/MD5Service"/>
</wsdl:port>
</wsdl:service>
The above snippet shows the sample wsdl service name and service
address..
Now my problem is if i change the above address to some thing
like
<wsdlsoap:address location="http://localhost/myservice/MD5Service"/>
then what and
how will it affect my
configuration.
What i noticed is
apache in its configuration file sets handler for axis ::
LoadModule
axis_module modules/libaxiscpp_mod2.so
<Location
/axis>
SetHandler
axis
</Location>
What are the changes i have to make if my service has a
different address.. I tried to set one more handler for myservice path
like::
<Location /myservices>
SetHandler
axis
</Location>
I want to know whether is it the
right way to set handler for /myservices . How do i check and verif
whether my service at http://localhost/myservice/MD5Service has been deployed
or not.
------------------------------
Find out what India is talking about on - Yahoo! Answers
India<http://us.rd.yahoo.com/mail/in/yanswers/*http://in.answers.yahoo.com/>
Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get
it
NOW<http://us.rd.yahoo.com/mail/in/messengertagline/*http://in.messenger.yahoo.com>