I'm attempting to map an existing SessionBean as a WebService. I've attached my wsdd script below. All works well except where I have the Ticket bean either passed as a parameter or return ed from the function. In each case I get the error 20:54:52,974 WARN [jbossweb] WARNING: Exception for /axis/services/RemotableContext: java.io.IOException: No serializer found for class com.synergy.beans.Ticket in registry [EMAIL PROTECTED] I can't see what's wrong with my wsdd script, and I'm now at a loss to figure out how to proceed. If any body has any suggestions it would be much appreciated. ============================================================= < deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"> <service name="RemotableContext" provider="java:EJB" style="rpc" use="encoded"> <parameter name="allowedMethods" value="getUserConfiguration getDepartment getSecurityPolicies login getClientConfiguration getUser isUserPreferenceEnabled getUserPreference attach getServerConfiguration logoutByContext changePassword getUserPreferences getNetwork getApplication updateUserPreferences logout"/> <parameter name="beanJndiName" value="EjbContext"/> <parameter name="remoteInterfaceName" value="com.synergy.ejb.EjbContext"/> <parameter name="homeInterfaceName" value="com.synergy.ejb.EjbContextHome"/> <parameter name="jndiContextClass" value="org.jnp.interfaces.NamingContextFactory"/> <parameter name="jndiURL" value="jnp://localhost:1099"/> <typeMapping xmlns:ns="http://beans.synergy.com" qname="ns:Ticket"type ="java:com.synergy.beans.Ticket"serializer ="org.apache.axis.encoding.ser.BeanSerializerFactory"deserializer ="org.apache.axis.encoding.ser.BeanDeserializerFactory"encodingStyle ="http://schemas.xmlsoap.org/soap/encoding/"/> <typeMapping xmlns:ns="http://beans.synergy.com" qname="ns:Identity"type ="java:com.synergy.beans.Identity" serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"deserializer ="org.apache.axis.encoding.ser.BeanDeserializerFactory"encodingStyle ="http://schemas.xmlsoap.org/soap/encoding/"/> </service></ deployment>
===================================================================================== thanks in advance Anthony Dodd
|