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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5
    • None
    • codegen
    • None
    • vista, sun-j1.5_17

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              hauser@acm.org Ralf Hauser
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: