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

[WSDL2.0] WSDL504,Could not locate the schema document when tomcat starts up

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: 1.7.0
    • Component/s: deployment
    • Labels:
    • Environment:
      Windows XP
      Tomcat: 5.5
      Axis1.5

      Description

      I am trying to deploy the aar wirtten in wsdl2.0 in the container of Axis2 1.5 with Tomcat5.5. But it always throws below exceptions when tomcat starts up.

      [INFO] AARBasedWSDLLocator: Unable to resolve jar:file://file:/E:/Tools/apache-tomcat-5.5.28/webapps/tnws/WEB-INF/services/MediaService-dev.aar!/META-INF/xsd/tn-services-2.0.xsd
      [WARN] Woden[Warning],0:0,WSDL504,Could not locate the schema document at URL "jar:file://file:/E:/Tools/apache-tomcat-5.5.28/webapps/tnws/WEB-INF/services/Medi
      aService-dev.aar!/META-INF/xsd/tn-services-2.0.xsd",java.util.zip.ZipException:The network path was not found
      [WARN] Woden[Warning],0:0,WSDL504,Could not locate the schema document at URL "http://telenav.com/datatypes/services/v10/",java.net.ConnectException:Connection timed out: connect
      [WARN] Woden[Warning],0:0,Description-1001,The targetNamespace 'http://telenav.com/services/media/v10/' is not dereferencable.

      And then i upgraded all the wonden jars in Axis2 1.5 from 1.0M8 to 1.0-SNAPSHOT and the issue still exists.

      It seems the Axis2 is trying to locate the xsds and eventually failed to locate them but the xsds are really there. The actual full path of the xsd is exactly the same as the exception said. These exception didn't block the service, the service run well even these excetpion are thrown. But it will make the startup of tomcat take long time.

        Attachments

        1. AARBasedWSDLLocator.java.txt
          1 kB
          Sagara Gunathunga
        2. ArchiveReader.java.txt
          1.0 kB
          Sagara Gunathunga
        3. MediaService.aar
          42 kB
          Sagara Gunathunga
        4. MediaService-dev.aar
          746 kB
          lorcel gao

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              lorcel lorcel gao
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: