[jbossws-issues] [JBoss JIRA] Created: (JBWS-2592) javax.xml.rpc.encoding.XMLType QName constants have wrong namespace URIs

Dmitriy Kuznetsov (JIRA) jira-events at lists.jboss.org
Wed Apr 1 22:03:22 EDT 2009


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

                 Key: JBWS-2592
                 URL: https://jira.jboss.org/jira/browse/JBWS-2592
             Project: JBoss Web Services
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: jbossws-native
    Affects Versions: jbossws-native-3.1.0
         Environment: JBoss 4.2 or later
            Reporter: Dmitriy Kuznetsov


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbossws-issues mailing list