Hi.
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="*"/>
</service>
But this doesn't work, I get this Exception:
<soapenv:Fault>
<faultcode>soapenv:Server.userException</faultcode> <faultstring>java.lang.InstantiationException: com.tech.TechInterface</faultstring>
<detail/>
</soapenv:Fault>
So Axis doesn't know how to instantiate the class that implements the interface. How can this be solved?
-
use java Interface as webservice in Axis (0 messages)
- Posted by: dag pedersen
- Posted on: May 12 2005 04:40 EDT