[
https://issues.apache.org/jira/browse/AXIS2C-657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jamie Lyon updated AXIS2C-657:
------------------------------
Attachment: patchsource.diff
patchheader.diff
Proposed solution patch files for:
modules/adb-codegen/src/org/apache/axis2/schema/template/CADBBeanTemplateHeader.xsl
and
modules/adb-codegen/src/org/apache/axis2/schema/template/CADBBeanTemplateSource.xsl
These patches simply check for an element named qname when printing the
property accessors, and if it exists, don't print the getter, only the setter.
There may be a more elegant solution, but these patches propose a working fix.
> WSDL will not convert if it contains a qname element
> ----------------------------------------------------
>
> Key: AXIS2C-657
> URL: https://issues.apache.org/jira/browse/AXIS2C-657
> Project: Axis2-C
> Issue Type: Bug
> Components: code generation, wsdl2c tool
> Affects Versions: Current (Nightly)
> Reporter: Jamie Lyon
> Attachments: patchheader.diff, patchsource.diff
>
>
> If the WSDL contains a qname element, such as in the following snippet, then
> the wsdl will fail to compile, due to a duplicated qname_get method.
> <element name="GetResourceProperty">
> <complexType>
> <sequence>
> <element name="qname" type="xsd:QName"/>
> </sequence>
> </complexType>
> </element>
--
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]