Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-2592

javax.xml.rpc.encoding.XMLType QName constants have wrong namespace URIs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • jbossws-native-3.1.0
    • jbossws-jaxrpc

    Description

      The javax.xml.rpc.encoding.XMLType class in JBossWS incorrectly defines the QName constants. For example SOAP_STRING is defined as:
      public static final QName SOAP_STRING = QName.valueOf("

      {SOAP-ENC}

      string");
      It must be defined as
      public static final QName SOAP_STRING = QName.valueOf("

      {http://schemas.xmlsoap.org/soap/encoding/}

      string");
      or
      public static final QName SOAP_STRING = new QName("http://schemas.xmlsoap.org/soap/encoding/", "string");

      Generally, the namespace URI must be http://schemas.xmlsoap.org/soap/encoding/ for the SOAP_xxx constants and http://www.w3.org/2001/XMLSchema for the XSD_xxx constants.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dmitrimk_jira Dmitriy Kuznetsov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: