|
I have written the following wsdd,
which deploys fine. I am trying to restrict the methods available as a service
because SecurityManager has public methods that I do
not want exposed. Axis attempts to load all public methods (many of which cause
axis to fail) the methods I am trying to expose are acceptable to AXIS. Has
anyone come across this issue or know how to resolve it. I don’t want to
write a wrapper class around this class. <deployment xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"> <service
name="SecurityManager" provider="java:RPC"> <parameter
name="className" value="com.attbb.ecare.manager.SecurityManager"/> <parameter
name="allowedMethods" value="login
logout isLoggedIn getUser"/> <typeMapping qname="typeNS:IXmlSerializable" xmlns:typeNS="urn:SecurityManager"
languageSpecificType="java:jad.xml.IXmlSerializable"
serializer="jad.xml.IXmlSerializerFactory"
deserializer="jad.xml.IXmlDeserializerFactory"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
/> </service> </deployment> Thanks Eric |
