[ 
https://issues.apache.org/jira/browse/AXIS2-3022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lin Sun updated AXIS2-3022:
---------------------------

    Attachment: Axis2-3022.patch

Please ignore the first patch.   After more testing, replaceAll isn't needed.  
It is really the 

uri=url.toURI()

call caused the exception when there is a space in url.   Since this is not 
really useful and problematic, I am proposing to remove it.



> Axis2 not handle wsdl deployed to a dir that contains a space (like program 
> files)
> ----------------------------------------------------------------------------------
>
>                 Key: AXIS2-3022
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3022
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>    Affects Versions: 1.3
>         Environment: winxp + sun jdk 1.5
>            Reporter: Lin Sun
>            Assignee: Ann Robinson
>             Fix For: 1.3
>
>         Attachments: Axis2-3022.patch, Axis2-3022.patch
>
>
> 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)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to