Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-1612

javax.xml.stream.XMLStreamException when process WSDL

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.1
    • 2.1.1, 2.0.7
    • Core
    • None
    • java version "1.6.0_04" on windows
      Java(TM) SE Runtime Environment (build 1.6.0_04-b12)
      Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode, sharing)

    Description

      when I upgrade cxf from 2.0.5-incubator to 2.1,and visit http://localhost:8080/e3s/services/BAS?wsdl

      2008-05-27 15:51:32,671 [http-8080-1] [org.apache.cxf.transport.servlet.ServletController] [WARN] – org.apache.cxf.transport.http.WSDLQueryHandler Exception caught writing response.

      org.apache.cxf.transport.http.WSDLQueryException: Exception occurred while trying to process http://localhost:8080/e3s/services/BAS?wsdl

      at org.apache.cxf.transport.http.WSDLQueryHandler.writeResponse(WSDLQueryHandler.java:229)

      at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:137)

      at org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:170)

      at org.apache.cxf.transport.servlet.AbstractCXFServlet.doGet(AbstractCXFServlet.java:152)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)

      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)

      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)

      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)

      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)

      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)

      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

      at java.lang.Thread.run(Thread.java:619)

      Caused by: javax.xml.stream.XMLStreamException: NamespaceURI cannot be null

      at com.sun.xml.internal.stream.writers.XMLStreamWriterImpl.writeAttribute(XMLStreamWriterImpl.java:605)

      at org.apache.cxf.staxutils.StaxUtils.writeElement(StaxUtils.java:520)

      at org.apache.cxf.staxutils.StaxUtils.writeElement(StaxUtils.java:440)

      at org.apache.cxf.staxutils.StaxUtils.writeDocument(StaxUtils.java:421)

      at org.apache.cxf.staxutils.StaxUtils.writeDocument(StaxUtils.java:411)

      at org.apache.cxf.staxutils.StaxUtils.writeNode(StaxUtils.java:560)

      at org.apache.cxf.transport.http.WSDLQueryHandler.writeResponse(WSDLQueryHandler.java:226)

      ... 17 more

      Attachments

        Issue Links

          Activity

            People

              dkulp Daniel Kulp
              quaff Yanming Zhou
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: