Re: forward declaration in generated adb files causes a C++ error

2008-09-09 Thread Dimuthu Gamage
On Wed, Sep 10, 2008 at 5:19 AM, Tammy Martin [EMAIL PROTECTED]wrote: Hello Dimuthu, I finally figured out what my problem was... The axis2c adb are generating just fine it was my error in not knowing how to use them...sorry. I did not see that there were access methods defined in the

Re: forward declaration in generated adb files causes a C++ error

2008-09-04 Thread Tammy Martin
Hello Dimuthu, Sorry for the delay in response...I tried your fix but unfortunately it did not work for me. It appears that the structure definition and the typedef need to be in the header file in order for the C++ to compile... Like this: #include stdio.h #include axiom.h #include

Re: forward declaration in generated adb files causes a C++ error

2008-09-04 Thread Dimuthu Gamage
Hi Tammy, I m not sure this time your suggestion is a valid one. Just check this header, https://svn.apache.org/repos/asf/webservices/axis2/trunk/c/axiom/include/axiom_attribute.h and the source file, https://svn.apache.org/repos/asf/webservices/axis2/trunk/c/axiom/src/om/om_attribute.c which

Re: forward declaration in generated adb files causes a C++ error

2008-08-25 Thread Dimuthu Gamage
Hi, Yea it is a bug, and i just fixed it in the SVN. In fact you can fix it without needing to compile the source. extract the adb-codegen-*.jar and check org/apache/axis2/schema/template/CADBBeanTemplateHeader.xsl for a template. Thanks Dimuthu On Thu, Aug 21, 2008 at 12:28 PM, Tammy Martin

forward declaration in generated adb files causes a C++ error

2008-08-21 Thread Tammy Martin
Hello, I am using axis2c 1.3.0 and axis2 1.4 and used the wsdl2c.sh tool to generate (adb) axis data bindings from a wsdl. I am using these data bindings in a C++ program. When I compile on Linux I get the following error: error: forward declaration of `struct adb_return' this is what it looks