axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Desiree Hilbring (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-980) Underlines in typenames does not work with inheritance
Date Mon, 07 Aug 2006 07:30:14 GMT
Underlines in typenames does not work with inheritance
------------------------------------------------------

                 Key: AXIS2-980
                 URL: http://issues.apache.org/jira/browse/AXIS2-980
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Bug
    Affects Versions: 1.0
         Environment: Windows XP Professional Tomcat 5.5 Axis2 1.0
            Reporter: Desiree Hilbring
         Attachments: GMLSFUnderline.zip

The attachment includes a little inheritance example, OA_MIFASCapabilitesType is derived from

OAMIServiceSpecificCapabilites. To send the xsi:type in the SOAP-Message I am using the 
following lines:
XmlCursor cur = resp.getOAGetMetaInformationResponse().getFeatureMetaInformation().getOAMIServiceSpecificCapabilities().newCursor();
cur.toFirstChild();
cur.insertAttributeWithValue("type",
    "http://www.w3.org/2001/XMLSchema-instance",
    "OAMIFASCapabilitiesType");    		
    cur.dispose();
The SOAP-Message does include the xsi:type but the client does not recognize the subtype OA_MIFASCapabilitiesType.
But changing the name of OA_MIFASCapabilitiesType in delivery060803-2.xsd to OAMIFASCapabilitiesType
will solve the problem
and the example will work.
Is it possible to use underlines in the typeNames or are there any restrictions, or is this
a bug?

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message