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/11/30 15:35:31 UTC
[jira] Closed: (AXISCPP-877) Compile problems with code generated for
[ http://issues.apache.org/jira/browse/AXISCPP-877?page=all ]
John Hawkins closed AXISCPP-877:
--------------------------------
Fix Version: 1.6 Alpha
Resolution: Fixed
> 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
> Fix For: 1.6 Alpha
> 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