You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Desiree Hilbring (JIRA)" <ji...@apache.org> on 2006/08/07 09:30:14 UTC
[jira] Created: (AXIS2-980) Underlines in typenames does not work
with inheritance
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
[jira] Resolved: (AXIS2-980) Underlines in typenames does not work
with inheritance
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-980?page=all ]
Davanum Srinivas resolved AXIS2-980.
------------------------------------
Resolution: Fixed
Resolved as per comment in AXIS2-969
-- dims
> 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