Hi,
I have two rather unrelated question.
(a) Is there a way to get reference to servletContext object from the user
method implementing a service in AXIS? For example if i deployed a service
with following deploy.wsdd
<deployment xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<service name="gsd" style="message">
<parameter name="className" value="com.my.company.MyService"/>
<parameter name="allowedMethods" value="processRequest"/>
<parameter name="enableRemoteAdmin" value="false"/>
</service>
</deployment>
Then can I get access to servletContext object (the context where
AxisServlet is running) in processRequest method of
com.my.company.MyService.java class.
(b) In the above deployment can we use * as value of "allowedMethods"
parameter. If yes then how does AXIS map a request to different methods in
com.my.company.MyService.java class. For example if I have 2 methods in
com.my.company.MyService.java class 1) processRequest 2) processCommand
then how can I invoke a message style service to this class and distinguish
between which method to invoke for processing the request.
Thanks,
Rakesh