You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "John Hawkins (JIRA)" <ax...@ws.apache.org> on 2005/10/13 15:02:06 UTC

[jira] Updated: (AXISCPP-849) Stub compilation problems when WSDL contains complexTypes and elements of the same name

     [ http://issues.apache.org/jira/browse/AXISCPP-849?page=all ]

John Hawkins updated AXISCPP-849:
---------------------------------

    Fix Version: 1.6 Alpha

> Stub compilation problems when WSDL contains complexTypes and elements of the same name
> ---------------------------------------------------------------------------------------
>
>          Key: AXISCPP-849
>          URL: http://issues.apache.org/jira/browse/AXISCPP-849
>      Project: Axis-C++
>         Type: Bug
>   Components: WSDL processing - Doc, WSDL processing - RPC
>  Environment: n/a
>     Reporter: Fred Preston
>     Assignee: Fred Preston
>      Fix For: 1.6 Alpha

>
> When a WSDL contains a CompexType name and an element name that are the same, the generated code does not compile.  For example, if a WSDL/XSD contains the following code...
> <xsd:complexType name="aName">
>   <xsd:sequence>
>     <xsd:element name="aName" type="xsd:string"/>
>   </xsd:sequence>
> </xsd:complexType>
> This gets turned into the following stub code...
> class STORAGE_CLASS_INFO aName
> {
>     public:
>     xsd__string aName;
> And when this is compiled, the following error (and others) results:-
> "type(s) preceeding 'aName' (constructor with return type, or illegal redefinition of current class name?)"

-- 
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