2 Replies Latest reply on May 12, 2004 7:44 AM by conormac

    No serializer found!!!

    crazypalm

      Serializer Error:

      I got this error when I call SOAP application:

      HTTP ERROR: 500 ; nested exception is: java.io.IOException: No serializer found for class uk.example.dto.MessageRequest in registry

      and I check the wsdl, another error occur:

      AXIS error

      Sorry, something seems to have gone wrong... here are the details:

      Fault - WSDLException: faultCode=PARSER_ERROR: Problem parsing '- WSDL Document -'.: The value of the attribute "xmlns:tns1" is invalid. Prefixed namespace bindings may not be empty.: org.xml.sax.SAXParseException: The value of the attribute "xmlns:tns1" is invalid. Prefixed namespace bindings may not be empty.
      at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:235)
      at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:201)
      at com.ibm.wsdl.xml.WSDLWriterImpl.getDocument(Unknown Source)
      at com.ibm.wsdl.xml.WSDLWriterImpl.getDocument(Unknown Source)
      at org.apache.axis.wsdl.fromJava.Emitter.emit(Emitter.java:236)
      at org.apache.axis.providers.java.JavaProvider.generateWSDL(JavaProvider.java:418)
      at org.jboss.net.axis.server.EJBProvider.generateWSDL(EJBProvider.java:243)
      at org.apache.axis.strategies.WSDLGenStrategy.visit(WSDLGenStrategy.java:72)
      at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156)
      at org.apache.axis.SimpleChain.generateWSDL(SimpleChain.java:143)
      at org.apache.axis.handlers.soap.SOAPService.generateWSDL(SOAPService.java:355)
      at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:490)
      at org.apache.axis.transport.http.AxisServlet.processWsdlRequest(AxisServlet.java:428)
      at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:280)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
      at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:335)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360)
      at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:558)
      at org.mortbay.http.HttpContext.handle(HttpContext.java:1714)
      at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:507)
      at org.mortbay.http.HttpContext.handle(HttpContext.java:1664)
      at org.mortbay.http.HttpServer.service(HttpServer.java:863)
      at org.jboss.jetty.Jetty.service(Jetty.java:460)
      at org.mortbay.http.HttpConnection.service(HttpConnection.java:775)
      at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:939)
      at org.mortbay.http.HttpConnection.handle(HttpConnection.java:792)
      at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:201)
      at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
      at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455)


      AxisFault
      faultCode: {http://xml.apache.org/axis/}Server.userException
      faultString: WSDLException: faultCode=PARSER_ERROR: Problem parsing '- WSDL Document -'.: The value of the attribute "xmlns:tns1" is invalid. Prefixed namespace bindings may not be empty.: org.xml.sax.SAXParseException: The value of the attribute "xmlns:tns1" is invalid. Prefixed namespace bindings may not be empty.
      at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:235)
      at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:201)
      at com.ibm.wsdl.xml.WSDLWriterImpl.getDocument(Unknown Source)
      at com.ibm.wsdl.xml.WSDLWriterImpl.getDocument(Unknown Source)
      at org.apache.axis.wsdl.fromJava.Emitter.emit(Emitter.java:236)
      at org.apache.axis.providers.java.JavaProvider.generateWSDL(JavaProvider.java:418)
      at org.jboss.net.axis.server.EJBProvider.generateWSDL(EJBProvider.java:243)
      at org.apache.axis.strategies.WSDLGenStrategy.visit(WSDLGenStrategy.java:72)
      at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156)
      at org.apache.axis.SimpleChain.generateWSDL(SimpleChain.java:143)
      at org.apache.axis.handlers.soap.SOAPService.generateWSDL(SOAPService.java:355)
      at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:490)
      at org.apache.axis.transport.http.AxisServlet.processWsdlRequest(AxisServlet.java:428)
      at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:280)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
      at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:335)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360)
      at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:558)
      at org.mortbay.http.HttpContext.handle(HttpContext.java:1714)
      at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:507)
      at org.mortbay.http.HttpContext.handle(HttpContext.java:1664)
      at org.mortbay.http.HttpServer.service(HttpServer.java:863)
      at org.jboss.jetty.Jetty.service(Jetty.java:460)
      at org.mortbay.http.HttpConnection.service(HttpConnection.java:775)
      at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:939)
      at org.mortbay.http.HttpConnection.handle(HttpConnection.java:792)
      at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:201)
      at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
      at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455)

      faultActor: null
      faultDetail:
      stackTrace: WSDLException: faultCode=PARSER_ERROR: Problem parsing '- WSDL Document -'.: The value of the attribute "xmlns:tns1" is invalid. Prefixed namespace bindings may not be empty.: org.xml.sax.SAXParseException: The value of the attribute "xmlns:tns1" is invalid. Prefixed namespace bindings may not be empty.
      at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:235)
      at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:201)
      at com.ibm.wsdl.xml.WSDLWriterImpl.getDocument(Unknown Source)
      at com.ibm.wsdl.xml.WSDLWriterImpl.getDocument(Unknown Source)
      at org.apache.axis.wsdl.fromJava.Emitter.emit(Emitter.java:236)
      at org.apache.axis.providers.java.JavaProvider.generateWSDL(JavaProvider.java:418)
      at org.jboss.net.axis.server.EJBProvider.generateWSDL(EJBProvider.java:243)
      at org.apache.axis.strategies.WSDLGenStrategy.visit(WSDLGenStrategy.java:72)
      at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156)
      at org.apache.axis.SimpleChain.generateWSDL(SimpleChain.java:143)
      at org.apache.axis.handlers.soap.SOAPService.generateWSDL(SOAPService.java:355)
      at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:490)
      at org.apache.axis.transport.http.AxisServlet.processWsdlRequest(AxisServlet.java:428)
      at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:280)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
      at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:335)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360)
      at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:558)
      at org.mortbay.http.HttpContext.handle(HttpContext.java:1714)
      at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:507)
      at org.mortbay.http.HttpContext.handle(HttpContext.java:1664)
      at org.mortbay.http.HttpServer.service(HttpServer.java:863)
      at org.jboss.jetty.Jetty.service(Jetty.java:460)
      at org.mortbay.http.HttpConnection.service(HttpConnection.java:775)
      at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:939)
      at org.mortbay.http.HttpConnection.handle(HttpConnection.java:792)
      at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:201)
      at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
      at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455)

      at com.ibm.wsdl.xml.WSDLWriterImpl.getDocument(Unknown Source)
      at com.ibm.wsdl.xml.WSDLWriterImpl.getDocument(Unknown Source)
      at org.apache.axis.wsdl.fromJava.Emitter.emit(Emitter.java:236)
      at org.apache.axis.providers.java.JavaProvider.generateWSDL(JavaProvider.java:418)
      at org.jboss.net.axis.server.EJBProvider.generateWSDL(EJBProvider.java:243)
      at org.apache.axis.strategies.WSDLGenStrategy.visit(WSDLGenStrategy.java:72)
      at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156)
      at org.apache.axis.SimpleChain.generateWSDL(SimpleChain.java:143)
      at org.apache.axis.handlers.soap.SOAPService.generateWSDL(SOAPService.java:355)
      at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:490)
      at org.apache.axis.transport.http.AxisServlet.processWsdlRequest(AxisServlet.java:428)
      at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:280)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
      at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:335)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360)
      at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:558)
      at org.mortbay.http.HttpContext.handle(HttpContext.java:1714)
      at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:507)
      at org.mortbay.http.HttpContext.handle(HttpContext.java:1664)
      at org.mortbay.http.HttpServer.service(HttpServer.java:863)
      at org.jboss.jetty.Jetty.service(Jetty.java:460)
      at org.mortbay.http.HttpConnection.service(HttpConnection.java:775)
      at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:939)
      at org.mortbay.http.HttpConnection.handle(HttpConnection.java:792)
      at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:201)
      at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
      at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455)


      Anyone, Please give me some Help or Hint