0 Replies Latest reply on Apr 7, 2006 8:30 AM by SivaKumar N

    No serializer found for class  in registry org.apache.axis.e

    SivaKumar N Newbie

      Hi All,

      My deployment descriptor is

      <deployment
       xmlns="http://xml.apache.org/axis/wsdd/"
       xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance"
       xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
      
      <service name="ControlEJB" provider="Handler">
       <parameter name="handlerClass" value="org.jboss.net.axis.server.EJBProvider"/>
       <parameter name="beanJndiName" value="NorthBoundServiceBean"/>
       <parameter name="homeInterfaceName" value="com.server.northbound.interfaces.NorthBoundServiceBeanHome"/>
       <parameter name="remoteInterfaceName" value="com.server.northbound.interfaces.NorthBoundServiceBeanHome"/>
       <parameter name="allowedMethods" value="getAllDevices"/>
       <parameter name="jndiContextClass" value="org.jnp.interfaces.NamingContextFactory"/>
       <parameter name="java.naming.factory.url.pkgs" value="org.jboss.naming:org.jnp.interfaces"/>
       <parameter name="jndiURL" value="jnp://localhost:1099"/>
       </service>
       <beanMapping qname="myNS:Router" xmlns:myNS="urn:BeanService" languageSpecificType="java:com.common.topology.RouterVO" encodingStyle=""/>
      </deployment>
      


      I am getting following exception when calling webservice methods.

      2006-04-07 17:58:25,075 ERROR [org.jboss.web.localhost.Engine] StandardWrapperValve[JBossAxisServlet]: Servlet.service() for servlet JBossAxisServlet threw exception
      AxisFault
      faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
      faultSubcode:
      faultString: No serializer found for class com.caspian.ems.common.topology.RouterVO in registry org.apache.axis.encoding.TypeMappingImpl@89c0a9
      faultActor:
      faultNode:
      faultDetail:
      {http://xml.apache.org/axis/}stackTrace: java.io.IOException: No serializer found for class com.caspian.ems.common.topology.RouterVO in registry org.apache.axis.encoding.TypeMappingImpl@89c0a9
      at org.apache.axis.encoding.SerializationContextImpl.serializeActual(SerializationContextImpl.java:1476)
      at org.apache.axis.encoding.SerializationContextImpl.serialize(SerializationContextImpl.java:888)
      at org.apache.axis.encoding.SerializationContextImpl.outputMultiRefs(SerializationContextImpl.java:949)
      at org.apache.axis.message.SOAPBodyAxisImpl.outputImpl(SOAPBodyAxisImpl.java:162)
      at org.apache.axis.message.SOAPEnvelopeAxisImpl.outputImpl(SOAPEnvelopeAxisImpl.java:588)
      at org.apache.axis.message.SOAPElementAxisImpl.output(SOAPElementAxisImpl.java:1456)
      at org.apache.axis.MessagePart.writeTo(MessagePart.java:276)
      at org.apache.axis.MessagePart.getAsString(MessagePart.java:568)
      at org.apache.axis.MessagePart.getAsBytes(MessagePart.java:424)
      at org.apache.axis.Message.getContentType(Message.java:473)
      at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:1041)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:370)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:150)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:54)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:139)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
      at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
      at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
      at java.lang.Thread.run(Thread.java:534)

      Please tell me the solution