Is it possible to specify an interface as a webservice in Axis? I tried to specify an interface in config.wsdd:

<service name="Service" provider="java:RPC">
  <parameter name="className" value="com.tech.TechInterface"/>
  <parameter name="allowedMethods" value="*"/>

But this doesn't work, I get this Exception:

<faultcode>soapenv:Server.userException</faultcode> <faultstring>java.lang.InstantiationException: com.tech.TechInterface</faultstring>

So Axis doesn't know how to instantiate the class that implements the interface. How can this be solved?