Hi All,
I'm trying to create Axis web services that warps an EJB deployed in JBoss
4.0. I've created deployment descriptor, packaged Axis WAR into my EAR file;
ws4ee is undeployed.
When I call any method, I get an error:
Tried to invoke method public java.lang.String
ent.enterprise.EntBean.login(java.lang.String[],java.lang.String) with
arguments [Ljava.lang.String;,java.lang.String. The arguments do not match
the signature.; nested exception is:
java.lang.IllegalArgumentException: object is not an instance of declaring
class
WSDD file follow:
<service name="ent-wrapped-doc-lit" provider="java:EJB" style="wrapped">
<parameter name="beanJndiName" value="EntAPI"/>
<parameter name="homeInterfaceName" value="ent.enterprise.EntAPIHome"/>
<parameter name="remoteInterfaceName" value="ent.enterprise.EntBean"/>
<parameter name="allowedMethods" value="load write clear list delete
read create login logout"/>
<beanMapping
xmlns:ns="urn:EntDocument"
qname="ns:EntAPI"
languageSpecificType="java:ent.enterprise.EntDocument"/>
</service>
Any help will be appreciated.
Eugene