Uploaded image for project: 'Woden'
  1. Woden
  2. WODEN-231

Woden parsing error found when deploying service AAR in simple Axis2 server

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • Parser
    • None

    Description

      This error was first found by Sagara. Following is the note from AXIS2-4170.

      -----------------------------------------------------------------------------------------------------------------

      As a miner issue I found it's not possible to deploy SendSmsService.aar in Axis2 Simple sever but possible to deploy SendSmsService as a explode AAR service. In SendSmsService.aar case I'm getting following exception.

      [ERROR] Woden[Error],0:0,WSDL521,Could not parse an inline schema in the WSDL at URL "jar:file://file:/home/sagara/dev/code/apache/axis2/devs/patch/modules/distribution/target/axis2-1.7.0-SNAPSHOT/repository/services/SendSmsService.aar!/META-INF/SendSmsService.wsdl".,java.lang.RuntimeException:org.apache.ws.commons.schema.XmlSchemaException: JAR entry jar:file:///home/sagara/dev/code/apache/axis2/devs/patch/modules/distribution/target/axis2-1.7.0-SNAPSHOT/repository/services/SendSmsService.aar!/jar:file://file:/home/sagara/dev/code/apache/axis2/devs/patch/modules/distribution/target/axis2-1.7.0-SNAPSHOT/repository/services/SendSmsService.aar!/META-INF/parlayx_sms_types_2_2.xsd not found in /home/sagara/dev/code/apache/axis2/devs/patch/modules/distribution/target/axis2-1.7.0-SNAPSHOT/repository/services/SendSmsService.aar
      [ERROR] Woden[Error],0:0,WSDL521,Could not parse an inline schema in the WSDL at URL "jar:file://file:/home/sagara/dev/code/apache/axis2/devs/patch/modules/distribution/target/axis2-1.7.0-SNAPSHOT/repository/services/SendSmsService.aar!/META-INF/SendSmsService.wsdl".,java.lang.RuntimeException:org.apache.ws.commons.schema.XmlSchemaException: JAR entry jar:file:///home/sagara/dev/code/apache/axis2/devs/patch/modules/distribution/target/axis2-1.7.0-SNAPSHOT/repository/services/SendSmsService.aar!/jar:file://file:/home/sagara/dev/code/apache/axis2/devs/patch/modules/distribution/target/axis2-1.7.0-SNAPSHOT/repository/services/SendSmsService.aar!/META-INF/parlayx_common_types_2_1.xsd not found in /home/sagara/dev/code/apache/axis2/devs/patch/modules/distribution/target/axis2-1.7.0-SNAPSHOT/repository/services/SendSmsService.aar

      -----------------------------------------------------------------------------------------------------------------

      I was able to reproduce the same error.

      Attachments

        1. SendSmsService.aar
          193 kB
          Ping Liu

        Activity

          People

            Unassigned Unassigned
            myapachejira Ping Liu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: