[ https://issues.apache.org/jira/browse/AXIS2-4432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Allan Schrum closed AXIS2-4432. ------------------------------- Resolution: Duplicate Found the identical issue over in AXIS2C project: https://issues.apache.org/jira/browse/AXIS2C-1379 > 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 > > Attachments: CircularReference.diff > > > 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.