I want to export my session bean as webservice, the problem is that I use complex bean as return value. I've got "no deserialiser found" when calling my webservice.
Thanks in advance for any help.
--> appserver Jboss 3.2.2 --> axis 1.1
Here my deploy.wsdd <?xml version="1.0" encoding="UTF-8"?> <deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java" xmlns:fw="http://localhost:8080/axis/services/jbtest" >
<service name="Test" provider="java:EJB">
<parameter name="beanJndiName" value="ManageUserLocal"/>
<parameter name="homeInterfaceName" value="com.reevesinnovation.ims.imsServeur.webservice.ManageUserLocalHome"/>
<parameter name="remoteInterfaceName" value="com.reevesinnovation.ims.imsServeur.webservice.ManageUserLocal"/>
<parameter name="allowedMethods" value="login"/>
<parameter name="jndiURL" value="jnp://localhost:1099"/>
<parameter name="jndiContextClass" value="org.jnp.interfaces.NamingContextFactory"/>
<typeMapping
qname="fw:UserInfo" type="java:com.reevesinnovation.ims.imsServeur.webservice.UserInfo"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
/></service> </deployment>
and userInfo.java public class UserInfo implements java.io.Serializable { private boolean authentified; private java.lang.String[] userPlugins;
public UserInfo() {
}public boolean isAuthentified() {
return authentified;
}public void setAuthentified(boolean authentified) {
this.authentified = authentified;
}public java.lang.String[] getUserPlugins() {
return userPlugins;
}public void setUserPlugins(java.lang.String[] userPlugins) {
this.userPlugins = userPlugins;
}}
