You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Ralf Hauser (JIRA)" <ji...@apache.org> on 2009/06/27 07:42:47 UTC

[jira] Created: (AXIS2-4410) Illegal character in path at index 18: file:/c:/Documents and Settings/r...

Illegal character in path at index 18: file:/c:/Documents and Settings/r...
---------------------------------------------------------------------------

                 Key: AXIS2-4410
                 URL: https://issues.apache.org/jira/browse/AXIS2-4410
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: codegen
    Affects Versions: 1.5
         Environment: vista, sun-j1.5_17
            Reporter: Ralf Hauser


When doing
>./wsdl2java.sh -uri TSig100.xml -p com.pri.quals.quov -d adb -s

Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL
        at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:153)
        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
Caused by: org.apache.axis2.AxisFault: java.net.URISyntaxException: Illegal character in path at index 18: file:/c:/Documents and Settings/ralf/Deskto
        at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
        at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:396)
        at org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateAllServices(WSDL11ToAllAxisServicesBuilder.java:107)
        at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:147)
        ... 2 more
Caused by: java.lang.RuntimeException: java.net.URISyntaxException: Illegal character in path at index 18: file:/c:/Documents and Settings/ralf/Deskto
        at org.apache.ws.commons.schema.resolver.DefaultURIResolver.resolveEntity(DefaultURIResolver.java:63)
        at org.apache.ws.commons.schema.SchemaBuilder.resolveXmlSchema(SchemaBuilder.java:1869)
        at org.apache.ws.commons.schema.SchemaBuilder.resolveXmlSchema(SchemaBuilder.java:1927)
        at org.apache.ws.commons.schema.SchemaBuilder.handleImport(SchemaBuilder.java:1616)
        at org.apache.ws.commons.schema.SchemaBuilder.handleXmlSchemaElement(SchemaBuilder.java:224)
        at org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:433)
        at org.apache.axis2.description.WSDLToAxisServiceBuilder.getXMLSchema(WSDLToAxisServiceBuilder.java:144)
        at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.copyExtensibleElements(WSDL11ToAxisServiceBuilder.java:2319)
        at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.processTypes(WSDL11ToAxisServiceBuilder.java:413)
        at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.processTypes(WSDL11ToAxisServiceBuilder.java:402)
        at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:346)
        ... 4 more
Caused by: java.net.URISyntaxException: Illegal character in path at index 18: file:/c:/Documents and Settings/ralf/Desktop/axis2-1.5-bin/axis2-1.5/bi
        at java.net.URI$Parser.fail(URI.java:2816)
        at java.net.URI$Parser.checkChars(URI.java:2989)
        at java.net.URI$Parser.parseHierarchical(URI.java:3073)
        at java.net.URI$Parser.parse(URI.java:3021)
        at java.net.URI.<init>(URI.java:578)
        at org.apache.ws.commons.schema.resolver.DefaultURIResolver.resolveEntity(DefaultURIResolver.java:57)
        ... 14 more

looks very related to AXIS2-3022

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


[jira] Commented: (AXIS2-4410) Illegal character in path at index 18: file:/c:/Documents and Settings/r...

Posted by "Martin Gross (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12738431#action_12738431 ] 

Martin Gross commented on AXIS2-4410:
-------------------------------------

I had the same problem when I switched from 1.3 to 1.4.1 of axis2-wsdl2code-maven-plugin. 1.3 doesn't have this problem.

			<!-- Plug-in for generating code out of WSDL -->
			<plugin>
				<groupId>org.apache.axis2</groupId>
				<artifactId>axis2-wsdl2code-maven-plugin</artifactId>
				<version>1.3</version>
				<executions>
					<execution>
						<goals>
							<goal>wsdl2code</goal>
						</goals>
					</execution>
				</executions>


> Illegal character in path at index 18: file:/c:/Documents and Settings/r...
> ---------------------------------------------------------------------------
>
>                 Key: AXIS2-4410
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4410
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.5
>         Environment: vista, sun-j1.5_17
>            Reporter: Ralf Hauser
>
> When doing
> >./wsdl2java.sh -uri TSig100.xml -p com.pri.quals.quov -d adb -s
> Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:153)
>         at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
>         at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
> Caused by: org.apache.axis2.AxisFault: java.net.URISyntaxException: Illegal character in path at index 18: file:/c:/Documents and Settings/ralf/Deskto
>         at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:396)
>         at org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateAllServices(WSDL11ToAllAxisServicesBuilder.java:107)
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:147)
>         ... 2 more
> Caused by: java.lang.RuntimeException: java.net.URISyntaxException: Illegal character in path at index 18: file:/c:/Documents and Settings/ralf/Deskto
>         at org.apache.ws.commons.schema.resolver.DefaultURIResolver.resolveEntity(DefaultURIResolver.java:63)
>         at org.apache.ws.commons.schema.SchemaBuilder.resolveXmlSchema(SchemaBuilder.java:1869)
>         at org.apache.ws.commons.schema.SchemaBuilder.resolveXmlSchema(SchemaBuilder.java:1927)
>         at org.apache.ws.commons.schema.SchemaBuilder.handleImport(SchemaBuilder.java:1616)
>         at org.apache.ws.commons.schema.SchemaBuilder.handleXmlSchemaElement(SchemaBuilder.java:224)
>         at org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:433)
>         at org.apache.axis2.description.WSDLToAxisServiceBuilder.getXMLSchema(WSDLToAxisServiceBuilder.java:144)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.copyExtensibleElements(WSDL11ToAxisServiceBuilder.java:2319)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.processTypes(WSDL11ToAxisServiceBuilder.java:413)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.processTypes(WSDL11ToAxisServiceBuilder.java:402)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:346)
>         ... 4 more
> Caused by: java.net.URISyntaxException: Illegal character in path at index 18: file:/c:/Documents and Settings/ralf/Desktop/axis2-1.5-bin/axis2-1.5/bi
>         at java.net.URI$Parser.fail(URI.java:2816)
>         at java.net.URI$Parser.checkChars(URI.java:2989)
>         at java.net.URI$Parser.parseHierarchical(URI.java:3073)
>         at java.net.URI$Parser.parse(URI.java:3021)
>         at java.net.URI.<init>(URI.java:578)
>         at org.apache.ws.commons.schema.resolver.DefaultURIResolver.resolveEntity(DefaultURIResolver.java:57)
>         ... 14 more
> looks very related to AXIS2-3022

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