Hi, Has anyone used JBoss app server and deployed Axis in it in the All configuration.
Firstly there is already a context by the name Axis so i had to use context
ttaxis for my deployment.
Then all runs well until i deploy the StringEcho(sample service that returns
a string that is passes) service along with a custom authentication handler.
the structure of my service is
Classes
EchoService
StringEcho.class(service class)
Util
Greeting.class(used by StringEcho)
authenticator
MyAuthenticationHandler.class(extende Basic
handler and the invoke method is empty)
The Wsdd for the service is
<deployment
xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<service name="MyFirstService" provider="java:RPC">
<parameter name="className" value="EchoService.StringEcho"/>
<parameter name="allowedMethods" value="*"/>
<requestFlow name="checks">
<!-- <handler
type="java:org.apache.axis.handlers.SimpleAuthenticationHandler"/> -->
<handler
type="java:EchoService.authenticator.MyAuthenticationHandler"/>
</requestFlow>
</service>
</deployment>
I get the exception
org.apache.axis.ConfigurationException: java.lang.ClassNotFoundException: No
ClassLoaders found for:
classes.EchoService.authenticator.MyAuthenticationHandler
When i try to access the Wsdl for this service...by the URL
http://localhost:8080/ttaxis/services/MyFirstService?wsdl
If i use the SimpleAuthenticationHandler it works fine.
Please if anyone has faced similar problems in any other server then suggest
a direction where i should look
<<attachment: winmail.dat>>
