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

Error when trying to view the WSDL (This occured while reading the generated schema file)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.6.0
    • jaxws
    • None
    • Linux, JDK 1.6

    Description

      When trying to view the WSDL of attached services, it gives an error.

      This is the exception.

      Retrieving schema at 'UDDIPublicationService_schema8.xsd', relative to '/tmp/_axis2org.apache.juddi.api.impl.UDDIPublicationImpl'.
      Retrieving schema at 'UDDIPublicationService_schema9.xsd', relative to '/tmp/_axis2org.apache.juddi.api.impl.UDDIPublicationImpl'.
      Retrieving schema at 'UDDIPublicationService_schema10.xsd', relative to '/tmp/_axis2org.apache.juddi.api.impl.UDDIPublicationImpl'.
      Retrieving schema at 'UDDIPublicationService_schema11.xsd', relative to '/tmp/_axis2org.apache.juddi.api.impl.UDDIPublicationImpl'.
      [ERROR] Error occurred while attempting to read generated schema file

      {org.apache.ws.commons.schema.XmlSchemaException: Schema name conflict in collection. Namespace: http://www.w3.org/2000/09/xmldsig#}

      [ERROR] Error occurred generating WSDL file for Web service implementation class

      {org.apache.juddi.api.impl.UDDIPublicationImpl}

      : {java.lang.Exception: Error occurred while attempting to read generated schema file {org.apache.ws.commons.schema.XmlSchemaException: Schema name conflict in collection. Namespace: http://www.w3.org/2000/09/xmldsig#}}
      java.lang.Exception: Error occurred while attempting to read generated schema file

      {org.apache.ws.commons.schema.XmlSchemaException: Schema name conflict in collection. Namespace: http://www.w3.org/2000/09/xmldsig#}

      at org.apache.axis2.jaxws.description.builder.JAXWSRIWSDLGenerator.readInSchema(JAXWSRIWSDLGenerator.java:338)
      at org.apache.axis2.jaxws.description.builder.JAXWSRIWSDLGenerator.generateWsdl(JAXWSRIWSDLGenerator.java:188)
      at org.apache.axis2.jaxws.description.builder.JAXWSRIWSDLGenerator.initialize(JAXWSRIWSDLGenerator.java:379)
      at org.apache.axis2.jaxws.description.builder.JAXWSRIWSDLGenerator.getWSDL(JAXWSRIWSDLGenerator.java:372)
      at org.apache.axis2.description.AxisService.printWSDL(AxisService.java:1394)
      at org.apache.axis2.transport.http.HTTPWorker.service(HTTPWorker.java:149)
      at org.apache.axis2.transport.http.server.AxisHttpService.doService(AxisHttpService.java:281)
      at org.apache.axis2.transport.http.server.AxisHttpService.handleRequest(AxisHttpService.java:187)
      at org.apache.axis2.transport.http.server.HttpServiceProcessor.run(HttpServiceProcessor.java:82)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:619)

      Attachments

        1. service.jar
          3.95 MB
          Kasun Weranga Gunathilake

        Activity

          People

            isurues Isuru Suriarachchi
            kasunw Kasun Weranga Gunathilake
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: