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 "Michael Koch (JIRA)" <ax...@ws.apache.org> on 2006/10/19 16:18:35 UTC
[jira] Updated: (AXISCPP-1004) Compile errors in code generated for
fault element with anonymous type
[ http://issues.apache.org/jira/browse/AXISCPP-1004?page=all ]
Michael Koch updated AXISCPP-1004:
----------------------------------
Attachment: testcase3.wsdl
When I try to compile the code generated by wsdl2ws for the attached wsdl file, I get the following errors:
$ gcc -c -Iinclude testcase3/*.cpp
In file included from testcase3/AxisServiceException.cpp:6:
testcase3/AxisServiceException.hpp:13:25: >fooFault.hpp: No such file or directo
ry
In file included from testcase3/testcase.hpp:27,
from testcase3/testcase.cpp:21:
testcase3/AxisServiceException.hpp:13:25: >fooFault.hpp: No such file or directo
ry
In file included from testcase3/testcase.hpp:27,
from testcase3/testcaseWrapper.hpp:24,
from testcase3/testcaseService.cpp:21:
testcase3/AxisServiceException.hpp:13:25: >fooFault.hpp: No such file or directo
ry
In file included from testcase3/testcase.hpp:27,
from testcase3/testcaseWrapper.hpp:24,
from testcase3/testcaseWrapper.cpp:21:
testcase3/AxisServiceException.hpp:13:25: >fooFault.hpp: No such file or directo
ry
testcase3/testcaseWrapper.cpp: In member function `int testcaseWrapper::NewOpera
tion(void*)':
testcase3/testcaseWrapper.cpp:91: error: expected identifier before '>' token
testcase3/testcaseWrapper.cpp:91: error: invalid catch parameter
testcase3/testcaseWrapper.cpp:91: error: expected `)' before '>' token
testcase3/testcaseWrapper.cpp:91: error: expected `{' before '>' token
testcase3/testcaseWrapper.cpp:91: error: expected primary-expression before '>'
token
testcase3/testcaseWrapper.cpp:91: error: `fooFault' undeclared (first use this f
unction)
testcase3/testcaseWrapper.cpp:91: error: (Each undeclared identifier is reported
only once for each function it appears in.)
testcase3/testcaseWrapper.cpp:91: error: `pObjFault' undeclared (first use this
function)
testcase3/testcaseWrapper.cpp:91: error: expected `;' before ')' token
testcase3/testcaseWrapper.cpp:102: error: expected primary-expression before "ca
tch"
testcase3/testcaseWrapper.cpp:102: error: expected `;' before "catch"
> Compile errors in code generated for fault element with anonymous type
> ----------------------------------------------------------------------
>
> Key: AXISCPP-1004
> URL: http://issues.apache.org/jira/browse/AXISCPP-1004
> Project: Axis-C++
> Issue Type: Bug
> Affects Versions: 1.6 Beta
> Environment: axis-c-1.6b-Win32-trace-bin
> gcc (GCC) 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)
> java version "1.5.0_08"
> Reporter: Michael Koch
> Attachments: testcase3.wsdl
>
>
> The C++ code generated by wsdl2ws does not compile if a fault element set as part in a fault message is of an anonymous complex type. The compiler lists errors in AxisServiceException.hpp and testcaseWrapper.cpp. I'll attach a test case.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org