[ http://issues.apache.org/jira/browse/AXISCPP-877?page=comments#action_12358909 ]
Manohar commented on AXISCPP-877: --------------------------------- This problem is not happening with the latest build. > Compile problems with code generated for <xsd:any > > --------------------------------------------------- > > Key: AXISCPP-877 > URL: http://issues.apache.org/jira/browse/AXISCPP-877 > Project: Axis-C++ > Type: Bug > Components: Client - Stub > Reporter: Manohar > Attachments: SimpleXSDAny.wsdl > > Hi, > I've created a complex type as, > <xsd:complexType name="aRecord"> > <xsd:sequence> > <xsd:any namespace="##any" minOccurs="0" maxOccurs="2" /> > <xsd:element name="Title" type="xsd:string"/> > <xsd:element name="Author" type="xsd:string"/> > </xsd:sequence> > </xsd:complexType> > and trying to send aRecord object as part of request message and receive the > same in return. > When I run this test, code generated for aRecord object has following > comipling errors > [cc] operations.cpp > [cc] aRecord.cpp > [cc] > C:\AXISCPP\TEST\test_P\obj\test\generated\cpp\SimpleXSDAny\aRecord.c > pp(168) : error C2065: 'any' : undeclared identifier > [cc] > C:\AXISCPP\TEST\test_P\obj\test\generated\cpp\SimpleXSDAny\aRecord.c > pp(168) : error C2039: 'any' : is not a member of 'aRecord' > [cc] > c:\AXISCPP\TEST\test_P\obj\test\generated\cpp\SimpleXSDAny\a > Record.hpp(33) : see declaration of 'aRecord' > [cc] Generating Code... > This is happening because aRecord.hpp has the following code for <xsd:any> > AnyType* any1; > where as in aRecord.cpp the code is, > any = original.any; > I am going to attach a wsdl and testcase for this issue. -- 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
