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 "Ryan McCullough (JIRA)" <ax...@ws.apache.org> on 2008/04/10 23:10:05 UTC
[jira] Created: (AXIS-2735) xml:id is not created in the client
stub objects
xml:id is not created in the client stub objects
------------------------------------------------
Key: AXIS-2735
URL: https://issues.apache.org/jira/browse/AXIS-2735
Project: Axis
Issue Type: Bug
Components: WSDL processing
Affects Versions: 1.4
Environment: Windows XP SP2, JRE 1.6.0_05
Reporter: Ryan McCullough
Fix For: 1.4
In my wsdl, I am importing an xsd schema file. That xsd file has an import:
<xs:schema elementFormDefault="qualified"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns="urn:<sanitized>"
xmlns:rnt="urn:<sanitized>"
targetNamespace="urn:<sanitized>">
<xs:import namespace="http://www.w3.org/XML/1998/namespace"
schemaLocation="xml.xsd" />
xml.xsd comes from http://www.w3.org/2001/xml.xsd.
I then declare a base object that several other objects extend.
<xs:complexType name="api_base">
<xs:attribute ref="xml:id" />
<xs:attribute ref="attr2" />
<xs:attribute ref="attr3" />
<xs:attribute name="attr4" type="xs:base64Binary" />
</xs:complexType>
<xs:complexType name="contact" >
<xs:complexContent>
<xs:extension base="api_base">
<xs:sequence>
<!-- Attributes -->
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
The xml:id attribute is not created in my objects, but attr2-4 are.
I tried adding the namespace 'xmlns:xml="http://www.w3.org/XML/1998/namespace"' (tried both the <xs:schema> and <xs:import>) and it still does not generate the xml:id attribute in the objects.
I can provide my wsdl & xsd if needed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Updated: (AXIS-2735) xml:id is not created in the client
stub objects
Posted by "Ryan McCullough (JIRA)" <ax...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/AXIS-2735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ryan McCullough updated AXIS-2735:
----------------------------------
Fix Version/s: (was: 1.4)
> xml:id is not created in the client stub objects
> ------------------------------------------------
>
> Key: AXIS-2735
> URL: https://issues.apache.org/jira/browse/AXIS-2735
> Project: Axis
> Issue Type: Bug
> Components: WSDL processing
> Affects Versions: 1.4
> Environment: Windows XP SP2, JRE 1.6.0_05
> Reporter: Ryan McCullough
>
> In my wsdl, I am importing an xsd schema file. That xsd file has an import:
> <xs:schema elementFormDefault="qualified"
> xmlns:xs="http://www.w3.org/2001/XMLSchema"
> xmlns="urn:<sanitized>"
> xmlns:rnt="urn:<sanitized>"
> targetNamespace="urn:<sanitized>">
> <xs:import namespace="http://www.w3.org/XML/1998/namespace"
> schemaLocation="xml.xsd" />
> xml.xsd comes from http://www.w3.org/2001/xml.xsd.
> I then declare a base object that several other objects extend.
> <xs:complexType name="api_base">
> <xs:attribute ref="xml:id" />
> <xs:attribute ref="attr2" />
> <xs:attribute ref="attr3" />
> <xs:attribute name="attr4" type="xs:base64Binary" />
> </xs:complexType>
> <xs:complexType name="contact" >
> <xs:complexContent>
> <xs:extension base="api_base">
> <xs:sequence>
> <!-- Attributes -->
> </xs:sequence>
> </xs:extension>
> </xs:complexContent>
> </xs:complexType>
> The xml:id attribute is not created in my objects, but attr2-4 are.
> I tried adding the namespace 'xmlns:xml="http://www.w3.org/XML/1998/namespace"' (tried both the <xs:schema> and <xs:import>) and it still does not generate the xml:id attribute in the objects.
> I can provide my wsdl & xsd if needed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org