Uploaded image for project: 'Openmeetings'
  1. Openmeetings
  2. OPENMEETINGS-1268

Error while use wsdl service

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.7
    • 3.1.0
    • SOAP/REST API
    • None

    Description

      we encounter a problem by using the openmeetings wsdl service.

      Compiling the adapter give us errors because "private Type type =" is
      defined multiple times in
      db/java/org/apache/openmeetings/db/entity/user/User.java and
      /db/java/org/apache/openmeetings/db/entity/user/AsteriskSipUser.java

      Please have a look to the following error message:

      [INFO] — cxf-codegen-plugin:2.7.5:wsdl2java (generate-sources) @
      openmeetingws —
      [ERROR]
      /XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl
      [522:3]: 'Type' is already defined
      org.xml.sax.SAXParseExceptionpublicId:
      file:/XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl;
      systemId:
      file:/XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl;
      lineNumber: 522; columnNumber: 3; 'Type' is already defined
      [ERROR]
      /XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl
      [524:4]: (related to above error) the first definition appears here
      org.xml.sax.SAXParseExceptionpublicId:
      file:/XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl;
      systemId:
      file:/XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl;
      lineNumber: 524; columnNumber: 4; (related to above error) the first
      definition appears here
      [ERROR]
      /XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl
      [695:6]: undefined simple or complex type 'ax230:Address'
      org.xml.sax.SAXParseExceptionpublicId:
      file:/XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl;
      systemId:
      file:/XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl;
      lineNumber: 695; columnNumber: 6; undefined simple or complex type
      'ax230:Address'
      [ERROR]
      /XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl
      [58:6]: undefined simple or complex type 'ax229:State'
      org.xml.sax.SAXParseExceptionpublicId:
      file:/XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl;
      systemId:
      file:/XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl;
      lineNumber: 58; columnNumber: 6; undefined simple or complex type
      'ax229:State'
      [ERROR]
      /XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl
      [90:6]: undefined simple or complex type 'ax229:Address'
      org.xml.sax.SAXParseExceptionpublicId:
      file:/XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl;
      systemId:
      file:/XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl;
      lineNumber: 90; columnNumber: 6; undefined simple or complex type
      'ax229:Address'
      [ERROR]
      /XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl
      [115:6]: undefined simple or complex type 'ax229:Organisation_Users'
      org.xml.sax.SAXParseExceptionpublicId:
      file:/XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl;
      systemId:
      file:/XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl;
      lineNumber: 115; columnNumber: 6; undefined simple or complex type
      'ax229:Organisation_Users'
      [ERROR]
      /XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl
      [129:6]: undefined simple or complex type 'ax229:User_Right'
      org.xml.sax.SAXParseExceptionpublicId:
      file:/XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl;
      systemId:
      file:/XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl;
      lineNumber: 129; columnNumber: 6; undefined simple or complex type
      'ax229:User_Right'
      [ERROR]
      /XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl
      [140:6]: undefined simple or complex type 'ax229:AsteriskSipUser'
      org.xml.sax.SAXParseExceptionpublicId:
      file:/XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl;
      systemId:
      file:/XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl;
      lineNumber: 140; columnNumber: 6; undefined simple or complex type
      'ax229:AsteriskSipUser'
      [ERROR]
      /XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl
      [163:6]: undefined simple or complex type 'ax229:Organisation'
      org.xml.sax.SAXParseExceptionpublicId:
      file:/XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl;
      systemId:
      file:/XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl;
      lineNumber: 163; columnNumber: 6; undefined simple or complex type
      'ax229:Organisation'
      [ERROR]
      /XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl
      [171:6]: undefined simple or complex type 'ax229:User'
      org.xml.sax.SAXParseExceptionpublicId:
      file:/XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl;
      systemId:
      file:/XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl;
      lineNumber: 171; columnNumber: 6; undefined simple or complex type
      'ax229:User'
      [ERROR]
      /XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl
      [194:6]: undefined simple or complex type 'xs:Enum'
      org.xml.sax.SAXParseExceptionpublicId:
      file:/XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl;
      systemId:
      file:/XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl;
      lineNumber: 194; columnNumber: 6; undefined simple or complex type 'xs:Enum'
      [ERROR]
      /XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl
      [598:6]: undefined simple or complex type 'ax243:User'
      org.xml.sax.SAXParseExceptionpublicId:
      file:/XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl;
      systemId:
      file:/XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl;
      lineNumber: 598; columnNumber: 6; undefined simple or complex type
      'ax243:User'
      [INFO]
      ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO]
      ------------------------------------------------------------------------
      [INFO] Total time: 10.982 s
      [INFO] Finished at: 2015-10-13T12:36:58+02:00
      [INFO] Final Memory: 14M/149M
      [INFO]
      ------------------------------------------------------------------------
      [ERROR] Failed to execute goal
      org.apache.cxf:cxf-codegen-plugin:2.7.5:wsdl2java (generate-sources) on
      project openmeetingws: Execution generate-sources of goal
      org.apache.cxf:cxf-codegen-plugin:2.7.5:wsdl2java failed:
      file:/XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl
      [522,3]: 'Type' is already defined
      [ERROR]
      file:/XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl
      [524,4]: (related to above error) the first definition appears here
      [ERROR]
      file:/XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl
      [695,6]: undefined simple or complex type 'ax230:Address'
      [ERROR]
      file:/XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl
      [58,6]: undefined simple or complex type 'ax229:State'
      [ERROR]
      file:/XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl
      [90,6]: undefined simple or complex type 'ax229:Address'
      [ERROR]
      file:/XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl
      [115,6]: undefined simple or complex type 'ax229:Organisation_Users'
      [ERROR]
      file:/XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl
      [129,6]: undefined simple or complex type 'ax229:User_Right'
      [ERROR]
      file:/XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl
      [140,6]: undefined simple or complex type 'ax229:AsteriskSipUser'
      [ERROR]
      file:/XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl
      [163,6]: undefined simple or complex type 'ax229:Organisation'
      [ERROR]
      file:/XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl
      [171,6]: undefined simple or complex type 'ax229:User'
      [ERROR]
      file:/XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl
      [194,6]: undefined simple or complex type 'xs:Enum'
      [ERROR]
      file:/XXX/tmp/om-ws/openmeetingsws/src/main/resources/wsdl/CalendarService.wsdl
      [598,6]: undefined simple or complex type 'ax243:User'

      Attachments

        Activity

          People

            solomax Maxim Solodovnik
            p_daehn Peter Dähn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: