[
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]