Hi there!

I new at use of S-Security, and I was looking for information about how to
implement the security in the WS(by apache.org, devx.com, some blogs ...),
but when Im going to deploy a Web Service I have an error [2] , and mi
server-config.wsdd[1], its rigth and in my class of WS its rigth too. I dont
know why I have this error.

My Web Service have 2 method(actorLogin and getActorPermissions) and the
void constructor, this class works without WSS.
If someone knows why I have this troubles or knows where Im able to find
some info., please tell me.

Since now, many thanks.

[1]

[...]<service name="LoginService" provider="java:RPC">
                <requestFlow>
                <handler name="DoHandler"
type="java:org.apache.ws.axis.security.handler.WSDoAllHandler">
                <parameter name="action" value="UserNameToken"/>
                <parameter name="user" value="pepe"/>
                <parameter name="passwordType" value="PasswordText"/>
                <parameter name="passwordCallbackClass"
value="org.apache.ws.axis.oasis.PWCallback"/>
                <parameter name="allowedMethods" value="*" />
                <parameter name="className"
                        value="aml.brite.main.ws.login.service.LoginService" />
                </handler>
                </requestFlow>
        </service>
[...]

[2]
*Fault - ; nested exception is:
org.apache.axis.ConfigurationException: java.lang.InstantiationException
java.lang.InstantiationException
at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(
InstantiationExceptionConstructorAccessorImpl.java:30)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at org.apache.axis.deployment.wsdd.WSDDDeployableItem.createInstance(
WSDDDeployableItem.java:339)
at org.apache.axis.deployment.wsdd.WSDDDeployableItem.makeNewInstance(
WSDDDeployableItem.java:302)
at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(
WSDDDeployableItem.java:274)
at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(
WSDDDeployableItem.java:260)
at org.apache.axis.deployment.wsdd.WSDDChain.makeNewInstance(WSDDChain.java
:125)
at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(
WSDDDeployableItem.java:274)
at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(
WSDDDeployableItem.java:260)
at org.apache.axis.deployment.wsdd.WSDDService.makeNewInstance(
WSDDService.java:430)
at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(
WSDDDeployableItem.java:274)
at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(
WSDDDeployableItem.java:260)
at org.apache.axis.deployment.wsdd.WSDDDeployment.getService(
WSDDDeployment.java:427)
at org.apache.axis.configuration.FileProvider.getService(FileProvider.java
:231)
at org.apache.axis.AxisEngine.getService(AxisEngine.java:311)
at org.apache.axis.MessageContext.setTargetService(MessageContext.java:756)
at org.apache.axis.handlers.http.URLMapper.invoke(URLMapper.java:50)
at org.apache.axis.handlers.http.URLMapper.generateWSDL(URLMapper.java:58)
at org.apache.axis.strategies.WSDLGenStrategy.visit(WSDLGenStrategy.java:33)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.generateWSDL(SimpleChain.java:104)
at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:446)
at org.apache.axis.transport.http.QSWSDLHandler.invoke(QSWSDLHandler.java
:68)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.axis.transport.http.AxisServlet.processQuery(AxisServlet.java
:1226)
at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java
:249)[...]*

Reply via email to