Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-3022

Axis2 not handle wsdl deployed to a dir that contains a space (like program files)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3
    • 1.3
    • jaxws
    • None
    • winxp + sun jdk 1.5

    Description

      Here is the example I got. Testing a possible fix for this..

      00:58:38,062 DEBUG [ExceptionFactory] stack:javax.wsdl.WSDLException: WSDLException: faultCode=WSDL4JWrapper : : Illegal character in path at index 16: file:/C:/Program Files/Geronimo/org/apache/geronimo/samples/jws/Calculator/2.0/Calculator-2.0.car/CalculatorService.wsdl
      at org.apache.axis2.jaxws.util.WSDL4JWrapper.<init>(WSDL4JWrapper.java:186)
      at org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.setupWsdlDefinition(ServiceDescriptionImpl.java:512)
      at org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.<init>(ServiceDescriptionImpl.java:143)
      at org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.createServiceDescription(DescriptionFactoryImpl.java:101)
      at org.apache.axis2.jaxws.description.DescriptionFactory.createServiceDescription(DescriptionFactory.java:69)
      at org.apache.axis2.jaxws.spi.ServiceDelegate.<init>(ServiceDelegate.java:87)
      at org.apache.axis2.jaxws.spi.Provider.createServiceDelegate(Provider.java:45)
      at javax.xml.ws.Service.<init>(Service.java:36)
      at org.apache.geronimo.jaxws.client.GenericService.<init>(GenericService.java:27)
      at org.apache.geronimo.jaxws.client.GenericService$$EnhancerByCGLIB$$ba501ee.<init>(<generated>)
      at org.apache.geronimo.jaxws.client.GenericService$$EnhancerByCGLIB$$ba501ee$$FastClassByCGLIB$$cb90d621.newInstance(<generated>)
      at net.sf.cglib.reflect.FastConstructor.newInstance(FastConstructor.java:40)
      at org.apache.geronimo.jaxws.client.JAXWSServiceReference.createServiceProxy(JAXWSServiceReference.java:174)
      at org.apache.geronimo.jaxws.client.JAXWSServiceReference.getContent(JAXWSServiceReference.java:129)
      at org.apache.xbean.naming.context.ContextUtil.resolve(ContextUtil.java:61)
      at org.apache.xbean.naming.context.AbstractContext.lookup(AbstractContext.java:112)
      at org.apache.xbean.naming.context.AbstractContext.lookup(AbstractContext.java:611)
      at org.apache.xbean.naming.context.AbstractContext.lookup(AbstractContext.java:152)
      at org.apache.xbean.naming.context.AbstractContext.lookup(AbstractContext.java:611)
      at org.apache.xbean.naming.context.AbstractContext.lookup(AbstractContext.java:152)
      at org.apache.xbean.naming.context.AbstractContext.lookup(AbstractContext.java:597)
      at javax.naming.InitialContext.lookup(InitialContext.java:363)
      at org.apache.jsp.addResult_jsp._jspService(addResult_jsp.java:90)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
      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:230)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSubjectValve.java:56)
      at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:351)
      at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:47)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      at java.lang.Thread.run(Thread.java:801)

      Attachments

        1. Axis2-3022.patch
          2 kB
          Lin Sun
        2. Axis2-3022.patch
          2 kB
          Lin Sun

        Issue Links

          Activity

            People

              gawor@mcs.anl.gov Jarek Gawor
              linsun Lin Sun
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: