axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allan Schrum (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-4432) C-language WSDL-generated circular references do not compile
Date Tue, 14 Jul 2009 18:35:15 GMT
C-language WSDL-generated circular references do not compile
------------------------------------------------------------

                 Key: AXIS2-4432
                 URL: https://issues.apache.org/jira/browse/AXIS2-4432
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
    Affects Versions: 1.6
         Environment: Linux
            Reporter: Allan Schrum
             Fix For: 1.6


If the XSD of a WSDL has one complexType reference another complexType which references the
first complexType (A -> B -> A) then the generated C-language code will not compile.
The generated code creates the associated "typedef" for the object-level structure after all
the includes are included. Unfortunately, in this circular-reference case, this is too late.
The solution is to move the "typedef struct X X_t" definition in front of the includes so
that the definition is available ahead of time.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message